Bug 239904

Summary: Crash when changing editor settings that conflict with kate
Product: [Applications] kdevelop Reporter: Lene Preuss <lene.preuss>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: lene.preuss
Priority: NOR    
Version: unspecified   
Target Milestone: 4.0.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lene Preuss 2010-05-28 20:33:55 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Forgot which settings exactly and can't open a new kdevelop instance while submitting a bug. BRB.

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

Thread 12 (Thread 0x7f49744dc710 (LWP 9582)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f4985dbf692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x344fce0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x344fce0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f498184706e in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#4  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x344fcc0) at thread/qthread_unix.cpp:248
#5  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f4964158710 (LWP 9594)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f4964157aa0 in ?? ()
#2  0x00007fff1c3ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x7f495a943710 (LWP 9687)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:97
#1  0x00007f4984af1f6b in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f497f1e24a9 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f497f1e28fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f4985edc566 in QEventDispatcherGlib::processEvents (this=0x3e64ee0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f4985eb1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f4985eb1d6c in QEventLoop::exec (this=0x7f495a942df0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f4985dbbd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x7f496c32aef0) at thread/qthread_unix.cpp:248
#9  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f495a142710 (LWP 9688)):
#0  0x00007f49848043f5 in __pthread_mutex_lock (mutex=0x410b348) at pthread_mutex_lock.c:61
#1  0x00007f497f1e18fa in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007f497f1e24c3 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f497f1e28fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f4985edc566 in QEventDispatcherGlib::processEvents (this=0x47915a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f4985eb1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f4985eb1d6c in QEventLoop::exec (this=0x7f495a141df0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f4985dbbd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x7f496c8324b0) at thread/qthread_unix.cpp:248
#9  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4959941710 (LWP 9689)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f4985dbe0e5 in thread_sleep (ti=0x7f4959940db0) at thread/qthread_unix.cpp:398
#2  0x00007f4985dbe250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f4960273f41 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x7f496c83af10) at thread/qthread_unix.cpp:248
#5  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4959140710 (LWP 9690)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4985dbf72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x338ab10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x338ab10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f497cc7e026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3389e90, th=0x4c675f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f497cc806ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x3389710, th=0x4c675f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f497cc806c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3389710, th=0x4c675f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f497cc7ebff in ThreadWeaver::ThreadRunHelper::run (this=0x7f495913fe00, parent=0x3389e90, th=0x4c675f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f497cc7f168 in ThreadWeaver::Thread::run (this=0x4c675f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x4c675f0) at thread/qthread_unix.cpp:248
#9  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f495893f710 (LWP 9691)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4985dbf72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x338ab10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x338ab10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f497cc7e026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3389e90, th=0x4ab75f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f497cc806ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x3389710, th=0x4ab75f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f497cc7ebff in ThreadWeaver::ThreadRunHelper::run (this=0x7f495893ee00, parent=0x3389e90, th=0x4ab75f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f497cc7f168 in ThreadWeaver::Thread::run (this=0x4ab75f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x4ab75f0) at thread/qthread_unix.cpp:248
#8  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4969dd9710 (LWP 10961)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4985dbf72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f497cc7e026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x6fb55e0, th=0x601ca00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f497cc806ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x6595620, th=0x601ca00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f497cc7ebff in ThreadWeaver::ThreadRunHelper::run (this=0x7f4969dd8e00, parent=0x6fb55e0, th=0x601ca00) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f497cc7f168 in ThreadWeaver::Thread::run (this=0x601ca00) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x601ca00) at thread/qthread_unix.cpp:248
#8  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f49695d8710 (LWP 10962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4985dbf72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f497cc7e026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x6fb55e0, th=0x2aacb40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f497cc806ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x6595620, th=0x2aacb40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f497cc806c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x6595620, th=0x2aacb40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f497cc7ebff in ThreadWeaver::ThreadRunHelper::run (this=0x7f49695d7e00, parent=0x6fb55e0, th=0x2aacb40) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f497cc7f168 in ThreadWeaver::Thread::run (this=0x2aacb40) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x2aacb40) at thread/qthread_unix.cpp:248
#9  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f494a0c3710 (LWP 10964)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4985dbf72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5ba8d30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f497cc7e026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x6fb55e0, th=0x48b0170) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f497cc806ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x6595620, th=0x48b0170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f497cc7ebff in ThreadWeaver::ThreadRunHelper::run (this=0x7f494a0c2e00, parent=0x6fb55e0, th=0x48b0170) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f497cc7f168 in ThreadWeaver::Thread::run (this=0x48b0170) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4985dbe775 in QThreadPrivate::start (arg=0x48b0170) at thread/qthread_unix.cpp:248
#8  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4948c9f710 (LWP 11041)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f497df472a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f497e225220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f497df472e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f497e2332ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f49848019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f4984afe6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f498761b760 (LWP 9580)):
[KCrash Handler]
#5  QMetaObject::changeGuard (ptr=0x8aba858, o=0x0) at kernel/qobject.cpp:488
#6  0x00007f49856acdfe in QPointer<QAction>::operator= (this=0x8aba5a0, action=0x8908510, action_e=QAction::Trigger, self=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#7  QMenuPrivate::activateAction (this=0x8aba5a0, action=0x8908510, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1116
#8  0x00007f49864d6cee in KMenu::mouseReleaseEvent (this=0x7641b60, e=0x35a) at ../../kdeui/widgets/kmenu.cpp:471
#9  0x00007f49852c2582 in QWidget::event (this=0x7641b60, event=0x7fff1c3ce160) at kernel/qwidget.cpp:7998
#10 0x00007f49856aef9b in QMenu::event (this=0x7641b60, e=0x7fff1c3ce160) at widgets/qmenu.cpp:2414
#11 0x00007f498526c22c in QApplicationPrivate::notify_helper (this=0x262a4e0, receiver=0x7641b60, e=0x7fff1c3ce160) at kernel/qapplication.cpp:4300
#12 0x00007f4985272ecb in QApplication::notify (this=0x7fff1c3cef80, receiver=0x7641b60, e=0x7fff1c3ce160) at kernel/qapplication.cpp:3865
#13 0x00007f49863fa526 in KApplication::notify (this=0x7fff1c3cef80, receiver=0x7641b60, event=0x7fff1c3ce160) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f4985eb306c in QCoreApplication::notifyInternal (this=0x7fff1c3cef80, receiver=0x7641b60, event=0x7fff1c3ce160) at kernel/qcoreapplication.cpp:704
#15 0x00007f49852720ae in QCoreApplication::sendEvent (receiver=0x7641b60, event=0x7fff1c3ce160, alienWidget=0x0, nativeWidget=0x7641b60, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::sendMouseEvent (receiver=0x7641b60, event=0x7fff1c3ce160, alienWidget=0x0, nativeWidget=0x7641b60, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#17 0x00007f49852f23dd in QETWidget::translateMouseEvent (this=0x7641b60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#18 0x00007f49852f08ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1c3cea80) at kernel/qapplication_x11.cpp:3501
#19 0x00007f498531c882 in x11EventSourceDispatch (s=0x2a47f70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007f497f1de8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f497f1e2748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f497f1e28fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f4985edc513 in QEventDispatcherGlib::processEvents (this=0x25edf50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007f498531c46e in QGuiEventDispatcherGlib::processEvents (this=0x4019, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f4985eb1992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f4985eb1d6c in QEventLoop::exec (this=0x7fff1c3cedb0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f4985eb5aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0x00000000004088cf in _start ()

Reported using DrKonqi
Comment 1 Lene Preuss 2010-05-28 20:37:16 UTC
Enabling the AutoBrace plugin was what led to the crash
Comment 2 Andreas Pakulat 2010-05-29 02:14:03 UTC

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