Bug 338431 - KDevelop crahses on close after some delay
Summary: KDevelop crahses on close after some delay
Status: RESOLVED DUPLICATE of bug 289056
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 08:56 UTC by Dmitry Veltishev
Modified: 2014-08-21 09:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
crash information from bugreport assistant (15.66 KB, text/plain)
2014-08-21 08:56 UTC, Dmitry Veltishev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Veltishev 2014-08-21 08:56:09 UTC
Created attachment 88345 [details]
crash information from bugreport assistant

KDevelop crashed on close.
(I was not able to submit bug automatically, because KDE bug reporter was not able to login via proxy).

I'm noticing this issue at least second time.

1) I've closed KDevelop by Ctrl+Q shortcut;
2) Main window disappears (instantly), but kdevelop process remains
3) Then some seconds passed (10-20 seconds or so), and then I saw crash message.

Backtrace was considered useful:

Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff31d4b0800 (LWP 3737))]

Thread 13 (Thread 0x7ff301044700 (LWP 3829)):
#0  0x00007ff319d8403d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff314148fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff30104c1ad in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ff31416df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff3190ed182 in start_thread (arg=0x7ff301044700) at pthread_create.c:312
#6  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 12 (Thread 0x7ff300843700 (LWP 3830)):
#0  0x00007ff3190ef569 in __GI___pthread_mutex_lock (mutex=0x7ff2fc010780) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007ff31418a991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff314148ed5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff31414930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff305414e16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007ff31416df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff3190ed182 in start_thread (arg=0x7ff300843700) at pthread_create.c:312
#7  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7ff2f3fff700 (LWP 3833)):
#0  0x00007ff319d8403d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff314148fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff314149129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff31416df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff3190ed182 in start_thread (arg=0x7ff2f3fff700) at pthread_create.c:312
#6  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7ff2f37fe700 (LWP 3868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff316524ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007ff316525039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ff3190ed182 in start_thread (arg=0x7ff2f37fe700) at pthread_create.c:312
#4  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7ff260f6e700 (LWP 3961)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ff31b08e7f4 in wait (time=1000, this=0x20bb8b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x20bb7d8, mutex=mutex@entry=0x20bb7e0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff3171b7e42 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x20bb7c0) at ../../language/duchain/duchain.cpp:285
#4  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x20bb7c0) at thread/qthread_unix.cpp:349
#5  0x00007ff3190ed182 in start_thread (arg=0x7ff260f6e700) at pthread_create.c:312
#6  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7ff255331700 (LWP 3991)):
#0  0x00007ff31418a62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff31418a9b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff314148f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff31b1bd7be in QEventDispatcherGlib::processEvents (this=0x7ff2500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007ff31b18f0af in QEventLoop::processEvents (this=this@entry=0x7ff255330de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff31b18f3a5 in QEventLoop::exec (this=this@entry=0x7ff255330de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff31b08bc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x2971508) at thread/qthread_unix.cpp:349
#9  0x00007ff3190ed182 in start_thread (arg=0x7ff255331700) at pthread_create.c:312
#10 0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7ff22fea0700 (LWP 4026)):
#0  __GI___pthread_mutex_lock (mutex=0x7ff220000a60) at ../nptl/pthread_mutex_lock.c:158
#1  0x00007ff31418a991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff314148ed5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff31b1bd7be in QEventDispatcherGlib::processEvents (this=0x7ff2200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007ff31b18f0af in QEventLoop::processEvents (this=this@entry=0x7ff22fe9fda0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff31b18f3a5 in QEventLoop::exec (this=this@entry=0x7ff22fe9fda0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff31b08bc5f in QThread::exec (this=this@entry=0x4a12610) at thread/qthread.cpp:537
#8  0x00007ff31b170823 in QInotifyFileSystemWatcherEngine::run (this=0x4a12610) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x4a12610) at thread/qthread_unix.cpp:349
#10 0x00007ff3190ed182 in start_thread (arg=0x7ff22fea0700) at pthread_create.c:312
#11 0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7ff2306a1700 (LWP 4033)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff31b08e816 in wait (time=18446744073709551615, this=0x1235350) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1235228, mutex=0x12354d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff311c40e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1235200, th=0x4b02800) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007ff311c43903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1235560, th=0x4b02800, previous=0x64d82d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007ff311c4261f in ThreadWeaver::Thread::run (this=0x4b02800) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x4b02800) at thread/qthread_unix.cpp:349
#7  0x00007ff3190ed182 in start_thread (arg=0x7ff2306a1700) at pthread_create.c:312
#8  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7ff2f2ffd700 (LWP 4034)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff31b08e816 in wait (time=18446744073709551615, this=0x1235350) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1235228, mutex=0x12354d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff311c40e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1235200, th=0x7ff2281c1e00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007ff311c43903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1235560, th=0x7ff2281c1e00, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007ff311c4391c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1235560, th=0x7ff2281c1e00, previous=0x6284c60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ff311c4261f in ThreadWeaver::Thread::run (this=0x7ff2281c1e00) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x7ff2281c1e00) at thread/qthread_unix.cpp:349
#8  0x00007ff3190ed182 in start_thread (arg=0x7ff2f2ffd700) at pthread_create.c:312
#9  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7ff23a9a0700 (LWP 4041)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff310eec81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff310eec859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff3190ed182 in start_thread (arg=0x7ff23a9a0700) at pthread_create.c:312
#4  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ff23a19f700 (LWP 4047)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff310c2d20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff310f1bfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff3190ed182 in start_thread (arg=0x7ff23a19f700) at pthread_create.c:312
#4  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff23959e700 (LWP 4052)):
#0  0x00007ff319d8403d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff314148fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff31b1bd7be in QEventDispatcherGlib::processEvents (this=0x7ff1d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ff31b18f0af in QEventLoop::processEvents (this=this@entry=0x7ff23959dde0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff31b18f3a5 in QEventLoop::exec (this=this@entry=0x7ff23959dde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff31b08bc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007ff31b08e32f in QThreadPrivate::start (arg=0x29817e0) at thread/qthread_unix.cpp:349
#8  0x00007ff3190ed182 in start_thread (arg=0x7ff23959e700) at pthread_create.c:312
#9  0x00007ff319d9138d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff31d4b0800 (LWP 3737)):
[KCrash Handler]
#6  0x00007ff319cccf89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007ff319cd0398 in __GI_abort () at abort.c:89
#8  0x00007ff319d0a1e4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ff319e18ab0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007ff319d164be in malloc_printerr (ptr=<optimized out>, str=0x7ff319e14ba3 "free(): invalid pointer", action=1) at malloc.c:4996
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#11 0x00007ff31725df99 in KDevelop::ReferenceType::~ReferenceType (this=0x7ff2e8923b40, __in_chrg=<optimized out>) at ../../language/duchain/types/referencetype.cpp:67
#12 0x00007ff24f63deb7 in ?? () from /usr/lib/libkdev4cppduchain.so
#13 0x00007ff24f63df3c in Cpp::MissingDeclarationType::~MissingDeclarationType() () from /usr/lib/libkdev4cppduchain.so
#14 0x00007ff24f63e165 in Cpp::MissingDeclarationProblem::~MissingDeclarationProblem() () from /usr/lib/libkdev4cppduchain.so
#15 0x00007ff3171cbae7 in ~KSharedPtr (this=0x7ff2e95b5910, __in_chrg=<optimized out>) at /usr/include/ksharedptr.h:90
#16 node_destruct (this=<optimized out>, to=0x7ff1c4bfd418, from=0x7ff1c4bfd3b8) at /usr/include/qt4/QtCore/qlist.h:431
#17 QList<KSharedPtr<KDevelop::Problem> >::free (data=0x7ff1c4bfd3a0, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#18 0x00007ff3171d1787 in KDevelop::TopDUContextLocalPrivate::~TopDUContextLocalPrivate (this=0x7ff2e8706800, __in_chrg=<optimized out>) at ../../language/duchain/topducontext.cpp:121
#19 0x00007ff3171cd762 in KDevelop::TopDUContext::deleteSelf (this=<optimized out>) at ../../language/duchain/topducontext.cpp:675
#20 0x00007ff3171b6869 in KDevelop::DUChainPrivate::removeDocumentChainFromMemory (this=this@entry=0x20baec0, context=0x7ff2e81c1860) at ../../language/duchain/duchain.cpp:413
#21 0x00007ff3171a431b in clear (this=0x20baec0) at ../../language/duchain/duchain.cpp:376
#22 KDevelop::DUChain::shutdown (this=<optimized out>) at ../../language/duchain/duchain.cpp:1624
#23 0x00007ff31ca717a9 in KDevelop::Core::cleanup (this=0x1168d50) at ../../shell/core.cpp:416
#24 0x00007ff31ca7196d in KDevelop::Core::shutdown (this=0x1168d50) at ../../shell/core.cpp:377
#25 0x00007ff31ca60dbd in KDevelop::MainWindow::~MainWindow (this=this@entry=0x118b930, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/mainwindow.cpp:119
#26 0x00007ff31ca60e09 in KDevelop::MainWindow::~MainWindow (this=0x118b930, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/mainwindow.cpp:123
#27 0x00007ff31b1a8c58 in QObject::event (this=this@entry=0x118b930, e=e@entry=0x57999b0) at kernel/qobject.cpp:1175
#28 0x00007ff31a57955b in QWidget::event (this=this@entry=0x118b930, event=event@entry=0x57999b0) at kernel/qwidget.cpp:8846
#29 0x00007ff31a9339b3 in QMainWindow::event (this=this@entry=0x118b930, event=event@entry=0x57999b0) at widgets/qmainwindow.cpp:1478
#30 0x00007ff31ba49491 in KMainWindow::event (this=this@entry=0x118b930, ev=ev@entry=0x57999b0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#31 0x00007ff31ba80f09 in KXmlGuiWindow::event (this=0x118b930, ev=0x57999b0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#32 0x00007ff31a529e2c in QApplicationPrivate::notify_helper (this=this@entry=0x9c7730, receiver=receiver@entry=0x118b930, e=e@entry=0x57999b0) at kernel/qapplication.cpp:4567
#33 0x00007ff31a5304a0 in QApplication::notify (this=this@entry=0x7fffc07cc250, receiver=receiver@entry=0x118b930, e=e@entry=0x57999b0) at kernel/qapplication.cpp:4353
#34 0x00007ff31b994d1a in KApplication::notify (this=0x7fffc07cc250, receiver=0x118b930, event=0x57999b0) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007ff31b1904dd in QCoreApplication::notifyInternal (this=0x7fffc07cc250, receiver=receiver@entry=0x118b930, event=event@entry=0x57999b0) at kernel/qcoreapplication.cpp:953
#36 0x00007ff31b193b3d in sendEvent (event=0x57999b0, receiver=0x118b930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9229a0) at kernel/qcoreapplication.cpp:1577
#38 0x00007ff31b193fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#39 0x00007ff31b1bdf83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#40 postEventSourceDispatch (s=0x9c6b40) at kernel/qeventdispatcher_glib.cpp:287
#41 0x00007ff314148e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ff314149048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff3141490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff31b1bd7a1 in QEventDispatcherGlib::processEvents (this=0x9c3a80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#45 0x00007ff31a5cbbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007ff31b18f0af in QEventLoop::processEvents (this=this@entry=0x7fffc07cc080, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007ff31b18f3a5 in QEventLoop::exec (this=this@entry=0x7fffc07cc080, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007ff31b194b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#49 0x0000000000410767 in ?? ()
#50 0x00007ff319cb7ec5 in __libc_start_main (main=0x40a930, argc=1, argv=0x7fffc07cc3d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc07cc3c8) at libc-start.c:287
#51 0x0000000000410c58 in _start ()
Comment 1 Milian Wolff 2014-08-21 09:43:46 UTC

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