Bug 311629 - Kompare crashes while komparing two files of which one was rewritten in background
Summary: Kompare crashes while komparing two files of which one was rewritten in backg...
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 4.1.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 11:31 UTC by Manuel
Modified: 2018-11-29 09:42 UTC (History)
0 users

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 Manuel 2012-12-13 11:31:21 UTC
Application: kompare (4.1.2)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.20-1-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

* started Kompare
* selected two files
* started comparision
* switched to terminal and started program that wrote into one of those files

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

Thread 2 (Thread 0x7f4b06a95700 (LWP 10950)):
#0  0x00007fffd53ff827 in clock_gettime ()
#1  0x00007f4b0f12df7d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f4b1504ca24 in do_gettime (frac=0x7f4b06a94b58, sec=0x7f4b06a94b50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f4b1511f15d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f4b00002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f4b1511f4a3 in QTimerInfoList::timerWait (this=0x7f4b00002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f4b1511e01c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f4b06a94c4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f4b1511e0c5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f4b11152ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f4b111535ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4b111537a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f4b1511e956 in QEventDispatcherGlib::processEvents (this=0x7f4b000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f4b150ef73f in QEventLoop::processEvents (this=this@entry=0x7f4b06a94df0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f4b150ef9c8 in QEventLoop::exec (this=0x7f4b06a94df0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f4b14ff3e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f4b150d011f in QInotifyFileSystemWatcherEngine::run (this=0x24468f0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f4b14ff6ddb in QThreadPrivate::start (arg=0x24468f0) at thread/qthread_unix.cpp:298
#17 0x00007f4b1267be0e in start_thread (arg=0x7f4b06a95700) at pthread_create.c:305
#18 0x00007f4b149ad2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4b17956780 (LWP 10906)):
[KCrash Handler]
#6  0x00007f4b07d5e430 in QString (other=..., this=0x7fffd53a1a40) at /usr/include/QtCore/qstring.h:725
#7  diffOutput (this=0x0) at /usr/src/debug/kdesdk-4.8.5/kompare/libdiff2/kompareprocess.h:41
#8  Diff2::KompareModelList::slotDiffProcessFinished (this=0x2d736f0, success=<optimized out>) at /usr/src/debug/kdesdk-4.8.5/kompare/libdiff2/komparemodellist.cpp:484
#9  0x00007f4b07d5e87c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdesdk-4.8.5/build/kompare/libdiff2/komparemodellist.moc:127
#10 Diff2::KompareModelList::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdesdk-4.8.5/build/kompare/libdiff2/komparemodellist.moc:101
#11 0x00007f4b15106f5f in QMetaObject::activate (sender=0x2939840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd53a1bf0) at kernel/qobject.cpp:3556
#12 0x00007f4b07d5626f in KompareProcess::diffHasFinished (this=this@entry=0x2939840, _t1=true) at /usr/src/debug/kdesdk-4.8.5/build/kompare/libdiff2/kompareprocess.moc:106
#13 0x00007f4b07d56384 in KompareProcess::slotFinished (this=0x2939840, exitCode=1, exitStatus=QProcess::NormalExit) at /usr/src/debug/kdesdk-4.8.5/kompare/libdiff2/kompareprocess.cpp:280
#14 0x00007f4b15106f5f in QMetaObject::activate (sender=0x2939840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd53a1dc0) at kernel/qobject.cpp:3556
#15 0x00007f4b150880ff in QProcess::finished (this=this@entry=0x2939840, _t1=1, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:156
#16 0x00007f4b1508c207 in QProcessPrivate::_q_processDied (this=0x26cfea0) at io/qprocess.cpp:1068
#17 0x00007f4b1508c28e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:92
#18 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:69
#19 0x00007f4b15106f5f in QMetaObject::activate (sender=0x2923220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd53a1f70) at kernel/qobject.cpp:3556
#20 0x00007f4b15150a6e in QSocketNotifier::activated (this=<optimized out>, _t1=25) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#21 0x00007f4b1510d4fb in QSocketNotifier::event (this=0x2923220, e=0x7fffd53a2590) at kernel/qsocketnotifier.cpp:317
#22 0x00007f4b15aef74c in QApplicationPrivate::notify_helper (this=this@entry=0x2224230, receiver=receiver@entry=0x2923220, e=e@entry=0x7fffd53a2590) at kernel/qapplication.cpp:4554
#23 0x00007f4b15af3c7a in QApplication::notify (this=0x7fffd53a29a0, receiver=0x2923220, e=0x7fffd53a2590) at kernel/qapplication.cpp:4415
#24 0x00007f4b16803006 in KApplication::notify (this=0x7fffd53a29a0, receiver=0x2923220, event=0x7fffd53a2590) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#25 0x00007f4b150f073e in QCoreApplication::notifyInternal (this=0x7fffd53a29a0, receiver=0x2923220, event=0x7fffd53a2590) at kernel/qcoreapplication.cpp:876
#26 0x00007f4b1511e148 in sendEvent (event=0x7fffd53a2590, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#27 socketNotifierSourceDispatch (source=0x2224430) at kernel/qeventdispatcher_glib.cpp:110
#28 0x00007f4b111533b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f4b111536e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f4b111537a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f4b1511e956 in QEventDispatcherGlib::processEvents (this=0x2201ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#32 0x00007f4b15b8f8ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f4b150ef73f in QEventLoop::processEvents (this=this@entry=0x7fffd53a27d0, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f4b150ef9c8 in QEventLoop::exec (this=0x7fffd53a27d0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f4b150f43a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#36 0x0000000000409f37 in main (argc=4, argv=0x7fffd53a2b58) at /usr/src/debug/kdesdk-4.8.5/kompare/main.cpp:228

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-29 22:31:25 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-13 14:41:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-29 09:42:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!