Bug 250894

Summary: kdevelop crashes when clicking ok after enabling plugins in editor->configure->extensions
Product: [Applications] kdevelop Reporter: Craig Magina <Craig.Magina>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Craig Magina 2010-09-11 17:07:50 UTC
Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-20-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
I was configuring the editor and when I got to the extensions section, I enabled some, clicked ok and kdevelop crashed.  I was able to hit this every time I tried to do this.  Settings I selected in the other sections were kept.

The crash can be reproduced every time.

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

Thread 12 (Thread 0x7fbb8f5cd710 (LWP 9664)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fbba5476da2 in wait (this=<value optimized out>, mutex=0x13f4a40, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13f4a40, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbba0b85c5e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x13f4a20) at ../../language/duchain/duchain.cpp:286
#4  0x00007fbba547627e in QThreadPrivate::start (arg=0x13f4a20) at thread/qthread_unix.cpp:266
#5  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fbb8e0cb710 (LWP 9666)):
#0  __pthread_mutex_lock (mutex=0x1ca0c08) at pthread_mutex_lock.c:127
#1  0x00007fbb9d97ab37 in g_main_context_check (context=0x1ca0c00, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2630
#2  0x00007fbb9d97b4c3 in g_main_context_iterate (context=0x1ca0c00, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2747
#3  0x00007fbb9d97b8fc in g_main_context_iteration (context=0x1ca0c00, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#4  0x00007fbba55961e6 in QEventDispatcherGlib::processEvents (this=0x12747b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fbba5568a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fbba5568dec in QEventLoop::exec (this=0x7fbb8e0cadb0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fbba54732fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fbba55485f8 in QInotifyFileSystemWatcherEngine::run (this=0x1c91140) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fbba547627e in QThreadPrivate::start (arg=0x1c91140) at thread/qthread_unix.cpp:266
#10 0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fbb84a2b710 (LWP 9667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbba5476e3b in wait (this=<value optimized out>, mutex=0x1162be0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1162be0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbb9b752524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c86680, th=0x13d4bc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbb9b75572b in ThreadWeaver::WorkingHardState::applyForWork (this=0x13b01a0, th=0x13d4bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbb9b753c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbb84a2ae00, parent=0x1c86680, th=0x13d4bc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbb9b7541f8 in ThreadWeaver::Thread::run (this=0x13d4bc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbba547627e in QThreadPrivate::start (arg=0x13d4bc0) at thread/qthread_unix.cpp:266
#8  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fbb83837710 (LWP 9669)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbba5476e3b in wait (this=<value optimized out>, mutex=0x1162be0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1162be0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbb9b752524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c86680, th=0x1243cf0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbb9b75572b in ThreadWeaver::WorkingHardState::applyForWork (this=0x13b01a0, th=0x1243cf0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbb9b753c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbb83836e00, parent=0x1c86680, th=0x1243cf0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbb9b7541f8 in ThreadWeaver::Thread::run (this=0x1243cf0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbba547627e in QThreadPrivate::start (arg=0x1243cf0) at thread/qthread_unix.cpp:266
#8  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fbb794e2710 (LWP 9695)):
#0  0x00007fbba5598292 in QTimerInfoList::timerWait (this=<value optimized out>, tm=...) at kernel/qeventdispatcher_unix.cpp:467
#1  0x0000000002080e20 in ?? ()
#2  0x0000000002080540 in ?? ()
#3  0x00007fbb9d97aeb1 in g_main_context_prepare (context=0x2080f10, priority=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2439
#4  0x00007fbb9d97b318 in g_main_context_iterate (context=0x2080540, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2730
#5  0x00007fbb9d97b8fc in g_main_context_iteration (context=0x2080540, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#6  0x00007fbba55961e6 in QEventDispatcherGlib::processEvents (this=0x207fed0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#7  0x00007fbba5568a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#8  0x00007fbba5568dec in QEventLoop::exec (this=0x7fbb794e1db0, flags=) at kernel/qeventloop.cpp:201
#9  0x00007fbba54732fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007fbba55485f8 in QInotifyFileSystemWatcherEngine::run (this=0x20709b0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fbba547627e in QThreadPrivate::start (arg=0x20709b0) at thread/qthread_unix.cpp:266
#12 0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#13 0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fbb78ce1710 (LWP 9778)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbb9cad3334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbb9cdde160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbb9cad3369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fbb9cdec234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fbb7323a710 (LWP 9787)):
#0  0x00007fbb9d97aecb in g_main_context_prepare (context=0x1243da0, priority=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2441
#1  0x00007fbb9d97b318 in g_main_context_iterate (context=0x1243da0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2730
#2  0x00007fbb9d97b8fc in g_main_context_iteration (context=0x1243da0, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#3  0x00007fbba55961e6 in QEventDispatcherGlib::processEvents (this=0x277cb00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fbba5568a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbba5568dec in QEventLoop::exec (this=0x7fbb73239df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fbba54732fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fbba547627e in QThreadPrivate::start (arg=0x7fbb7c0d5930) at thread/qthread_unix.cpp:266
#8  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbb72a39710 (LWP 9788)):
#0  0x00007fbb9d97aea5 in g_main_context_prepare (context=0x125c580, priority=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2437
#1  0x00007fbb9d97b318 in g_main_context_iterate (context=0x125c580, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2730
#2  0x00007fbb9d97b8fc in g_main_context_iteration (context=0x125c580, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#3  0x00007fbba55961e6 in QEventDispatcherGlib::processEvents (this=0x2c961e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fbba5568a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbba5568dec in QEventLoop::exec (this=0x7fbb72a38df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fbba54732fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fbba547627e in QThreadPrivate::start (arg=0x7fbb7c0c1050) at thread/qthread_unix.cpp:266
#8  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbb72238710 (LWP 9789)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fbba5475845 in thread_sleep (ti=0x7fbb72237db0) at thread/qthread_unix.cpp:416
#2  0x00007fbba54759b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007fbb73e4f961 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007fbba547627e in QThreadPrivate::start (arg=0x7fbb7c0d1d20) at thread/qthread_unix.cpp:266
#5  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbb71a37710 (LWP 9790)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbba5476e3b in wait (this=<value optimized out>, mutex=0x132ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x132ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbb9b752524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x132ec80, th=0x285ced0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbb9b75572b in ThreadWeaver::WorkingHardState::applyForWork (this=0x132d210, th=0x285ced0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbb9b753c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbb71a36e00, parent=0x132ec80, th=0x285ced0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbb9b7541f8 in ThreadWeaver::Thread::run (this=0x285ced0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbba547627e in QThreadPrivate::start (arg=0x285ced0) at thread/qthread_unix.cpp:266
#8  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbb71236710 (LWP 9791)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbba5476e3b in wait (this=<value optimized out>, mutex=0x132ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x132ba00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbb9b752524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x132ec80, th=0x25fef10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbb9b75572b in ThreadWeaver::WorkingHardState::applyForWork (this=0x132d210, th=0x25fef10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbb9b755744 in ThreadWeaver::WorkingHardState::applyForWork (this=0x132d210, th=0x25fef10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fbb9b753c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbb71235e00, parent=0x132ec80, th=0x25fef10) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fbb9b7541f8 in ThreadWeaver::Thread::run (this=0x25fef10) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fbba547627e in QThreadPrivate::start (arg=0x25fef10) at thread/qthread_unix.cpp:266
#9  0x00007fbba3e7b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fbba417792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbba6d13760 (LWP 9661)):
[KCrash Handler]
#6  0x00007fbba4959e41 in QETWidget::translateMouseEvent (this=0x2c6dc20, event=0x7fff07ddaf40) at kernel/qapplication_x11.cpp:4354
#7  0x00007fbba4958a4c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff07ddb800) at kernel/qapplication_x11.cpp:3536
#8  0x00007fbba4984ef2 in x11EventSourceDispatch (s=0x10ce060, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#9  0x00007fbb9d9777e2 in g_main_dispatch (context=0x10ccd20) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2119
#10 g_main_context_dispatch (context=0x10ccd20) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2672
#11 0x00007fbb9d97b748 in g_main_context_iterate (context=0x10ccd20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2750
#12 0x00007fbb9d97b8fc in g_main_context_iteration (context=0x10ccd20, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#13 0x00007fbba5596193 in QEventDispatcherGlib::processEvents (this=0x8738b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#14 0x00007fbba498485e in QGuiEventDispatcherGlib::processEvents (this=0x7fff07ddaee0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#15 0x00007fbba5568a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#16 0x00007fbba5568dec in QEventLoop::exec (this=0x7fff07ddbb30, flags=) at kernel/qeventloop.cpp:201
#17 0x00007fbba556cebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#18 0x00000000004085f7 in _start ()

Possible duplicates by query: bug 250876, bug 250576, bug 250390, bug 250274, bug 249983.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-13 11:51:55 UTC

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