Bug 340844

Summary: Crash when toggling a breakpoint
Product: [Applications] kdevelop Reporter: Ronald Ammann <ronald.ammann>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel
Priority: NOR Keywords: drkonqi
Version First Reported In: 4.7.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ronald Ammann 2014-11-11 09:34:39 UTC
Application: kdevelop (4.7.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-24-generic x86_64
Distribution: Ubuntu 14.10

-- Information about the crash:
Toggle a breakpoint while the debugger is running sometimes crashes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f09ee2568c0 (LWP 24060))]

Thread 10 (Thread 0x7f09d00af700 (LWP 24063)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09e70f8c8a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f09e70f8cb9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f09e9d150a5 in start_thread (arg=0x7f09d00af700) at pthread_create.c:309
#4  0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f09cec57700 (LWP 24070)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f09eb010872 in wait (time=1000, this=0x29c0c10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x29c98c0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f09e7b5f1b2 in ?? () from /usr/lib/libkdevplatformlanguage.so.8
#4  0x00007f09eb01039f in QThreadPrivate::start (arg=0x29c98a0) at thread/qthread_unix.cpp:349
#5  0x00007f09e9d150a5 in start_thread (arg=0x7f09cec57700) at pthread_create.c:309
#6  0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f09471c1700 (LWP 24072)):
#0  0x00007f09ea9b139d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f09e4ab0ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09eb13e04e in QEventDispatcherGlib::processEvents (this=0x7f093c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7f09471c0d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7f09471c0d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f09eb00dc39 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f09eb01039f in QThreadPrivate::start (arg=0x3ceba68) at thread/qthread_unix.cpp:349
#8  0x00007f09e9d150a5 in start_thread (arg=0x7f09471c1700) at pthread_create.c:309
#9  0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f0932826700 (LWP 24080)):
#0  0x00007f09ea9ad0ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f09dbe75f45 in ?? () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.46
#2  0x00007f09e4af3ed0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09e4ab096c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f09e4ab0e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f09eb13e04e in QEventDispatcherGlib::processEvents (this=0x7f092c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7f0932825d20, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7f0932825d20, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f09eb00dc39 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#10 0x00007f09eb01039f in QThreadPrivate::start (arg=0x3ff55c0) at thread/qthread_unix.cpp:349
#11 0x00007f09e9d150a5 in start_thread (arg=0x7f0932826700) at pthread_create.c:309
#12 0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f09202e3700 (LWP 24096)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f09e9d17585 in _L_lock_958 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f09e9d173e7 in __GI___pthread_mutex_lock (mutex=0x7f09dd312880) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007f09dd08ed20 in ?? () from /usr/lib/nvidia-340/libGL.so.1
#4  0x00007f09dd09223e in ?? () from /usr/lib/nvidia-340/libGL.so.1
#5  0x00007f09dd092698 in ?? () from /usr/lib/nvidia-340/libGL.so.1
#6  0x00007f09dbe75fd1 in ?? () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.46
#7  0x00007f09e4af3ed0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f09e4ab096c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f09e4ab0e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f09eb13e04e in QEventDispatcherGlib::processEvents (this=0x7f09180e4fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7f09202e2ce0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7f09202e2ce0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f09eb00dc39 in QThread::exec (this=this@entry=0x6c5abd0) at thread/qthread.cpp:538
#15 0x00007f09eb0f1033 in QInotifyFileSystemWatcherEngine::run (this=0x6c5abd0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f09eb01039f in QThreadPrivate::start (arg=0x6c5abd0) at thread/qthread_unix.cpp:349
#17 0x00007f09e9d150a5 in start_thread (arg=0x7f09202e3700) at pthread_create.c:309
#18 0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f091fae2700 (LWP 24106)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09eb010894 in wait (time=18446744073709551615, this=0x1db7400) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db72d8, mutex=0x1db7580, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f09e2cebe9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db72b0, th=0x60a4b40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f09e2ceed73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1db7610, th=0x60a4b40, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f09e2ceed8c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1db7610, th=0x60a4b40, previous=0xaca2740) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f09e2ced85f in ThreadWeaver::Thread::run (this=0x60a4b40) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f09eb01039f in QThreadPrivate::start (arg=0x60a4b40) at thread/qthread_unix.cpp:349
#8  0x00007f09e9d150a5 in start_thread (arg=0x7f091fae2700) at pthread_create.c:309
#9  0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f092b576700 (LWP 24107)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f09eb010894 in wait (time=18446744073709551615, this=0x1db7400) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db72d8, mutex=0x1db7580, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f09e2cebe9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db72b0, th=0x7f0910060ac0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f09e2ceed73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1db7610, th=0x7f0910060ac0, previous=0xadddeb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f09e2ced85f in ThreadWeaver::Thread::run (this=0x7f0910060ac0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f09eb01039f in QThreadPrivate::start (arg=0x7f0910060ac0) at thread/qthread_unix.cpp:349
#7  0x00007f09e9d150a5 in start_thread (arg=0x7f092b576700) at pthread_create.c:309
#8  0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f092ad75700 (LWP 24120)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f09e9d17585 in _L_lock_958 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f09e9d173e7 in __GI___pthread_mutex_lock (mutex=0x7f09dd312880) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007f09dd08ed20 in ?? () from /usr/lib/nvidia-340/libGL.so.1
#4  0x00007f09dd09223e in ?? () from /usr/lib/nvidia-340/libGL.so.1
#5  0x00007f09dd09263b in ?? () from /usr/lib/nvidia-340/libGL.so.1
#6  0x00007f09dbe75fc0 in ?? () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.46
#7  0x00007f09e4af3ed0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f09e4ab096c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f09e4ab0e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f09eb13e04e in QEventDispatcherGlib::processEvents (this=0x7f09080008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7f092ad74ce0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7f092ad74ce0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f09eb00dc39 in QThread::exec (this=this@entry=0x6197e80) at thread/qthread.cpp:538
#15 0x00007f09eb0f1033 in QInotifyFileSystemWatcherEngine::run (this=0x6197e80) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f09eb01039f in QThreadPrivate::start (arg=0x6197e80) at thread/qthread_unix.cpp:349
#17 0x00007f09e9d150a5 in start_thread (arg=0x7f092ad75700) at pthread_create.c:309
#18 0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f092a574700 (LWP 24148)):
#0  0x00007f09ea9b139d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f09e4ab0ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09eb13e04e in QEventDispatcherGlib::processEvents (this=0x7f090c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7f092a573ce0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7f092a573ce0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f09eb00dc39 in QThread::exec (this=this@entry=0x1a7e000) at thread/qthread.cpp:538
#7  0x00007f09eb0f1033 in QInotifyFileSystemWatcherEngine::run (this=0x1a7e000) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f09eb01039f in QThreadPrivate::start (arg=0x1a7e000) at thread/qthread_unix.cpp:349
#9  0x00007f09e9d150a5 in start_thread (arg=0x7f092a574700) at pthread_create.c:309
#10 0x00007f09ea9bb84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f09ee2568c0 (LWP 24060)):
[KCrash Handler]
#6  0x00007f0945d323d3 in GDBDebugger::GDB::processLine (this=this@entry=0xb94d2a0, line=...) at ../../../debuggers/gdb/gdb.cpp:283
#7  0x00007f0945d333d7 in GDBDebugger::GDB::readyReadStandardOutput (this=0xb94d2a0) at ../../../debuggers/gdb/gdb.cpp:189
#8  0x00007f0945d2ed55 in GDBDebugger::GDB::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_gdb.cpp:87
#9  0x00007f09eb124a7a in QMetaObject::activate (sender=sender@entry=0xbb90820, m=m@entry=0x7f09eb471240 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#10 0x00007f09eb0a4033 in QProcess::readyReadStandardOutput (this=this@entry=0xbb90820) at .moc/release-shared/moc_qprocess.cpp:175
#11 0x00007f09eb0a4b4a in QProcessPrivate::_q_canReadStandardOutput (this=0x6fdab00) at io/qprocess.cpp:936
#12 0x00007f09eb0a7319 in QProcess::qt_static_metacall (_o=0xaeb05e0, _id=115128000, _a=0xbc808d2, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:83
#13 0x00007f09eb124a7a in QMetaObject::activate (sender=sender@entry=0x71d37d0, m=m@entry=0x7f09eb474bc0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffe9d12c50) at kernel/qobject.cpp:3567
#14 0x00007f09eb16f02e in QSocketNotifier::activated (this=this@entry=0x71d37d0, _t1=138) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#15 0x00007f09eb12d76b in QSocketNotifier::event (this=0x71d37d0, e=0x7fffe9d12ec0) at kernel/qsocketnotifier.cpp:316
#16 0x00007f09eb64011c in QApplicationPrivate::notify_helper (this=this@entry=0x1544820, receiver=receiver@entry=0x71d37d0, e=e@entry=0x7fffe9d12ec0) at kernel/qapplication.cpp:4570
#17 0x00007f09eb646870 in QApplication::notify (this=this@entry=0x7fffe9d132b0, receiver=receiver@entry=0x71d37d0, e=e@entry=0x7fffe9d12ec0) at kernel/qapplication.cpp:4356
#18 0x00007f09ec5e44da in KApplication::notify (this=0x7fffe9d132b0, receiver=0x71d37d0, event=0x7fffe9d12ec0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f09eb11086d in QCoreApplication::notifyInternal (this=0x7fffe9d132b0, receiver=0x71d37d0, event=event@entry=0x7fffe9d12ec0) at kernel/qcoreapplication.cpp:953
#20 0x00007f09eb13e61c in sendEvent (event=0x7fffe9d12ec0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 socketNotifierSourceDispatch (source=0x1531b50) at kernel/qeventdispatcher_glib.cpp:117
#22 0x00007f09e4ab0c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f09e4ab0f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f09e4ab0ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f09eb13e031 in QEventDispatcherGlib::processEvents (this=0x1479e70, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#26 0x00007f09eb6e34e6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f09eb10f4f1 in QEventLoop::processEvents (this=this@entry=0x7fffe9d13110, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f09eb10f805 in QEventLoop::exec (this=this@entry=0x7fffe9d13110, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f09eb114f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#30 0x00007f09eb63e4dc in QApplication::exec () at kernel/qapplication.cpp:3828
#31 0x000000000041035c in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:564

Possible duplicates by query: bug 333680.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-31 04:00:34 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Ronald Ammann 2018-10-31 10:22:18 UTC
Works for me.
Comment 3 Andrew Crouthamel 2018-10-31 14:41:08 UTC
Thanks for the update!