Bug 228248 - KDevelop terminated after modifying and saving a file
Summary: KDevelop terminated after modifying and saving a file
Status: RESOLVED DUPLICATE of bug 226674
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 23:27 UTC by Sebastian Krieger
Modified: 2010-02-23 23:40 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 Sebastian Krieger 2010-02-23 23:27:06 UTC
Application: kdevelop (3.9.98 (using KDevPlatform 0.9.98))
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
KDevelop terminated after modifying and saving a file

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9e8fd077f0 (LWP 4484))]

Thread 10 (Thread 0x7f9e7b055910 (LWP 4485)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f9e8e4a3662 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1891fb0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1891fb0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9e88d170fe in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1891f90) at /home/sebastian/Downloads/kdevelop/kdevplatform-0.9.98/language/duchain/duchain.cpp:286
#4  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x1891f90) at thread/qthread_unix.cpp:248
#5  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9e69778910 (LWP 4507)):
#0  0x00007f9e8d1e83c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9e8646837c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f9e864686c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f9e8e5c04b6 in QEventDispatcherGlib::processEvents (this=0x23d3fd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f9e8e595862 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9e8e595c3c in QEventLoop::exec (this=0x7f9e69777fa0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f9e8e49fd29 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x23e5780) at thread/qthread_unix.cpp:248
#8  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f9e658ea910 (LWP 4589)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9e8a058396 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9e8a336220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f9e8a0583d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f9e8a3442ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7f9e5ffff910 (LWP 4602)):
#0  0x00007f9e8cf036dd in __pthread_mutex_unlock_usercnt (mutex=0x3a870f8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x3a870f8) at pthread_mutex_unlock.c:289
#2  0x00007f9e864668df in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x00007f9e86468112 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f9e864686c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f9e8e5c04b6 in QEventDispatcherGlib::processEvents (this=0x3a89e40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007f9e8e595862 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f9e8e595c3c in QEventLoop::exec (this=0x7f9e5fffefa0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f9e8e49fd29 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x3a7b360) at thread/qthread_unix.cpp:248
#10 0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f9e5f7fe910 (LWP 4603)):
#0  0x00007f9e8d1e83c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9e8646837c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f9e864686c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f9e8e5c04b6 in QEventDispatcherGlib::processEvents (this=0x3a99d80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f9e8e595862 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9e8e595c3c in QEventLoop::exec (this=0x7f9e5f7fdfa0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f9e8e49fd29 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x3a76830) at thread/qthread_unix.cpp:248
#8  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7f9e5effd910 (LWP 4604)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f9e8e4a20b5 in thread_sleep (ti=0x7f9e5effcf60) at thread/qthread_unix.cpp:398
#2  0x00007f9e8e4a2220 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f9e64d362a1 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x3a9c220) at thread/qthread_unix.cpp:248
#5  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9e5aa46910 (LWP 4614)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9e8e4a36fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17c6e10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17c6e10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9e8b0e0096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17c7af0, th=0x44c61e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9e8b0e274b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17c6ef0, th=0x44c61e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9e8b0e0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9e5aa45fb0, parent=0x17c7af0, th=0x44c61e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9e8b0e1058 in ThreadWeaver::Thread::run (this=0x44c61e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x44c61e0) at thread/qthread_unix.cpp:248
#8  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f9e5a245910 (LWP 4615)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9e8e4a36fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17c6e10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17c6e10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9e8b0e0096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17c7af0, th=0x39554f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9e8b0e274b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17c6ef0, th=0x39554f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9e8b0e0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9e5a244fb0, parent=0x17c7af0, th=0x39554f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9e8b0e1058 in ThreadWeaver::Thread::run (this=0x39554f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x39554f0) at thread/qthread_unix.cpp:248
#8  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9e596c9910 (LWP 4714)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9e8e4a36fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ffc9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ffc9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9e8b0e0096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x47321e0, th=0x44de030) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9e8b0e274b in ThreadWeaver::WorkingHardState::applyForWork (this=0x560dee0, th=0x44de030) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9e8b0e0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9e596c8fb0, parent=0x47321e0, th=0x44de030) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9e8b0e1058 in ThreadWeaver::Thread::run (this=0x44de030) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9e8e4a2745 in QThreadPrivate::start (arg=0x44de030) at thread/qthread_unix.cpp:248
#8  0x00007f9e8ceffa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9e8d1f480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9e8fd077f0 (LWP 4484)):
[KCrash Handler]
#5  0x00007f9e8e8aa8a0 in QVectorData::shared_null () from /usr/lib/libQtCore.so.4
#6  0x00007f9e79d6001c in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#7  0x00007f9e79d60dad in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#8  0x00007f9e8e5a9d3f in QMetaObject::activate (sender=0x4c87440, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2f) at kernel/qobject.cpp:3275
#9  0x00007f9e8bae15f2 in KDirWatch::dirty (this=0x7fffe19a3a80, _t1=<value optimized out>) at ./kdirwatch.moc:89
#10 0x00007f9e8bae26a9 in KDirWatchPrivate::emitEvent (this=<value optimized out>, e=<value optimized out>, event=1, fileName=<value optimized out>) at ../../kio/kio/kdirwatch.cpp:1272
#11 0x00007f9e8baeacd8 in KDirWatchPrivate::slotRescan (this=0x21d6140) at ../../kio/kio/kdirwatch.cpp:1392
#12 0x00007f9e8baeb354 in KDirWatchPrivate::qt_metacall (this=0x21d6140, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe19a40d0) at ./kdirwatch_p.moc:81
#13 0x00007f9e8e5a9d3f in QMetaObject::activate (sender=0x21d61a8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2f) at kernel/qobject.cpp:3275
#14 0x00007f9e8e5a6993 in QObject::event (this=0x21d61a8, e=0x7fffe19a4820) at kernel/qobject.cpp:1212
#15 0x00007f9e8d951fac in QApplicationPrivate::notify_helper (this=0x14957b0, receiver=0x21d61a8, e=0x7fffe19a4820) at kernel/qapplication.cpp:4298
#16 0x00007f9e8d95859b in QApplication::notify (this=0x7fffe19a4bf0, receiver=0x21d61a8, e=0x7fffe19a4820) at kernel/qapplication.cpp:4181
#17 0x00007f9e8eaded16 in KApplication::notify (this=0x7fffe19a4bf0, receiver=0x21d61a8, event=0x7fffe19a4820) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f9e8e596f3c in QCoreApplication::notifyInternal (this=0x7fffe19a4bf0, receiver=0x21d61a8, event=0x7fffe19a4820) at kernel/qcoreapplication.cpp:704
#19 0x00007f9e8e5c3b92 in QCoreApplication::sendEvent (this=0x14994a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x14994a0) at kernel/qeventdispatcher_unix.cpp:603
#21 0x00007f9e8e5c0798 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#23 0x00007f9e86464bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007f9e86468598 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f9e864686c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f9e8e5c0463 in QEventDispatcherGlib::processEvents (this=0xc4d600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007f9e8da017ee in QGuiEventDispatcherGlib::processEvents (this=0x7fffe19a3a80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f9e8e595862 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f9e8e595c3c in QEventLoop::exec (this=0x7fffe19a4ac0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f9e8e59997b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#31 0x00000000004060d7 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-02-23 23:36:55 UTC
Please install debug symbols for kdevelop, the backtrace is not very useful. (KDirWatch problems are supposed to be fixed in kde 4.4.0 afaik).
Comment 2 Milian Wolff 2010-02-23 23:40:22 UTC
no, 4.4.0 is crashy but should be fixed in 4.4.1 according to David Faure.

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