Summary: | Crash on Debug button | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Aleksey Midenkov <midenok+kdebugs> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | justin.zobel, kdebug |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.6.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Aleksey Midenkov
2014-05-29 14:49:07 UTC
Did you disable/unload the GDB plugin in KDevelop settings before switching to "Debug" mode? That's the only possible scenario I can imagine causing this crash. Nevertheless, it shouldn't segfault in this case, of course. This was reproduced on GDB plugin *disabled*! I didn't enable it since I didn't know the existence of it. It was disabled by default. Reproduced. It is possible to trigger this bug on KDevelop 4.7.0 Steps to reproduce: 1. Start KDevelop with enabled GDB plugin 2. Disable GDB plugin 3 Press debug button Backtrace: Program received signal SIGSEGV, Segmentation fault. indexOfMethodRelative<8> (normalizeStringData=<optimized out>, method=0x7fff2b397092 "controllerMessage(QString,int)", baseObject=0x7fffffffc6f8) at kernel/qmetaobject.cpp:525 525 ? (priv(m->d.data)->signalCount - 1) : (priv(m->d.data)->methodCount - 1); Thread 13 (Thread 0x7fff2d9ce700 (LWP 15228)): #0 0x00007ffff448289f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff4db29a6 in wait (time=18446744073709551615, this=0x968420) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x46a0e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fffec24986c in ?? () from /usr/lib64/libthreadweaver.so.4 #4 0x00007fffec24c2d3 in ?? () from /usr/lib64/libthreadweaver.so.4 #5 0x00007fffec24afff in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #6 0x00007ffff4db24af in QThreadPrivate::start (arg=0x42952b0) at thread/qthread_unix.cpp:349 #7 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff477884d in clone () from /lib64/libc.so.6 #9 0x0000000000000000 in ?? () Thread 12 (Thread 0x7fff2e1cf700 (LWP 15227)): #0 0x00007ffff476f98d in poll () from /lib64/libc.so.6 #1 0x00007fffeefc6b64 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fffeefc6c6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff4ee144c in QEventDispatcherGlib::processEvents (this=0x7fff0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #4 0x00007ffff4eb2e7f in QEventLoop::processEvents (this=this@entry=0x7fff2e1cece0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007ffff4eb3175 in QEventLoop::exec (this=this@entry=0x7fff2e1cece0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007ffff4dafdbf in QThread::exec (this=this@entry=0xb6d820) at thread/qthread.cpp:538 #7 0x00007ffff4e948d3 in QInotifyFileSystemWatcherEngine::run (this=0xb6d820) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007ffff4db24af in QThreadPrivate::start (arg=0xb6d820) at thread/qthread_unix.cpp:349 #9 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #10 0x00007ffff477884d in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () Thread 11 (Thread 0x7fff2e9d0700 (LWP 15226)): #0 0x00007ffff448289f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff4db29a6 in wait (time=18446744073709551615, this=0xf59df0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0xf59f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fffec24986c in ?? () from /usr/lib64/libthreadweaver.so.4 #4 0x00007fffec24c2d3 in ?? () from /usr/lib64/libthreadweaver.so.4 #5 0x00007fffec24c2ec in ?? () from /usr/lib64/libthreadweaver.so.4 #6 0x00007fffec24afff in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #7 0x00007ffff4db24af in QThreadPrivate::start (arg=0x7fff14013aa0) at thread/qthread_unix.cpp:349 #8 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff477884d in clone () from /lib64/libc.so.6 #10 0x0000000000000000 in ?? () Thread 10 (Thread 0x7fff2320a700 (LWP 15225)): #0 0x00007ffff448289f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff4db29a6 in wait (time=18446744073709551615, this=0xf59df0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0xf59f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007fffec24986c in ?? () from /usr/lib64/libthreadweaver.so.4 #4 0x00007fffec24c2d3 in ?? () from /usr/lib64/libthreadweaver.so.4 #5 0x00007fffec24afff in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4 #6 0x00007ffff4db24af in QThreadPrivate::start (arg=0x3dfe510) at thread/qthread_unix.cpp:349 #7 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff477884d in clone () from /lib64/libc.so.6 #9 0x0000000000000000 in ?? () Thread 9 (Thread 0x7fff23a0b700 (LWP 15216)): #0 0x00007ffff476f98d in poll () from /lib64/libc.so.6 #1 0x00007fffeefc6b64 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fffeefc6c6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff4ee146e in QEventDispatcherGlib::processEvents (this=0x7fff1c013070, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007ffff4eb2e7f in QEventLoop::processEvents (this=this@entry=0x7fff23a0ace0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007ffff4eb3175 in QEventLoop::exec (this=this@entry=0x7fff23a0ace0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007ffff4dafdbf in QThread::exec (this=this@entry=0x49d9b00) at thread/qthread.cpp:538 #7 0x00007ffff4e948d3 in QInotifyFileSystemWatcherEngine::run (this=0x49d9b00) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007ffff4db24af in QThreadPrivate::start (arg=0x49d9b00) at thread/qthread_unix.cpp:349 #9 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #10 0x00007ffff477884d in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fff35bbf700 (LWP 15186)): #0 0x00007ffff476f98d in poll () from /lib64/libc.so.6 #1 0x00007fffeefc6b64 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fffeefc6c6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff4ee146e in QEventDispatcherGlib::processEvents (this=0x7fff300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007ffff4eb2e7f in QEventLoop::processEvents (this=this@entry=0x7fff35bbed20, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007ffff4eb3175 in QEventLoop::exec (this=this@entry=0x7fff35bbed20, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007ffff4dafdbf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #7 0x00007ffff4db24af in QThreadPrivate::start (arg=0x2fd35d0) at thread/qthread_unix.cpp:349 #8 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff477884d in clone () from /lib64/libc.so.6 #10 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fff47b7d700 (LWP 15180)): #0 0x00007ffff47717b3 in select () from /lib64/libc.so.6 #1 0x00007ffff4e9120f in QProcessManager::run (this=0x7ffff521a2c0 <processManager()::processManager>) at io/qprocess_unix.cpp:270 #2 0x00007ffff4db24af in QThreadPrivate::start (arg=0x7ffff521a2c0 <processManager()::processManager>) at thread/qthread_unix.cpp:349 #3 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #4 0x00007ffff477884d in clone () from /lib64/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fff4837e700 (LWP 15179)): #0 0x00007ffff476f98d in poll () from /lib64/libc.so.6 #1 0x00007fffeefc6b64 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fffeefc6c6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff4ee144c in QEventDispatcherGlib::processEvents (this=0x7fff400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #4 0x00007ffff4eb2e7f in QEventLoop::processEvents (this=this@entry=0x7fff4837dd20, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007ffff4eb3175 in QEventLoop::exec (this=this@entry=0x7fff4837dd20, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007ffff4dafdbf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #7 0x00007ffff4db24af in QThreadPrivate::start (arg=0x2d643c8) at thread/qthread_unix.cpp:349 #8 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff477884d in clone () from /lib64/libc.so.6 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fff54caf700 (LWP 15178)): #0 0x00007ffff4482c48 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff4db2984 in wait (time=1000, this=0x106a5f0) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=this@entry=0xe8b298, mutex=mutex@entry=0xe8b2a0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ffff1bfcdb8 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xe8b280) at /usr/src/debug/kdevplatform-1.7.0/language/duchain/duchain.cpp:283 #4 0x00007ffff4db24af in QThreadPrivate::start (arg=0xe8b280) at thread/qthread_unix.cpp:349 #5 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff477884d in clone () from /lib64/libc.so.6 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fffd6155700 (LWP 15177)): #0 0x00007ffff448289f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff11b354b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ffff14b0a80 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007ffff11b3589 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007ffff447e3bd in start_thread () from /lib64/libpthread.so.0 #4 0x00007ffff477884d in clone () from /lib64/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7f4a8c0 (LWP 15173)): #0 indexOfMethodRelative<8> (normalizeStringData=<optimized out>, method=0x7fff2b397092 "controllerMessage(QString,int)", baseObject=0x7fffffffc6f8) at kernel/qmetaobject.cpp:525 #1 QMetaObjectPrivate::indexOfSlotRelative (m=m@entry=0x7fffffffc6f8, slot=slot@entry=0x7fff2b397092 "controllerMessage(QString,int)", normalizeStringData=normalizeStringData@entry=false) at kernel/qmetaobject.cpp:665 #2 0x00007ffff4ec943d in QObject::connect (sender=sender@entry=0xe25950, signal=0x7fff2b3970b2 "showMessage(QString,int)", signal@entry=0x7fff2b3970b1 "2showMessage(QString,int)", receiver=receiver@entry=0x59824f0, method=0x7fff2b397092 "controllerMessage(QString,int)", method@entry=0x7fff2b397091 "1controllerMessage(QString,int)", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2625 #3 0x00007fff2b3648b2 in connect (atype=Qt::AutoConnection, amember=0x7fff2b397091 "1controllerMessage(QString,int)", asignal=0x7fff2b3970b1 "2showMessage(QString,int)", asender=0xe25950, this=0x59824f0) at /usr/include/qt4/QtCore/qobject.h:339 #4 GDBDebugger::CppDebuggerPlugin::createSession (this=this@entry=0x59824f0) at /usr/src/debug/kdevelop-4.7.0/debuggers/gdb/debuggerplugin.cpp:347 #5 0x00007fff2b383b03 in GDBDebugger::DebugJob::DebugJob (this=0x55b45d0, p=0x59824f0, launchcfg=0xc490c0, execute=<optimized out>, parent=<optimized out>) at /usr/src/debug/kdevelop-4.7.0/debuggers/gdb/debugjob.cpp:46 #6 0x00007fff2b382291 in GdbLauncher::start (this=0x6298d70, launchMode=..., cfg=0xc490c0) at /usr/src/debug/kdevelop-4.7.0/debuggers/gdb/gdblaunchconfig.cpp:157 #7 0x00007ffff74729b2 in KDevelop::RunController::execute (this=this@entry=0xf10400, runMode=..., launch=<optimized out>) at /usr/src/debug/kdevplatform-1.7.0/shell/runcontroller.cpp:406 #8 0x00007ffff7472f51 in KDevelop::RunController::executeDefaultLaunch (this=this@entry=0xf10400, runMode=...) at /usr/src/debug/kdevplatform-1.7.0/shell/runcontroller.cpp:835 #9 0x00007ffff747074a in KDevelop::RunController::slotDebug (this=0xf10400) at /usr/src/debug/kdevplatform-1.7.0/shell/runcontroller.cpp:520 #10 0x00007ffff7473682 in KDevelop::RunController::qt_static_metacall (_o=0x7fffffffc6f8, _c=725184658, _id=1, _a=0x9) at /usr/src/debug/kdevplatform-1.7.0/build/shell/runcontroller.moc:77 #11 0x00007ffff4ec7fce in QMetaObject::activate (sender=sender@entry=0xbc3220, m=m@entry=0x7ffff5e7df80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffcbd0) at kernel/qobject.cpp:3577 #12 0x00007ffff53d9332 in QAction::triggered (this=this@entry=0xbc3220, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #13 0x00007ffff53dace3 in QAction::activate (this=0xbc3220, event=<optimized out>) at kernel/qaction.cpp:1257 #14 0x00007ffff578cba2 in QAbstractButtonPrivate::click (this=this@entry=0x1007110) at widgets/qabstractbutton.cpp:530 #15 0x00007ffff578cccc in QAbstractButton::mouseReleaseEvent (this=0x1002710, e=0x7fffffffd0d0) at widgets/qabstractbutton.cpp:1123 #16 0x00007ffff5843b4a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723 #17 0x00007ffff542e996 in QWidget::event (this=0x1002710, event=0x7fffffffd0d0) at kernel/qwidget.cpp:8389 #18 0x00007ffff53df47c in QApplicationPrivate::notify_helper (this=this@entry=0x6e5460, receiver=receiver@entry=0x1002710, e=e@entry=0x7fffffffd0d0) at kernel/qapplication.cpp:4565 #19 0x00007ffff53e5b4a in QApplication::notify (this=<optimized out>, receiver=0x1002710, e=0x7fffffffd0d0) at kernel/qapplication.cpp:4108 #20 0x00007ffff637836a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #21 0x00007ffff4eb429d in QCoreApplication::notifyInternal (this=0x7fffffffd970, receiver=receiver@entry=0x1002710, event=event@entry=0x7fffffffd0d0) at kernel/qcoreapplication.cpp:953 #22 0x00007ffff53e5343 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #23 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1002710, event=event@entry=0x7fffffffd0d0, alienWidget=alienWidget@entry=0x1002710, nativeWidget=nativeWidget@entry=0xfe21b0, buttonDown=buttonDown@entry=0x7ffff5eb8cf8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173 #24 0x00007ffff545652b in QETWidget::translateMouseEvent (this=this@entry=0xfe21b0, event=event@entry=0x7fffffffd440) at kernel/qapplication_x11.cpp:4519 #25 0x00007ffff5454f9c in QApplication::x11ProcessEvent (this=<optimized out>, event=event@entry=0x7fffffffd440) at kernel/qapplication_x11.cpp:3642 #26 0x00007ffff547bf82 in x11EventSourceDispatch (s=0x6e3de0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #27 0x00007fffeefc68aa in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #28 0x00007fffeefc6bc8 in ?? () from /usr/lib64/libglib-2.0.so.0 #29 0x00007fffeefc6c6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #30 0x00007ffff4ee144c in QEventDispatcherGlib::processEvents (this=0x6e3cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #31 0x00007ffff547c036 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #32 0x00007ffff4eb2e7f in QEventLoop::processEvents (this=this@entry=0x7fffffffd810, flags=...) at kernel/qeventloop.cpp:149 #33 0x00007ffff4eb3175 in QEventLoop::exec (this=this@entry=0x7fffffffd810, flags=...) at kernel/qeventloop.cpp:204 #34 0x00007ffff4eb83fd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #35 0x00007ffff53ddc4c in QApplication::exec () at kernel/qapplication.cpp:3823 #36 0x000000000040e2da in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.7.0/app/main.cpp:564 What is the status of this bug? Is it reproduced in 5.0? 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. Status correction. 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! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone! |