[Bug 311629] New: Kompare crashes while komparing two files of which one was rewritten in background

Manuel manuel.neumann at gmx.net
Thu Dec 13 11:31:21 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=311629

            Bug ID: 311629
          Severity: crash
           Version: 4.1.2
          Priority: NOR
          Assignee: kompare-devel at kde.org
           Summary: Kompare crashes while komparing two files of which one
                    was rewritten in background
    Classification: Unclassified
                OS: Linux
          Reporter: manuel.neumann at gmx.net
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kompare

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 at 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 at 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 at 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 at 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 at entry=0x2224230, receiver=receiver at entry=0x2923220,
e=e at 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 at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list