Bug 343535

Summary: Kompare: Abort when comparing two directories
Product: [Applications] kompare Reporter: J_Engler
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.1.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description J_Engler 2015-01-29 18:39:20 UTC
Application: kompare (4.1.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: compare two directory structures on a file system on a remote windows server

The crash can be reproduced every time.

-- Backtrace:
Application: Kompare (kompare), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbb0f3627c0 (LWP 398))]

Thread 2 (Thread 0x7fbafc3f9700 (LWP 400)):
#0  0x00007fbb0c1683cd in poll () from /lib64/libc.so.6
#1  0x00007fbb088f3be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbb088f3cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbb0c8eb0de in QEventDispatcherGlib::processEvents (this=0x7fbaf40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fbb0c8bce6f in QEventLoop::processEvents (this=this@entry=0x7fbafc3f8de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbb0c8bd165 in QEventLoop::exec (this=this@entry=0x7fbafc3f8de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbb0c7ba0bf in QThread::exec (this=this@entry=0xc0ae10) at thread/qthread.cpp:538
#7  0x00007fbb0c89e783 in QInotifyFileSystemWatcherEngine::run (this=0xc0ae10) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fbb0c7bc79f in QThreadPrivate::start (arg=0xc0ae10) at thread/qthread_unix.cpp:349
#9  0x00007fbb09e1d0a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbb0c1707fd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbb0f3627c0 (LWP 398)):
[KCrash Handler]
#6  QTreeModel::index (this=0xd101a0, item=item@entry=0x22fb820, column=column@entry=0) at itemviews/qtreewidget.cpp:240
#7  0x00007fbb0d82f93b in index (column=0, item=0x22fb820, this=<optimized out>) at ../../src/gui/itemviews/qtreewidget_p.h:224
#8  QTreeWidget::setCurrentItem (this=0xcdc8b0, item=item@entry=0x22fb820, column=column@entry=0) at itemviews/qtreewidget.cpp:2815
#9  0x00007fbb0d82f967 in QTreeWidget::setCurrentItem (this=<optimized out>, item=item@entry=0x22fb820) at itemviews/qtreewidget.cpp:2803
#10 0x00007fbafcae9147 in KompareNavTreePart::setSelectedFile (this=this@entry=0xccb8d0, model=model@entry=0x3ebdee0) at /usr/src/debug/kompare-4.14.3/komparenavtreepart/komparenavtreepart.cpp:312
#11 0x00007fbafcae9b4a in KompareNavTreePart::slotSetSelection (this=0xccb8d0, model=0x3ebdee0, diff=0x3ebe210) at /usr/src/debug/kompare-4.14.3/komparenavtreepart/komparenavtreepart.cpp:277
#12 0x00007fbafcaeb263 in KompareNavTreePart::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kompare-4.14.3/build/komparenavtreepart/komparenavtreepart.moc:79
#13 0x00007fbb0c8d21fa in QMetaObject::activate (sender=0xd10a80, m=m@entry=0x7fbafd3335e0 <KomparePart::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff919fbf80) at kernel/qobject.cpp:3576
#14 0x00007fbafd11cc4b in KomparePart::setSelection (this=<optimized out>, _t1=0x3ebdee0, _t2=0x3ebe210) at /usr/src/debug/kompare-4.14.3/build/komparepart/kompare_part.moc:195
#15 0x00007fbafd120cd3 in KomparePart::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kompare-4.14.3/build/komparepart/kompare_part.moc:104
#16 0x00007fbb0c8d21fa in QMetaObject::activate (sender=sender@entry=0xdd2b30, m=m@entry=0x7fbb0f1956c0 <Diff2::KompareModelList::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff919fc120) at kernel/qobject.cpp:3576
#17 0x00007fbb0ef7705b in Diff2::KompareModelList::setSelection (this=this@entry=0xdd2b30, _t1=0x3ebdee0, _t2=0x3ebe210) at /usr/src/debug/libkomparediff2-4.14.3/build/komparemodellist.moc:211
#18 0x00007fbb0ef7a4ef in Diff2::KompareModelList::slotNextDifference (this=0xdd2b30) at /usr/src/debug/libkomparediff2-4.14.3/komparemodellist.cpp:910
#19 0x00007fbb0ef7db3d in Diff2::KompareModelList::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/libkomparediff2-4.14.3/build/komparemodellist.moc:124
#20 0x00007fbb0c8d21fa in QMetaObject::activate (sender=sender@entry=0xddeed0, m=m@entry=0x7fbb0dd704a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff919fc310) at kernel/qobject.cpp:3576
#21 0x00007fbb0d2c6622 in QAction::triggered (this=this@entry=0xddeed0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#22 0x00007fbb0d2c7fd3 in QAction::activate (this=0xddeed0, event=<optimized out>) at kernel/qaction.cpp:1257
#23 0x00007fbb0d67a112 in QAbstractButtonPrivate::click (this=this@entry=0xcee3f0) at widgets/qabstractbutton.cpp:530
#24 0x00007fbb0d67a23c in QAbstractButton::mouseReleaseEvent (this=0xcee300, e=0x7fff919fc810) at widgets/qabstractbutton.cpp:1123
#25 0x00007fbb0d73116a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#26 0x00007fbb0d31bc0a in QWidget::event (this=0xcee300, event=0x7fff919fc810) at kernel/qwidget.cpp:8389
#27 0x00007fbb0d2cc76c in QApplicationPrivate::notify_helper (this=this@entry=0xb07080, receiver=receiver@entry=0xcee300, e=e@entry=0x7fff919fc810) at kernel/qapplication.cpp:4565
#28 0x00007fbb0d2d2dea in QApplication::notify (this=this@entry=0x7fff919fd050, receiver=receiver@entry=0xcee300, e=e@entry=0x7fff919fc810) at kernel/qapplication.cpp:4108
#29 0x00007fbb0dfe4baa in KApplication::notify (this=0x7fff919fd050, receiver=0xcee300, event=0x7fff919fc810) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#30 0x00007fbb0c8be2ad in QCoreApplication::notifyInternal (this=0x7fff919fd050, receiver=receiver@entry=0xcee300, event=event@entry=0x7fff919fc810) at kernel/qcoreapplication.cpp:953
#31 0x00007fbb0d2d25e3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xcee300, event=event@entry=0x7fff919fc810, alienWidget=alienWidget@entry=0xcee300, nativeWidget=nativeWidget@entry=0xb9b4a0, buttonDown=buttonDown@entry=0x7fbb0ddac278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#33 0x00007fbb0d343c9b in QETWidget::translateMouseEvent (this=this@entry=0xb9b4a0, event=event@entry=0x7fff919fcb80) at kernel/qapplication_x11.cpp:4530
#34 0x00007fbb0d34270c in QApplication::x11ProcessEvent (this=0x7fff919fd050, event=event@entry=0x7fff919fcb80) at kernel/qapplication_x11.cpp:3653
#35 0x00007fbb0d3695c2 in x11EventSourceDispatch (s=0xb08400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007fbb088f3a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fbb088f3c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fbb088f3cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fbb0c8eb0de in QEventDispatcherGlib::processEvents (this=0xafb7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#40 0x00007fbb0d369676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fbb0c8bce6f in QEventLoop::processEvents (this=this@entry=0x7fff919fcf50, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fbb0c8bd165 in QEventLoop::exec (this=this@entry=0x7fff919fcf50, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fbb0c8c25b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#44 0x00007fbb0d2caf3c in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x0000000000409fc7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kompare-4.14.3/main.cpp:228

Possible duplicates by query: bug 318860.

Reported using DrKonqi
Comment 1 Kevin Kofler 2015-05-13 15:58:09 UTC

*** This bug has been marked as a duplicate of bug 202457 ***