https://bugs.kde.org/show_bug.cgi?id=368928

            Bug ID: 368928
           Summary: crash while quitting KDevelop with a debug session
                    still open
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: rjvber...@gmail.com

Application: kdevelop5 (5.0.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.24.0
Operating System: Linux 4.5.7-ck1-mainline-core2-rjvb x86_64
Distribution: Ubuntu 14.04.5 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I had been testing the debugging of a simple Qt5 application using the lldb
plugin and lldb-mi-3.9 .
When that session became unresponsive due to excessive memory usage by the
debugger I first hit the Stop All toolbar button, and then KDevelop's window
close button before the debug session (and view) had been closed completely.

- Unusual behaviour I noticed:

My whole plasma (4) desktop had come down except for KWin.

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

Thread 5 (Thread 0x7f8cd6bbf700 (LWP 15416)):
#0  0x00007f8cf4500fdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8ce7619b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8ce761b64f in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8cd9835ac9 in QXcbEventReader::run (this=0x1c67df0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1325
#4  0x00007f8cf4bafd29 in QThreadPrivate::start (arg=0x1c67df0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#5  0x00007f8cee2bb184 in start_thread (arg=0x7f8cd6bbf700) at
pthread_create.c:312
#6  0x00007f8cf450e37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f8cd56c6700 (LWP 15417)):
#0  0x00007f8ced47761a in g_mutex_get_impl (mutex=0x7f8cc8000990) at
/build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:120
#1  0x00007f8ced4779a9 in g_mutex_unlock (mutex=mutex@entry=0x7f8cc8000990) at
/build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:228
#2  0x00007f8ced435ef6 in g_main_context_iterate
(context=context@entry=0x7f8cc8000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3712
#3  0x00007f8ced4360ec in g_main_context_iteration (context=0x7f8cc8000990,
may_block=may_block@entry=1) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0x00007f8cf4dcb6fb in QEventDispatcherGlib::processEvents
(this=0x7f8cc80008c0, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f8cf4d7562a in QEventLoop::exec (this=this@entry=0x7f8cd56c5e20,
flags=..., flags@entry=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f8cf4bab01b in QThread::exec (this=this@entry=0x7f8cf6bb2420
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread.cpp:500
#7  0x00007f8cf6941615 in QDBusConnectionManager::run (this=0x7f8cf6bb2420
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/dbus/qdbusconnection.cpp:189
#8  0x00007f8cf4bafd29 in QThreadPrivate::start (arg=0x7f8cf6bb2420 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#9  0x00007f8cee2bb184 in start_thread (arg=0x7f8cd56c6700) at
pthread_create.c:312
#10 0x00007f8cf450e37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8cc4926700 (LWP 15422)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f8cf4bb0a66 in wait_relative (time=1000, this=0x25a1310) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:126
#2  wait (time=1000, this=0x25a1310) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x259e808,
mutex=mutex@entry=0x259e810, time=time@entry=1000) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
#4  0x00007f8cf26736c8 in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x259e7f0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/language/duchain/duchain.cpp:282
#5  0x00007f8cf4bafd29 in QThreadPrivate::start (arg=0x259e7f0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#6  0x00007f8cee2bb184 in start_thread (arg=0x7f8cc4926700) at
pthread_create.c:312
#7  0x00007f8cf450e37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8ca6396700 (LWP 15911)):
#0  0x00007f8cf4500fdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8ced435fe4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f8c74332560, timeout=-1, context=0x7f8c745b6b60) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f8c745b6b60,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729
#3  0x00007f8ced4360ec in g_main_context_iteration (context=0x7f8c745b6b60,
may_block=may_block@entry=1) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0x00007f8cf4dcb6fb in QEventDispatcherGlib::processEvents
(this=0x7f8c740354d0, flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f8cf4d7562a in QEventLoop::exec (this=this@entry=0x7f8ca6395e50,
flags=..., flags@entry=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f8cf4bab01b in QThread::exec (this=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread.cpp:500
#7  0x00007f8cf4bafd29 in QThreadPrivate::start (arg=0x7f8ce90ad828
<KDevelop::(anonymous
namespace)::Q_QGS_s_parsingThread::innerFunction()::holder+8>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/thread/qthread_unix.cpp:341
#8  0x00007f8cee2bb184 in start_thread (arg=0x7f8ca6396700) at
pthread_create.c:312
#9  0x00007f8cf450e37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8cf779e780 (LWP 15415)):
[KCrash Handler]
#6  0x0000000000002700 in ?? ()
#7  0x00007f8cbf92fde4 in ~DebugSession (this=0x82315a0, __in_chrg=<optimized
out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevelop5/kf5-kdevelop-devel/work/kf5-kdevelop-5/debuggers/lldb/debugsession.cpp:120
#8  KDevMI::LLDB::DebugSession::~DebugSession (this=0x82315a0,
__in_chrg=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevelop5/kf5-kdevelop-devel/work/kf5-kdevelop-5/debuggers/lldb/debugsession.cpp:121
#9  0x00007f8cf4da50c8 in QObject::event (this=0x82315a0, e=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qobject.cpp:1247
#10 0x00007f8cf5b31a1c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x82315a0, e=0x2440050) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:3804
#11 0x00007f8cf5b36aef in QApplication::notify (this=0x7fff35a49440,
receiver=0x82315a0, e=0x2440050) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:3561
#12 0x00007f8cf4d77768 in QCoreApplication::notifyInternal2
(receiver=0x82315a0, event=event@entry=0x2440050) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1020
#13 0x00007f8cf4d795ec in sendEvent (event=0x2440050, receiver=<optimized out>)
at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.h:225
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x1c42e70) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1655
#15 0x00007f8cf4d79aa8 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1513
#16 0x00007f8cf4dcb2d3 in postEventSourceDispatch (s=0x1c84190) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:270
#17 0x00007f8ced435e04 in g_main_dispatch (context=0x7f8cd0003000) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#18 g_main_context_dispatch (context=context@entry=0x7f8cd0003000) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#19 0x00007f8ced436048 in g_main_context_iterate
(context=context@entry=0x7f8cd0003000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#20 0x00007f8ced4360ec in g_main_context_iteration (context=0x7f8cd0003000,
may_block=may_block@entry=1) at
/build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#21 0x00007f8cf4dcb6df in QEventDispatcherGlib::processEvents (this=0x1c8e9d0,
flags=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#22 0x00007f8cf4d7562a in QEventLoop::exec (this=this@entry=0x7fff35a49210,
flags=..., flags@entry=...) at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qeventloop.cpp:204
#23 0x00007f8cf4d7da3d in QCoreApplication::exec () at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1290
#24 0x00007f8cf52df8dc in QGuiApplication::exec () at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/gui/kernel/qguiapplication.cpp:1611
#25 0x00007f8cf5b2ecb5 in QApplication::exec () at
/opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.6.1/qtbase/src/widgets/kernel/qapplication.cpp:2979
#26 0x000000000040b9aa in main (argc=<optimized out>, argv=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevelop5/kf5-kdevelop-devel/work/kf5-kdevelop-5/app/main.cpp:893

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to