Bug 243789

Summary: KDevelop crash disabling auto-bracket extension
Product: [Applications] kdevelop Reporter: Rick Wagner <rjwgnr27>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: luis.panadero
Priority: NOR    
Version: unspecified   
Target Milestone: 4.0.1   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Rick Wagner 2010-07-06 20:26:01 UTC
Application: kdevelop (4.0.60)
KDE Platform Version: 4.4.4 (KDE 4.4.4) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.14-127.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
I had auto-bracket extension enabled.  I disabled it in the Editor->Configure dialog; when I pressed OK, got the crash.  Tried opening a new project + empty file so there would be no parsing after the change, but still got the crash.  Happens every time.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f96c5e35840 (LWP 11751))]

Thread 11 (Thread 0x7f96bc202710 (LWP 11753)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003fc3e71802 in wait (this=<value optimized out>, mutex=0x1538ce0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1538ce0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f96c67bce1e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1538cc0) at /srv/devel/src/kde4/src-git/kdevplatform/language/duchain/duchain.cpp:286
#4  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x1538cc0) at thread/qthread_unix.cpp:248
#5  0x0000003796406a3a in start_thread (arg=0x7f96bc202710) at pthread_create.c:297
#6  0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f96a90aa710 (LWP 11858)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fcc9274f6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3fccc00b20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x0000003fcc927539 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3fccc0ebec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x0000003796406a3a in start_thread (arg=0x7f96a90aa710) at pthread_create.c:297
#4  0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f96a9aab710 (LWP 11867)):
#0  0x00000037958d5353 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000379803ca0c in g_main_context_poll (context=0x7f96a40009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f96a40009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x000000379803cd4a in IA__g_main_context_iteration (context=0x7f96a40009b0, may_block=1) at gmain.c:2654
#4  0x0000003fc3f7d0b6 in QEventDispatcherGlib::processEvents (this=0x7f96a4002240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x0000003fc3f56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003fc3f5645c in QEventLoop::exec (this=0x7f96a9aaad40, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003fc3e6e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x2828c10) at thread/qthread_unix.cpp:248
#9  0x0000003796406a3a in start_thread (arg=0x7f96a9aab710) at pthread_create.c:297
#10 0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f96a1b42710 (LWP 11868)):
#0  0x00000037958d5353 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000379803ca0c in g_main_context_poll (context=0x7f969c0009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f969c0009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x000000379803cd4a in IA__g_main_context_iteration (context=0x7f969c0009b0, may_block=1) at gmain.c:2654
#4  0x0000003fc3f7d0b6 in QEventDispatcherGlib::processEvents (this=0x7f969c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x0000003fc3f56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003fc3f5645c in QEventLoop::exec (this=0x7f96a1b41d40, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003fc3e6e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x2828850) at thread/qthread_unix.cpp:248
#9  0x0000003796406a3a in start_thread (arg=0x7f96a1b42710) at pthread_create.c:297
#10 0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f96a1141710 (LWP 11870)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003fc3e70315 in thread_sleep (ti=0x7f96a1140d00) at thread/qthread_unix.cpp:398
#2  0x0000003fc3e70480 in QThread::msleep (msecs=37916000) at thread/qthread_unix.cpp:424
#3  0x00007f96a2305ea1 in UIBlockTester::UIBlockTesterThread::run (this=0x282ab30) at /srv/devel/src/kde4/src-git/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x282ab30) at thread/qthread_unix.cpp:248
#5  0x0000003796406a3a in start_thread (arg=0x7f96a1141710) at pthread_create.c:297
#6  0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f969aebd710 (LWP 11889)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fc3e7189b in wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fcd209f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x144a2c0, th=0x3cffc00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003fcd20c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3cffc00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003fcd20ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f969aebcd50, parent=0x144a2c0, th=0x3cffc00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003fcd20b358 in ThreadWeaver::Thread::run (this=0x3cffc00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x3cffc00) at thread/qthread_unix.cpp:248
#8  0x0000003796406a3a in start_thread (arg=0x7f969aebd710) at pthread_create.c:297
#9  0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f969a4bc710 (LWP 11890)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fc3e7189b in wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fcd209f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x144a2c0, th=0x3453260) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003fcd20c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3453260) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003fcd20c4c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3453260) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003fcd20ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f969a4bbd50, parent=0x144a2c0, th=0x3453260) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003fcd20b358 in ThreadWeaver::Thread::run (this=0x3453260) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x3453260) at thread/qthread_unix.cpp:248
#9  0x0000003796406a3a in start_thread (arg=0x7f969a4bc710) at pthread_create.c:297
#10 0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9699abb710 (LWP 11891)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fc3e7189b in wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fcd209f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x144a2c0, th=0x3452720) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003fcd20c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3452720) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003fcd20ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9699abad50, parent=0x144a2c0, th=0x3452720) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003fcd20b358 in ThreadWeaver::Thread::run (this=0x3452720) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x3452720) at thread/qthread_unix.cpp:248
#8  0x0000003796406a3a in start_thread (arg=0x7f9699abb710) at pthread_create.c:297
#9  0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f96990ba710 (LWP 11892)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fc3e7189b in wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fcd209f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x144a2c0, th=0x3451b00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003fcd20c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3451b00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003fcd20c4c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x3451b00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003fcd20ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f96990b9d50, parent=0x144a2c0, th=0x3451b00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003fcd20b358 in ThreadWeaver::Thread::run (this=0x3451b00) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x3451b00) at thread/qthread_unix.cpp:248
#9  0x0000003796406a3a in start_thread (arg=0x7f96990ba710) at pthread_create.c:297
#10 0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9693fff710 (LWP 11893)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003fc3e7189b in wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x144a4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003fcd209f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x144a2c0, th=0x344c0b0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003fcd20c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x344c0b0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003fcd20c4c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x144a5e0, th=0x344c0b0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003fcd20ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9693ffed50, parent=0x144a2c0, th=0x344c0b0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003fcd20b358 in ThreadWeaver::Thread::run (this=0x344c0b0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003fc3e709a5 in QThreadPrivate::start (arg=0x344c0b0) at thread/qthread_unix.cpp:248
#9  0x0000003796406a3a in start_thread (arg=0x7f9693fff710) at pthread_create.c:297
#10 0x00000037958de77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f96c5e35840 (LWP 11751)):
[KCrash Handler]
#5  0x0000003fc58221c1 in QETWidget::translateMouseEvent (this=0x3e05470, event=<value optimized out>) at kernel/qapplication_x11.cpp:4324
#6  0x0000003fc58211d8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffb6610b40) at kernel/qapplication_x11.cpp:3506
#7  0x0000003fc5849e32 in x11EventSourceDispatch (s=0x10c4b70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#8  0x000000379803923e in g_main_dispatch (context=0x10c3920) at gmain.c:1960
#9  IA__g_main_context_dispatch (context=0x10c3920) at gmain.c:2513
#10 0x000000379803cc28 in g_main_context_iterate (context=0x10c3920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#11 0x000000379803cd4a in IA__g_main_context_iteration (context=0x10c3920, may_block=1) at gmain.c:2654
#12 0x0000003fc3f7d063 in QEventDispatcherGlib::processEvents (this=0x109f7b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#13 0x0000003fc5849afe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x0000003fc3f56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#15 0x0000003fc3f5645c in QEventLoop::exec (this=0x7fffb6610e70, flags=...) at kernel/qeventloop.cpp:201
#16 0x0000003fc3f58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#17 0x0000000000408c4b in main (argc=<value optimized out>, argv=<value optimized out>) at /srv/devel/src/kde4/src-git/kdevelop/app/main.cpp:379

This bug may be a duplicate of or related to bug 238864.

Possible duplicates by query: bug 243573, bug 243330, bug 243062, bug 242680, bug 242620.

Reported using DrKonqi
Comment 1 Luis 2010-07-15 17:32:17 UTC
Created attachment 49180 [details]
New crash information added by DrKonqi

I enable auto-brace plugin in Kdevelop 4, when It just crashed.
Comment 2 Milian Wolff 2010-09-06 17:54:35 UTC

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