Bug 254274 - Crash when clicking next diff in kompare
Summary: Crash when clicking next diff in kompare
Status: RESOLVED DUPLICATE of bug 202457
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
: 234501 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-15 16:50 UTC by Daniel Bengtsson
Modified: 2010-10-19 14:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bengtsson 2010-10-15 16:50:02 UTC
Application: kompare (4.0.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I had opened a diff by using "git difftool" and while walking through the diff using "next diff" (or whatever it say in English, I use Swedish so there is say "Nästa skillnad").

-- Backtrace:
Application: Kompare (kompare), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f81f1c0d760 (LWP 22696))]

Thread 2 (Thread 0x7f81d6eba710 (LWP 22704)):
#0  0x00007f81eec7d1e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f81ea8e9009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f81ea8e945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f81ef3c11e6 in QEventDispatcherGlib::processEvents (this=0x1f35830, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f81ef393a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f81ef393dec in QEventLoop::exec (this=0x7f81d6eb9db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f81ef29e2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f81ef3735f8 in QInotifyFileSystemWatcherEngine::run (this=0x1a825e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f81ef2a127e in QThreadPrivate::start (arg=0x1a825e0) at thread/qthread_unix.cpp:266
#9  0x00007f81edf07971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f81eec8992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f81f1c0d760 (LWP 22696)):
[KCrash Handler]
#6  QTreeModel::index (this=0x1895160, item=0x1fa79b0, column=0) at itemviews/qtreewidget.cpp:240
#7  0x00007f81f031d449 in index (this=0x1888e10, item=0x1fa79b0, column=0) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:224
#8  QTreeWidget::setCurrentItem (this=0x1888e10, item=0x1fa79b0, column=0) at itemviews/qtreewidget.cpp:2814
#9  0x00007f81df7b4a7e in KompareNavTreePart::setSelectedFile (this=0x1856a70, model=0x1a72c70) at ../../../kompare/komparenavtreepart/komparenavtreepart.cpp:308
#10 0x00007f81df7b4d42 in KompareNavTreePart::slotSetSelection (this=0x1856a70, model=0x1a72c70, diff=0x1a73090) at ../../../kompare/komparenavtreepart/komparenavtreepart.cpp:273
#11 0x00007f81df7b53fa in KompareNavTreePart::qt_metacall (this=0x1856a70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0ed5e880) at ./komparenavtreepart.moc:105
#12 0x00007f81ef3acb27 in QMetaObject::activate (sender=0x16a1230, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#13 0x00007f81e120202b in KomparePart::setSelection (this=0x7fff0ed5e5f0, _t1=0x1a72c70, _t2=0x1a73090) at ./kompare_part.moc:182
#14 0x00007f81e1207d80 in KomparePart::qt_metacall (this=0x16a1230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0ed5e9e0) at ./kompare_part.moc:134
#15 0x00007f81ef3acb27 in QMetaObject::activate (sender=0x181f050, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#16 0x00007f81e0fae91b in Diff2::KompareModelList::setSelection (this=0x7fff0ed5e5f0, _t1=0x1a72c70, _t2=0x1a73090) at ./komparemodellist.moc:198
#17 0x00007f81e0fb0303 in Diff2::KompareModelList::slotNextDifference (this=0x181f050) at ../../../kompare/libdiff2/komparemodellist.cpp:845
#18 0x00007f81e0fb73bb in Diff2::KompareModelList::qt_metacall (this=0x181f050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0ed5ec00) at ./komparemodellist.moc:148
#19 0x00007f81ef3acb27 in QMetaObject::activate (sender=0x182d730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#20 0x00007f81efd43852 in QAction::triggered (this=0x7fff0ed5e5f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00007f81efd44f5b in QAction::activate (this=0x182d730, event=<value optimized out>) at kernel/qaction.cpp:1256
#22 0x00007f81f012457a in QAbstractButtonPrivate::click (this=0x185bca0) at widgets/qabstractbutton.cpp:528
#23 0x00007f81f012482c in QAbstractButton::mouseReleaseEvent (this=0x185ea70, e=0x7fff0ed5f560) at widgets/qabstractbutton.cpp:1121
#24 0x00007f81f01f452a in QToolButton::mouseReleaseEvent (this=0x7fff0ed5e5f0, e=0x1895160) at widgets/qtoolbutton.cpp:721
#25 0x00007f81efda104e in QWidget::event (this=0x185ea70, event=0x7fff0ed5f560) at kernel/qwidget.cpp:8187
#26 0x00007f81efd4afdc in QApplicationPrivate::notify_helper (this=0x1505a50, receiver=0x185ea70, e=0x7fff0ed5f560) at kernel/qapplication.cpp:4396
#27 0x00007f81efd5130e in QApplication::notify (this=0x7fff0ed604a0, receiver=0x185ea70, e=0x7fff0ed5f560) at kernel/qapplication.cpp:3959
#28 0x00007f81f0a9d156 in KApplication::notify (this=0x7fff0ed604a0, receiver=0x185ea70, event=0x7fff0ed5f560) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00007f81ef394cdc in QCoreApplication::notifyInternal (this=0x7fff0ed604a0, receiver=0x185ea70, event=0x7fff0ed5f560) at kernel/qcoreapplication.cpp:732
#30 0x00007f81efd4fdbe in sendEvent (receiver=0x185ea70, event=0x7fff0ed5f560, alienWidget=0x185ea70, nativeWidget=0x1860310, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x185ea70, event=0x7fff0ed5f560, alienWidget=0x185ea70, nativeWidget=0x1860310, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#32 0x00007f81efdd3345 in QETWidget::translateMouseEvent (this=0x1860310, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#33 0x00007f81efdd1c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0ed5fe80) at kernel/qapplication_x11.cpp:3536
#34 0x00007f81efdfe0e2 in x11EventSourceDispatch (s=0x1509820, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f81ea8e5342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f81ea8e92a8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f81ea8e945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f81ef3c1193 in QEventDispatcherGlib::processEvents (this=0x14ece60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f81efdfda4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff0ed5e5f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f81ef393a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f81ef393dec in QEventLoop::exec (this=0x7fff0ed601b0, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f81ef397ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0000000000409b15 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kompare/main.cpp:228

Reported using DrKonqi
Comment 1 Daniel Bengtsson 2010-10-15 16:58:06 UTC
I could not reproduce it with the same diff again. But I note that I get the following message on startup:

"Jämförelsen är felaktigt formaterad. Vissa rader kunde inte tolkas, och kommer inte att visas i jäamförelsevyn".
Comment 2 Christoph Feck 2010-10-19 14:18:28 UTC
*** Bug 234501 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2010-10-19 14:24:04 UTC

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