Application: kdevelop (4.7.1) KDE Platform Version: 4.14.9 Qt Version: 4.8.6 Operating System: Linux 4.1.6-200.fc22.x86_64+debug x86_64 Distribution: "Fedora release 22 (Twenty Two)" -- Information about the crash: - What I was doing when the application crashed: I was debugging an application and running unit tests. Changing fonts. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7fc20bc8e900 (LWP 12557))] Thread 11 (Thread 0x7fc1e3a82700 (LWP 12558)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fc204da5b5a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc2050a8f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007fc204da5b89 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007fc206b02555 in start_thread (arg=0x7fc1e3a82700) at pthread_create.c:333 #4 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 10 (Thread 0x7fc160bed700 (LWP 12559)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fc206d91ff4 in wait (time=1000, this=0x42c7b30) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=this@entry=0x40bf348, mutex=mutex@entry=0x40bf350, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fc205190586 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x40bf330) at ../../language/duchain/duchain.cpp:283 #4 0x00007fc206d91aac in QThreadPrivate::start (arg=0x40bf330) at thread/qthread_unix.cpp:349 #5 0x00007fc206b02555 in start_thread (arg=0x7fc160bed700) at pthread_create.c:333 #6 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 9 (Thread 0x7fc158a05700 (LWP 12560)): #0 0x00007fc1ff0cbec9 in g_mutex_lock (mutex=mutex@entry=0x7fc1540009a0) at gthread-posix.c:1336 #1 0x00007fc1ff086369 in g_main_context_prepare (context=context@entry=0x7fc1540009a0, priority=priority@entry=0x7fc158a04b90) at gmain.c:3412 #2 0x00007fc1ff086ceb in g_main_context_iterate (context=context@entry=0x7fc1540009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788 #3 0x00007fc1ff086ecc in g_main_context_iteration (context=0x7fc1540009a0, may_block=1) at gmain.c:3869 #4 0x00007fc206ed14ee in QEventDispatcherGlib::processEvents (this=0x7fc1540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7fc158a04cd0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7fc158a04cd0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fc206d8f289 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #8 0x00007fc206d91aac in QThreadPrivate::start (arg=0x437dc18) at thread/qthread_unix.cpp:349 #9 0x00007fc206b02555 in start_thread (arg=0x7fc158a05700) at pthread_create.c:333 #10 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 8 (Thread 0x7fc1485ce700 (LWP 12567)): #0 0x00007fc205f912fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc1ff086dbc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc140003510, timeout=<optimized out>, context=0x7fc1400009a0) at gmain.c:4103 #2 g_main_context_iterate (context=context@entry=0x7fc1400009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803 #3 0x00007fc1ff086ecc in g_main_context_iteration (context=0x7fc1400009a0, may_block=1) at gmain.c:3869 #4 0x00007fc206ed14ee in QEventDispatcherGlib::processEvents (this=0x7fc1400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7fc1485cdcd0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7fc1485cdcd0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fc206d8f289 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #8 0x00007fc206d91aac in QThreadPrivate::start (arg=0x47467b0) at thread/qthread_unix.cpp:349 #9 0x00007fc206b02555 in start_thread (arg=0x7fc1485ce700) at pthread_create.c:333 #10 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 7 (Thread 0x7fc1350de700 (LWP 12604)): #0 0x00007fc206b0a54d in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc1ff0cab00 in read (__nbytes=16, __buf=0x7fc1350dda70, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #2 g_wakeup_acknowledge (wakeup=0x7fc1400027c0) at gwakeup.c:210 #3 0x00007fc1ff0868b4 in g_main_context_check (context=context@entry=0x7fc1280009a0, max_priority=2147483647, fds=fds@entry=0x7fc128001910, n_fds=n_fds@entry=1) at gmain.c:3600 #4 0x00007fc1ff086d60 in g_main_context_iterate (context=context@entry=0x7fc1280009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805 #5 0x00007fc1ff086ecc in g_main_context_iteration (context=0x7fc1280009a0, may_block=1) at gmain.c:3869 #6 0x00007fc206ed14ee in QEventDispatcherGlib::processEvents (this=0x7fc1280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #7 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7fc1350ddc80, flags=...) at kernel/qeventloop.cpp:149 #8 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7fc1350ddc80, flags=...) at kernel/qeventloop.cpp:204 #9 0x00007fc206d8f289 in QThread::exec (this=this@entry=0x648fb60) at thread/qthread.cpp:538 #10 0x00007fc206e7f863 in QInotifyFileSystemWatcherEngine::run (this=0x648fb60) at io/qfilesystemwatcher_inotify.cpp:265 #11 0x00007fc206d91aac in QThreadPrivate::start (arg=0x648fb60) at thread/qthread_unix.cpp:349 #12 0x00007fc206b02555 in start_thread (arg=0x7fc1350de700) at pthread_create.c:333 #13 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7fc1358df700 (LWP 12617)): #0 0x00007fc205f912fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc1ff086dbc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc130003050, timeout=<optimized out>, context=0x7fc130002ec0) at gmain.c:4103 #2 g_main_context_iterate (context=context@entry=0x7fc130002ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803 #3 0x00007fc1ff086ecc in g_main_context_iteration (context=0x7fc130002ec0, may_block=1) at gmain.c:3869 #4 0x00007fc206ed14ee in QEventDispatcherGlib::processEvents (this=0x7fc130003070, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7fc1358dec80, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7fc1358dec80, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fc206d8f289 in QThread::exec (this=this@entry=0x6219ab0) at thread/qthread.cpp:538 #8 0x00007fc206e7f863 in QInotifyFileSystemWatcherEngine::run (this=0x6219ab0) at io/qfilesystemwatcher_inotify.cpp:265 #9 0x00007fc206d91aac in QThreadPrivate::start (arg=0x6219ab0) at thread/qthread_unix.cpp:349 #10 0x00007fc206b02555 in start_thread (arg=0x7fc1358df700) at pthread_create.c:333 #11 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7fc13f7fe700 (LWP 12893)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fc206d92016 in wait (time=18446744073709551615, this=0x25d3bc0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x25d3a98, mutex=0x25d3d40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fc2072136ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25d3a70, th=0x62d6bc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370 #4 0x00007fc2072163f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x25d3dd0, th=0x62d6bc0, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68 #5 0x00007fc20721640c in ThreadWeaver::WorkingHardState::applyForWork (this=0x25d3dd0, th=0x62d6bc0, previous=0x22dcfc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #6 0x00007fc207214f4f in ThreadWeaver::Thread::run (this=0x62d6bc0) at ../../../threadweaver/Weaver/Thread.cpp:98 #7 0x00007fc206d91aac in QThreadPrivate::start (arg=0x62d6bc0) at thread/qthread_unix.cpp:349 #8 0x00007fc206b02555 in start_thread (arg=0x7fc13f7fe700) at pthread_create.c:333 #9 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fc13effd700 (LWP 12894)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fc206d92016 in wait (time=18446744073709551615, this=0x25d3bc0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x25d3a98, mutex=0x25d3d40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fc2072136ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25d3a70, th=0x7fc120003380) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370 #4 0x00007fc2072163f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x25d3dd0, th=0x7fc120003380, previous=0x6710fb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68 #5 0x00007fc207214f4f in ThreadWeaver::Thread::run (this=0x7fc120003380) at ../../../threadweaver/Weaver/Thread.cpp:98 #6 0x00007fc206d91aac in QThreadPrivate::start (arg=0x7fc120003380) at thread/qthread_unix.cpp:349 #7 0x00007fc206b02555 in start_thread (arg=0x7fc13effd700) at pthread_create.c:333 #8 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fc13ffff700 (LWP 13063)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fc1fd14af61 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x71f8468) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128 #2 0x00007fc1fd4496d6 in WTF::wtfThreadEntryPoint (param=0x71e9c10) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196 #3 0x00007fc206b02555 in start_thread (arg=0x7fc13ffff700) at pthread_create.c:333 #4 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fc13e1f3700 (LWP 13064)): #0 0x00007fc205f912fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc1ff086dbc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc0d4001620, timeout=<optimized out>, context=0x7fc0d40009a0) at gmain.c:4103 #2 g_main_context_iterate (context=context@entry=0x7fc0d40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803 #3 0x00007fc1ff086ecc in g_main_context_iteration (context=0x7fc0d40009a0, may_block=1) at gmain.c:3869 #4 0x00007fc206ed14ee in QEventDispatcherGlib::processEvents (this=0x7fc0d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7fc13e1f2cd0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7fc13e1f2cd0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007fc206d8f289 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #8 0x00007fc206d91aac in QThreadPrivate::start (arg=0x65b4cf0) at thread/qthread_unix.cpp:349 #9 0x00007fc206b02555 in start_thread (arg=0x7fc13e1f3700) at pthread_create.c:333 #10 0x00007fc205f9cb9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fc20bc8e900 (LWP 12557)): [KCrash Handler] #6 OutputWidget::setTitle (this=0x0, outputId=9, title=...) at ../../../plugins/standardoutputview/outputwidget.cpp:704 #7 0x00007fc20a97276f in KDevelop::OutputJob::setTitle (this=0x5c5a550, title=...) at ../../outputview/outputjob.cpp:108 #8 0x00007fc14468c4ec in CTestRunJob::start (this=0x22f4880) at ../../../projectmanagers/cmake/testing/ctestrunjob.cpp:135 #9 0x00007fc20b8a0448 in KDevelop::RunController::registerJob (this=0x2590dc0, job=0x5c504c0) at ../../shell/runcontroller.cpp:585 #10 0x00007fc14a35e505 in TestView::runSelectedTests (this=0x5e736a0) at ../../../plugins/testview/testview.cpp:330 #11 0x00007fc14a35cec5 in TestView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_testview.cpp:149 #12 0x00007fc206eb50c0 in QMetaObject::activate (sender=sender@entry=0x5e81660, m=m@entry=0x7fc20832bde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffeb314bd50) at kernel/qobject.cpp:3567 #13 0x00007fc207837442 in QAction::triggered (this=this@entry=0x5e81660, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #14 0x00007fc2078387a3 in QAction::activate (this=this@entry=0x5e81660, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #15 0x00007fc207c9343d in QMenuPrivate::activateCausedStack (this=this@entry=0x5f92650, causedStack=..., action=action@entry=0x5e81660, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037 #16 0x00007fc207c97839 in QMenuPrivate::activateAction (this=0x5f92650, action=0x5e81660, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129 #17 0x00007fc207c9b5c7 in QMenu::mouseReleaseEvent (this=this@entry=0x7ffeb314ccf0, e=e@entry=0x7ffeb314c480) at widgets/qmenu.cpp:2371 #18 0x00007fc208e028a3 in KMenu::mouseReleaseEvent (this=0x7ffeb314ccf0, e=0x7ffeb314c480) at ../../kdeui/widgets/kmenu.cpp:464 #19 0x00007fc207891340 in QWidget::event (this=this@entry=0x7ffeb314ccf0, event=event@entry=0x7ffeb314c480) at kernel/qwidget.cpp:8775 #20 0x00007fc207c9baab in QMenu::event (this=0x7ffeb314ccf0, e=0x7ffeb314c480) at widgets/qmenu.cpp:2480 #21 0x00007fc20783d3ac in QApplicationPrivate::notify_helper (this=0x1d4be70, receiver=0x7ffeb314ccf0, e=0x7ffeb314c480) at kernel/qapplication.cpp:4565 #22 0x00007fc2078443c6 in QApplication::notify (this=this@entry=0x7ffeb314dbd0, receiver=receiver@entry=0x7ffeb314ccf0, e=e@entry=0x7ffeb314c480) at kernel/qapplication.cpp:4108 #23 0x00007fc208d3805a in KApplication::notify (this=0x7ffeb314dbd0, receiver=0x7ffeb314ccf0, event=0x7ffeb314c480) at ../../kdeui/kernel/kapplication.cpp:311 #24 0x00007fc206ea0f1d in QCoreApplication::notifyInternal (this=0x7ffeb314dbd0, receiver=0x7ffeb314ccf0, event=0x7ffeb314c480) at kernel/qcoreapplication.cpp:953 #25 0x00007fc2078439cd in QApplicationPrivate::sendMouseEvent (receiver=0x7ffeb314ccf0, event=0x7ffeb314c480, alienWidget=0x0, nativeWidget=0x7ffeb314ccf0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231 #26 0x00007fc2078bc402 in QETWidget::translateMouseEvent (this=0x7ffeb314ccf0, event=<optimized out>) at kernel/qapplication_x11.cpp:4474 #27 0x00007fc2078ba3bd in QApplication::x11ProcessEvent (this=0x7ffeb314dbd0, event=event@entry=0x7ffeb314c7b0) at kernel/qapplication_x11.cpp:3663 #28 0x00007fc2078e3489 in x11EventSourceDispatch (s=0x1d41880, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #29 0x00007fc1ff086a8a in g_main_dispatch (context=0x1d43340) at gmain.c:3122 #30 g_main_context_dispatch (context=context@entry=0x1d43340) at gmain.c:3737 #31 0x00007fc1ff086e20 in g_main_context_iterate (context=context@entry=0x1d43340, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808 #32 0x00007fc1ff086ecc in g_main_context_iteration (context=0x1d43340, may_block=1) at gmain.c:3869 #33 0x00007fc206ed14ce in QEventDispatcherGlib::processEvents (this=0x1c88f60, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #34 0x00007fc2078e3626 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #35 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7ffeb314cba0, flags=...) at kernel/qeventloop.cpp:149 #36 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7ffeb314cba0, flags=...) at kernel/qeventloop.cpp:204 #37 0x00007fc207c9a597 in QMenu::exec (this=this@entry=0x7ffeb314ccf0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2124 #38 0x00007fc20ae050db in Sublime::IdealDockWidget::contextMenuRequested (this=0x6712a70, point=...) at ../../sublime/idealdockwidget.cpp:144 #39 0x00007fc206eb50c0 in QMetaObject::activate (sender=sender@entry=0x6712a70, m=m@entry=0x7fc20832d820 <QWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffeb314ce50) at kernel/qobject.cpp:3567 #40 0x00007fc2078830c2 in QWidget::customContextMenuRequested (this=this@entry=0x6712a70, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373 #41 0x00007fc2078920b8 in QWidget::event (this=this@entry=0x6712a70, event=event@entry=0x7ffeb314d060) at kernel/qwidget.cpp:8570 #42 0x00007fc207c43d73 in QDockWidget::event (this=0x6712a70, event=0x7ffeb314d060) at widgets/qdockwidget.cpp:1492 #43 0x00007fc20783d3ac in QApplicationPrivate::notify_helper (this=0x1d4be70, receiver=0x6712a70, e=0x7ffeb314d060) at kernel/qapplication.cpp:4565 #44 0x00007fc2078451fc in QApplication::notify (this=this@entry=0x7ffeb314dbd0, receiver=receiver@entry=0x5e741e0, e=e@entry=0x7ffeb314d300) at kernel/qapplication.cpp:4187 #45 0x00007fc208d3805a in KApplication::notify (this=0x7ffeb314dbd0, receiver=0x5e741e0, event=0x7ffeb314d300) at ../../kdeui/kernel/kapplication.cpp:311 #46 0x00007fc206ea0f1d in QCoreApplication::notifyInternal (this=0x7ffeb314dbd0, receiver=0x5e741e0, event=0x7ffeb314d300) at kernel/qcoreapplication.cpp:953 #47 0x00007fc2078bba82 in QETWidget::translateMouseEvent (this=0x6712a70, event=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:234 #48 0x00007fc2078ba3bd in QApplication::x11ProcessEvent (this=0x7ffeb314dbd0, event=event@entry=0x7ffeb314d630) at kernel/qapplication_x11.cpp:3663 #49 0x00007fc2078e3489 in x11EventSourceDispatch (s=0x1d41880, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #50 0x00007fc1ff086a8a in g_main_dispatch (context=0x1d43340) at gmain.c:3122 #51 g_main_context_dispatch (context=context@entry=0x1d43340) at gmain.c:3737 #52 0x00007fc1ff086e20 in g_main_context_iterate (context=context@entry=0x1d43340, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808 #53 0x00007fc1ff086ecc in g_main_context_iteration (context=0x1d43340, may_block=1) at gmain.c:3869 #54 0x00007fc206ed14ce in QEventDispatcherGlib::processEvents (this=0x1c88f60, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #55 0x00007fc2078e3626 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207 #56 0x00007fc206e9f791 in QEventLoop::processEvents (this=this@entry=0x7ffeb314da10, flags=...) at kernel/qeventloop.cpp:149 #57 0x00007fc206e9fb05 in QEventLoop::exec (this=this@entry=0x7ffeb314da10, flags=...) at kernel/qeventloop.cpp:204 #58 0x00007fc206ea56a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #59 0x00007fc20783bb3c in QApplication::exec () at kernel/qapplication.cpp:3823 #60 0x000000000041046c in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:582 Reported using DrKonqi
Can you reproduce this crash? What exactly were you doing to make this crash? It looks like a specific set of actions is required to trigger this.
Hi, I am also experiencing this crash. You can reproduce it with the following steps: 1. Run a unit test 2. Remove the "Run" toolview 3. Run the unit test again 4. KDevelop should crash in OutputView::changeTitle with this == 0x0 Here is my backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f318eb88280 (LWP 1825))] Thread 20 (Thread 0x7f3110978700 (LWP 1972)): -- trimmed -- #200 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #201 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #202 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #203 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #204 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #205 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 19 (Thread 0x7f30feffd700 (LWP 1966)): -- trimmed -- #92 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #93 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #94 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #95 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #96 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #97 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 18 (Thread 0x7f30ff7fe700 (LWP 1965)): -- trimmed -- #195 0x00007f314f925f97 in ?? () from /usr/lib/libclang.so.3.8 #196 0x00007f315cd19539 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /usr/lib/libLLVM-3.8.so #197 0x00007f315cd195c4 in ?? () from /usr/lib/libLLVM-3.8.so #198 0x00007f315cd8cc5d in ?? () from /usr/lib/libLLVM-3.8.so #199 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #200 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 17 (Thread 0x7f3130ff9700 (LWP 1927)): #0 0x00007f317bfaa044 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f317bf65500 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf65efb in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 16 (Thread 0x7f31317fa700 (LWP 1919)): #0 0x00007f31870236f1 in _int_free () from /usr/lib/libc.so.6 #1 0x00007f31508c0fcc in QList<KDevelop::Identifier>::node_destruct (this=<optimized out>, to=0x7f311c5e5280, from=0x7f311c5e5280) at /usr/include/qt/QtCore/qlist.h:490 #2 QList<KDevelop::Identifier>::dealloc (data=0x7f311c5e5270, this=<optimized out>) at /usr/include/qt/QtCore/qlist.h:861 #3 0x00007f31508c28c4 in QList<KDevelop::Identifier>::~QList (this=0x7f31317f6330, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qlist.h:823 #4 ClangHelpers::findDeclaration (cursor=..., includes=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:243 #5 0x00007f3150898049 in (anonymous namespace)::Visitor::findDeclaration (this=this@entry=0x7f31317f9530, cursor=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1215 #6 0x00007f3150898937 in (anonymous namespace)::Visitor::createType<(CXTypeKind)28> (this=0x7f31317f9530, type=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:513 #7 0x00007f3150899e50 in (anonymous namespace)::Visitor::dispatchType<(CXTypeKind)105> (cursor=..., type=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:324 #8 (anonymous namespace)::Visitor::makeType (this=this@entry=0x7f31317f9530, type=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1265 #9 0x00007f315089ba38 in (anonymous namespace)::Visitor::createType<(CXCursorKind)30> (this=0x7f31317f9530, cursor=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:635 #10 0x00007f31508b5303 in (anonymous namespace)::Visitor::createDeclaration<(CXCursorKind)9, KDevelop::ClassMemberDeclaration> (context=0x0, id=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:403 #11 (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)9, KDevelop::ClassMemberDeclaration, false> (cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1141 #12 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)9, (Decision)0, (Decision)1> (cursor=..., this=0x7f31317f9530, parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:898 #13 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)9> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:864 #14 (anonymous namespace)::visitCursor (cursor=..., parent=..., data=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1450 #15 0x00007f314f928145 in ?? () from /usr/lib/libclang.so.3.8 #16 0x00007f314f9290f4 in ?? () from /usr/lib/libclang.so.3.8 #17 0x00007f314f927b90 in ?? () from /usr/lib/libclang.so.3.8 #18 0x00007f314f930cc4 in clang_visitChildren () from /usr/lib/libclang.so.3.8 #19 0x00007f31508a90ff in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)4, KDevelop::ClassDeclaration, true> (cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1138 #20 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)0> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:898 #21 (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)2> (this=this@entry=0x7f31317f9530, cursor=..., parent=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:876 #22 0x00007f31508b2a45 in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4> (parent=..., cursor=..., this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:864 #23 (anonymous namespace)::visitCursor (cursor=..., parent=..., data=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1445 #24 0x00007f314f928145 in ?? () from /usr/lib/libclang.so.3.8 #25 0x00007f314f9290f4 in ?? () from /usr/lib/libclang.so.3.8 #26 0x00007f314f927db6 in ?? () from /usr/lib/libclang.so.3.8 #27 0x00007f314f930cc4 in clang_visitChildren () from /usr/lib/libclang.so.3.8 #28 0x00007f315089d752 in (anonymous namespace)::Visitor::Visitor (update=<optimized out>, includes=..., file=<optimized out>, tu=<optimized out>, this=0x7f31317f9530) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1369 #29 Builder::visit (tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /home/daniel/tmp/kdevelop/languages/clang/duchain/builder.cpp:1506 #30 0x00007f31508c3236 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:189 #31 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #32 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=features@entry=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #33 0x00007f31508c2dc0 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=<optimized out>, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x2a2d2c0, abortFunction=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/clanghelpers.cpp:121 #34 0x00007f3150b1fdf8 in ClangParseJob::run (this=0x4d0d5a0) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:320 #35 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #36 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #37 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #38 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #39 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #40 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #41 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 15 (Thread 0x7f31327fc700 (LWP 1917)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x462b820) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x462b820) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 14 (Thread 0x7f3132ffd700 (LWP 1916)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 13 (Thread 0x7f31337fe700 (LWP 1915)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 12 (Thread 0x7f3133fff700 (LWP 1914)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x4cb5b20) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x4cb5b20) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 11 (Thread 0x7f3144b02700 (LWP 1913)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 10 (Thread 0x7f3145303700 (LWP 1912)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 9 (Thread 0x7f3145b04700 (LWP 1911)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ac2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f3183cfd1c0 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #3 0x00007f3183d01978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5 #4 0x00007f3183cfc263 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/libKF5ThreadWeaver.so.5 #5 0x00007f3183cff1f9 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #6 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 8 (Thread 0x7f314c984700 (LWP 1910)): #0 0x00007f317e35c68d in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f315cd8cce0 in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) () from /usr/lib/libLLVM-3.8.so #2 0x00007f315cd19630 in llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) () from /usr/lib/libLLVM-3.8.so #3 0x00007f314f9239a5 in clang_parseTranslationUnit2FullArgv () from /usr/lib/libclang.so.3.8 #4 0x00007f314f923c4b in clang_parseTranslationUnit2 () from /usr/lib/libclang.so.3.8 #5 0x00007f31508de96b in ParseSessionData::ParseSessionData (this=<optimized out>, unsavedFiles=..., index=<optimized out>, environment=..., options=...) at /home/daniel/tmp/kdevelop/languages/clang/duchain/parsesession.cpp:254 #6 0x00007f3150b1c573 in ClangParseJob::createSessionData (this=this@entry=0x4a84690) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:376 #7 0x00007f3150b2020d in ClangParseJob::run (this=0x4a84690) at /home/daniel/tmp/kdevelop/languages/clang/clangparsejob.cpp:282 #8 0x00007f3183d00576 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #9 0x00007f3183d00b78 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #10 0x00007f3183cffa9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/libKF5ThreadWeaver.so.5 #11 0x00007f3183cff140 in ThreadWeaver::Thread::run() () from /usr/lib/libKF5ThreadWeaver.so.5 #12 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #13 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #14 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f3147fff700 (LWP 1836)): #0 0x00007f317bf65984 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #1 0x00007f317bf65f74 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f318dd78445 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f314f799700 (LWP 1830)): #0 0x00007f31870874ed in read () from /usr/lib/libc.so.6 #1 0x00007f317bfa8c80 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf65ab4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00007f317bf65f74 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00007f318526f7dc in KDevelop::CompletionWorkerThread::run (this=0x2a30ce0) at /home/daniel/tmp/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89 #9 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #10 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f315b72a700 (LWP 1829)): #0 0x00007f317e3614b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3187c9ab66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f318517dbe8 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x279f8f0) at /home/daniel/tmp/kdevplatform/language/duchain/duchain.cpp:282 #3 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f315c52e700 (LWP 1828)): #0 0x00007f317e36110f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f315f996393 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so #2 0x00007f315f995ad7 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so #3 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f316727b700 (LWP 1827)): #0 0x00007f318708b48d in poll () from /usr/lib/libc.so.6 #1 0x00007f317bf65fd6 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3187ec859b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3187c950f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f318ac13e75 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f316cd8e700 (LWP 1826)): #0 0x00007f318708b48d in poll () from /usr/lib/libc.so.6 #1 0x00007f317adb18e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f317adb3679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f316eccf469 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f3187c99d78 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f317e35b454 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f31870947df in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f318eb88280 (LWP 1825)): [KCrash Handler] #5 OutputWidget::setTitle (this=0x0, outputId=2, title=...) at /home/daniel/tmp/kdevplatform/plugins/standardoutputview/outputwidget.cpp:670 #6 0x00007f318d6369f7 in KDevelop::OutputJob::setTitle (this=0x4cd2600, title=...) at /home/daniel/tmp/kdevplatform/outputview/outputjob.cpp:110 #7 0x00007f311125332f in CTestRunJob::start (this=0x4cb7d60) at /home/daniel/tmp/kdevelop/projectmanagers/cmake/testing/ctestrunjob.cpp:134 #8 0x00007f318d406a78 in KDevelop::ExecuteCompositeJobPrivate::startNextJob (this=<optimized out>, job=0x4cb7d60) at /home/daniel/tmp/kdevplatform/util/executecompositejob.cpp:63 #9 0x00007f318e7cd0cb in KDevelop::RunController::registerJob (this=0x26c1350, job=<optimized out>) at /home/daniel/tmp/kdevplatform/shell/runcontroller.cpp:623 #10 0x00007f315aad7f85 in TestView::runSelectedTests (this=0x3a4d3a0) at /home/daniel/tmp/kdevplatform/plugins/testview/testview.cpp:312 #11 0x00007f3187e9f85e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #12 0x00007f3188d9bb15 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib/libQt5Widgets.so.5 #13 0x00007f3188d9f06e in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f3188de8adb in QTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #15 0x00007f3188b9af18 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #16 0x00007f3188c8262e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007f3188da8e03 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f3188de82ec in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f3187e739e1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #20 0x00007f3188b53e15 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f3188b5c46d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f3187e73c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007f3188b5ab1d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5 #24 0x00007f3188bb4fc0 in ?? () from /usr/lib/libQt5Widgets.so.5 #25 0x00007f3188bb7763 in ?? () from /usr/lib/libQt5Widgets.so.5 #26 0x00007f3188b53e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #27 0x00007f3188b5b5b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #28 0x00007f3187e73c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #29 0x00007f31883c20e3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #30 0x00007f31883c3c65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #31 0x00007f31883a1cbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #32 0x00007f316ed05310 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #33 0x00007f317bf65dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0x00007f317bf66040 in ?? () from /usr/lib/libglib-2.0.so.0 #35 0x00007f317bf660ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0x00007f3187ec857f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #37 0x00007f3187e720da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #38 0x00007f3187e7a5cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #39 0x000000000040b8f1 in main (argc=<optimized out>, argv=<optimized out>) at /home/daniel/tmp/kdevelop/app/main.cpp:745
Indeed, thanks for the instructions. The tool view does not seem to be removed from some list somewhere when clicking Remove, so it is still returned (instead of being re-added) on the second run. This also happens for the native app job and I guess all output jobs, they just don't crash but instead just don't show anything. I poked around for quite a while now, couldn't figure out how to fix it or what happens exactly. :/
The severity of the bug is somewhat reduced by the fact that it basically never makes sense to remove the Run view.
Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hi, I tried reproducing this bug, but was unable to. When removing the run toolview and re-running the test everything seems to work. I.e.: a second tab is added to the now hidden run toolview and reappears when re-adding the toolview again. I have set the resolution to WORKSFORME to reflect this.