Author Topic: vsdiff problems  (Read 1086 times)

jvert

  • Community Member
  • Posts: 30
  • Hero Points: 2
vsdiff problems
« on: September 26, 2014, 06:54:47 pm »
The vsdiff tool used to be able to handle two directories. "vsdiff ~/dir1 ~/dir2" and automatically diff the contents of those directories. Now it just complains the file doesn't exist.

Also I am seeing a lot of crashes in vsdiff. If you run it from within slickedit, the whole editor just disappears. If you run vsdiff from the command line it dies with a segmentation fault. What is the best way to diagnose these problems? Do you want a core dump or something?

Ubuntu 14.04, x64.

here is a stack trace I got from gdb:

Code: [Select]
(gdb) bt
#0  0x00007ff351048246 in QFont::operator=(QFont const&) () from /opt/slickedit/bin/libQtGui.so.4
#1  0x000000000078afc8 in seLineLayout::appendCell(QFont const&, QColor, QColor, char const*, int) ()
#2  0x0000000000820207 in crt2_layout_line(crt2_t*, int) ()
#3  0x00000000008252bb in crt2_refresh(crt2_t*, QPainter*, QRect*, bool, bool, bool) [clone .isra.80] ()
#4  0x00000000006fbce8 in refreshwindow(int, int*, QPainter*, QRect*, bool) [clone .isra.90] ()
#5  0x00000000006fcedf in se_refresh(int) ()
#6  0x00000000006fd004 in vsRefresh ()
#7  0x00000000012d9650 in DiffGauge::setCaption(cmStringT<char, 1, 30>) ()
#8  0x00000000012d16d8 in tokenizeFile(int, cmArray<diffToken>&, int, int*, DiffGauge*) ()
#9  0x00000000012d1c73 in _DiffTokens ()
#10 0x00000000012d3250 in _DiffBalanceFiles ()
#11 0x00000000005e551f in call_dllpc(int, int, namelist_t*) ()
#12 0x0000000000708e99 in pmethod_op() ()
#13 0x0000000000708e99 in pmethod_op() ()
#14 0x00000000005e7c15 in run_proc(int) ()
#15 0x0000000000736fd4 in call_key_common(filewindow_t*, int, int, unsigned int, unsigned int, bool, unsigned char) ()
#16 0x000000000073720f in vs_call_keya(filewindow_t*, int, int) ()
#17 0x000000000063a622 in vsCtlSlickCExecuteEvent ()
#18 0x000000000063ab8d in vsQTSlickCExecuteMousePressEvent ()
#19 0x00007ff350e07090 in QWidget::event(QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#20 0x00007ff351215fe6 in QFrame::event(QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#21 0x00007ff35132376b in QAbstractItemView::viewportEvent(QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#22 0x00007ff35136b285 in QTreeView::viewportEvent(QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#23 0x00007ff35084eb48 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /opt/slickedit/bin/libQtCore.so.4
#24 0x00007ff350db9f1f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#25 0x00007ff350dbf5f9 in QApplication::notify(QObject*, QEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#26 0x00007ff35084e9bc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/slickedit/bin/libQtCore.so.4
#27 0x00007ff350dbaf22 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /opt/slickedit/bin/libQtGui.so.4
#28 0x00007ff350e33438 in ?? () from /opt/slickedit/bin/libQtGui.so.4
#29 0x00007ff350e3222a in QApplication::x11ProcessEvent(_XEvent*) () from /opt/slickedit/bin/libQtGui.so.4
#30 0x00007ff350e59942 in ?? () from /opt/slickedit/bin/libQtGui.so.4
#31 0x00007ff34f1fce04 in g_main_dispatch (context=0x3d8f9a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#32 g_main_context_dispatch (context=context@entry=0x3d8f9a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#33 0x00007ff34f1fd048 in g_main_context_iterate (context=context@entry=0x3d8f9a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#34 0x00007ff34f1fd0ec in g_main_context_iteration (context=0x3d8f9a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#35 0x00007ff35087c5df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit/bin/libQtCore.so.4
#36 0x00007ff350e595de in ?? () from /opt/slickedit/bin/libQtGui.so.4
#37 0x00007ff35084d802 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit/bin/libQtCore.so.4
#38 0x00007ff35084da57 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/slickedit/bin/libQtCore.so.4
#39 0x0000000000678abb in gui_modal_wait(filewindow_t*) ()
#40 0x000000000068a2e4 in p_modal_wait_op() ()
#41 0x00000000005e7c15 in run_proc(int) ()
#42 0x00000000005d526e in run_proc_immediate2(m_s*, int, int, VSARGTYPE*, int, int) [clone .isra.14] ()
#43 0x00000000005d5f44 in run_proc_immediate(int, int, VSARGTYPE*, int, int) ()
#44 0x0000000000777470 in execute_command(VSLSTR*, int, int*, slickedit::SEString const&) ()
#45 0x00000000007051f2 in vsaexecutelstr(unsigned char*, int, VSLSTR*) ()
#46 0x000000000070680d in pexecute_op() ()
#47 0x00000000005e7c15 in run_proc(int) ()
#48 0x00000000006a72b5 in se_init(VSINIT*) ()
#49 0x00000000006832a7 in vsInit ()
#50 0x000000000051a0a6 in vmain(int, char**) ()
#51 0x000000000132f3f3 in xmain ()
#52 0x00000000004e7279 in main ()
« Last Edit: September 26, 2014, 07:01:02 pm by jvert »

Graeme

  • Senior Community Member
  • Posts: 2117
  • Hero Points: 257
Re: vsdiff problems
« Reply #1 on: September 26, 2014, 07:37:54 pm »
You probably need a slash at the end of the pathname to make it look like a path instead of a file.

If you have maintenance and support you should open a support case, there's no official support on the forum... especially for difficult to diagnose problems like this probably is.

You're using version 18, correct?  Do you get the same problems in the V19 beta?  Did you notice when the problems started, e.g. after you upgraded Ubuntu maybe.  I guess you considered re-installing.

jvert

  • Community Member
  • Posts: 30
  • Hero Points: 2
Re: vsdiff problems
« Reply #2 on: September 26, 2014, 07:57:36 pm »
oops I meant for this to be in the v19 forum!