Bug 337701 - KDevelop crashes on exit
Summary: KDevelop crashes on exit
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 crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
: 346084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-22 14:03 UTC by Benoit Leffray
Modified: 2016-03-09 08:01 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (25.77 KB, text/plain)
2015-06-03 13:40 UTC, Benedikt Geißler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Leffray 2014-07-22 14:03:23 UTC
Application: kdevelop (4.6.0)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

I simply closed KDevelop by clicking on the upper righthand side close-window-cross.
The crash appeared at that time.

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

Thread 11 (Thread 0x7f94c4bf0700 (LWP 8463)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f94dafbcffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f94dafbd039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f94ddb85182 in start_thread (arg=0x7f94c4bf0700) at pthread_create.c:312
#4  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f9443807700 (LWP 8464)):
#0  0x00007f94dfc55b2a in testAndSetOrdered (newValue=1, expectedValue=0, this=0x20fe0e0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0x20fe0e0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#2  tryLockInline (this=0x20fe098) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0x20fe098) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0x20fe098, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0x20fe050) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7f943c001350, timeout=0x7f9443806c24) at kernel/qeventdispatcher_glib.cpp:270
#7  0x00007f94d8be068d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f94d8be0f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f94d8be10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f94dfc557be in QEventDispatcherGlib::processEvents (this=0x7f943c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#11 0x00007f94dfc270af in QEventLoop::processEvents (this=this@entry=0x7f9443806de0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f94dfc273a5 in QEventLoop::exec (this=this@entry=0x7f9443806de0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f94dfb23c5f in QThread::exec (this=this@entry=0x20fdea0) at thread/qthread.cpp:537
#14 0x00007f94dfc08823 in QInotifyFileSystemWatcherEngine::run (this=0x20fdea0) at io/qfilesystemwatcher_inotify.cpp:265
#15 0x00007f94dfb2632f in QThreadPrivate::start (arg=0x20fdea0) at thread/qthread_unix.cpp:349
#16 0x00007f94ddb85182 in start_thread (arg=0x7f9443807700) at pthread_create.c:312
#17 0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f944089a700 (LWP 8468)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f94dfb267f4 in wait (time=1000, this=0x35420e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x353f0a8, mutex=mutex@entry=0x353f0b0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f94dbc4fe42 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x353f090) at ../../language/duchain/duchain.cpp:285
#4  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x353f090) at thread/qthread_unix.cpp:349
#5  0x00007f94ddb85182 in start_thread (arg=0x7f944089a700) at pthread_create.c:312
#6  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f9430b1e700 (LWP 8469)):
#0  0x00007f94ddb887ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f942c000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f942c000a60) at pthread_mutex_unlock.c:310
#2  0x00007f94d8c229c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94d8be10f6 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f94dfc557be in QEventDispatcherGlib::processEvents (this=0x7f942c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f94dfc270af in QEventLoop::processEvents (this=this@entry=0x7f9430b1de20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f94dfc273a5 in QEventLoop::exec (this=this@entry=0x7f9430b1de20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f94dfb23c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x3fcc3a8) at thread/qthread_unix.cpp:349
#9  0x00007f94ddb85182 in start_thread (arg=0x7f9430b1e700) at pthread_create.c:312
#10 0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f940ca7f700 (LWP 8504)):
#0  0x00007f94de81bfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f94d8be0fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94d8be10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94dfc557be in QEventDispatcherGlib::processEvents (this=0x7f9408003310, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f94dfc270af in QEventLoop::processEvents (this=this@entry=0x7f940ca7ede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f94dfc273a5 in QEventLoop::exec (this=this@entry=0x7f940ca7ede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f94dfb23c5f in QThread::exec (this=this@entry=0x6c1c2c0) at thread/qthread.cpp:537
#7  0x00007f94dfc08823 in QInotifyFileSystemWatcherEngine::run (this=0x6c1c2c0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x6c1c2c0) at thread/qthread_unix.cpp:349
#9  0x00007f94ddb85182 in start_thread (arg=0x7f940ca7f700) at pthread_create.c:312
#10 0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f940d280700 (LWP 8512)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f94dfb26816 in wait (time=18446744073709551615, this=0x266cc90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x266cb68, mutex=0x266ce10, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f94d66d8e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x266cb40, th=0x3503450) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f94d66db903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x266cee0, th=0x3503450, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f94d66db91c in ThreadWeaver::WorkingHardState::applyForWork (this=0x266cee0, th=0x3503450, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f94d66db91c in ThreadWeaver::WorkingHardState::applyForWork (this=0x266cee0, th=0x3503450, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007f94d66db91c in ThreadWeaver::WorkingHardState::applyForWork (this=0x266cee0, th=0x3503450, previous=0xc1ce020) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00007f94d66da61f in ThreadWeaver::Thread::run (this=0x3503450) at ../../../threadweaver/Weaver/Thread.cpp:98
#9  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x3503450) at thread/qthread_unix.cpp:349
#10 0x00007f94ddb85182 in start_thread (arg=0x7f940d280700) at pthread_create.c:312
#11 0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f941840b700 (LWP 8513)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f94dfb26816 in wait (time=18446744073709551615, this=0x266cc90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x266cb68, mutex=0x266ce10, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f94d66d8e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x266cb40, th=0x7f94000031f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f94d66db903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x266cee0, th=0x7f94000031f0, previous=0x76bc820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f94d66da61f in ThreadWeaver::Thread::run (this=0x7f94000031f0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x7f94000031f0) at thread/qthread_unix.cpp:349
#7  0x00007f94ddb85182 in start_thread (arg=0x7f941840b700) at pthread_create.c:312
#8  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9416c08700 (LWP 8638)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f94d598481d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f94d5984859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f94ddb85182 in start_thread (arg=0x7f9416c08700) at pthread_create.c:312
#4  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9416407700 (LWP 8639)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f94d56c520d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f94d59b3fd6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f94ddb85182 in start_thread (arg=0x7f9416407700) at pthread_create.c:312
#4  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9415806700 (LWP 8640)):
#0  0x00007f94de81bfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f94d8be0fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f94d8be10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f94dfc557be in QEventDispatcherGlib::processEvents (this=0x7f93a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f94dfc270af in QEventLoop::processEvents (this=this@entry=0x7f9415805e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f94dfc273a5 in QEventLoop::exec (this=this@entry=0x7f9415805e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f94dfb23c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f94dfb2632f in QThreadPrivate::start (arg=0x250c420) at thread/qthread_unix.cpp:349
#8  0x00007f94ddb85182 in start_thread (arg=0x7f9415806700) at pthread_create.c:312
#9  0x00007f94de82930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f94e205c7c0 (LWP 8461)):
[KCrash Handler]
#6  0x00007f94de764f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f94de768388 in __GI_abort () at abort.c:89
#8  0x00007f94de7a21d4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f94de8b0a10 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f94de7ae4ae in malloc_printerr (ptr=<optimized out>, str=0x7f94de8acb03 "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 0x00007f94dbcfaefb in ~MergeIdentifiedType (this=0x7f9398dfaa30, __in_chrg=<optimized out>) at ../../language/duchain/types/identifiedtype.h:136
#12 ~TypeAliasType (this=0x7f9398dfaa30, __in_chrg=<optimized out>) at ../../language/duchain/types/typealiastype.h:34
#13 KDevelop::TypeAliasType::~TypeAliasType (this=0x7f9398dfaa30, __in_chrg=<optimized out>) at ../../language/duchain/types/typealiastype.h:34
#14 0x00007f942964beb7 in ~TypePtr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#15 ~Parameter (this=<optimized out>, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/overloadresolution.h:48
#16 node_destruct (this=<optimized out>, to=<optimized out>, from=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:431
#17 free (this=<optimized out>, data=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#18 QList<Cpp::OverloadResolver::Parameter>::~QList (this=0x210d, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:732
#19 0x00007f942964bf3c in ~MissingDeclarationType (this=0x7f93f8e7c130, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#20 Cpp::MissingDeclarationType::~MissingDeclarationType (this=0x7f93f8e7c130, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#21 0x00007f942964c165 in ~TypePtr (this=0x7f9398749348, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#22 ~MissingDeclarationProblem (this=0x7f9398749320, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#23 Cpp::MissingDeclarationProblem::~MissingDeclarationProblem (this=0x7f9398749320, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#24 0x00007f94dbc63ae7 in ~KSharedPtr (this=0x7f93f9983e80, __in_chrg=<optimized out>) at /usr/include/ksharedptr.h:90
#25 node_destruct (this=<optimized out>, to=0x7f93fa319cc8, from=0x7f93fa319658) at /usr/include/qt4/QtCore/qlist.h:431
#26 QList<KSharedPtr<KDevelop::Problem> >::free (data=0x7f93fa319640, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#27 0x00007f94dbc69787 in KDevelop::TopDUContextLocalPrivate::~TopDUContextLocalPrivate (this=0x415e530, __in_chrg=<optimized out>) at ../../language/duchain/topducontext.cpp:121
#28 0x00007f94dbc65762 in KDevelop::TopDUContext::deleteSelf (this=<optimized out>) at ../../language/duchain/topducontext.cpp:675
#29 0x00007f94dbc4e869 in KDevelop::DUChainPrivate::removeDocumentChainFromMemory (this=this@entry=0x353ca10, context=0x5354660) at ../../language/duchain/duchain.cpp:413
#30 0x00007f94dbc3c31b in clear (this=0x353ca10) at ../../language/duchain/duchain.cpp:376
#31 KDevelop::DUChain::shutdown (this=<optimized out>) at ../../language/duchain/duchain.cpp:1624
#32 0x00007f94e15097a9 in KDevelop::Core::cleanup (this=0x2103f40) at ../../shell/core.cpp:416
#33 0x00007f94e150996d in KDevelop::Core::shutdown (this=0x2103f40) at ../../shell/core.cpp:377
#34 0x00007f94e14f8dbd in KDevelop::MainWindow::~MainWindow (this=this@entry=0x25bf160, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/mainwindow.cpp:119
#35 0x00007f94e14f8e09 in KDevelop::MainWindow::~MainWindow (this=0x25bf160, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../shell/mainwindow.cpp:123
#36 0x00007f94dfc40c58 in QObject::event (this=this@entry=0x25bf160, e=e@entry=0x6c686c0) at kernel/qobject.cpp:1175
#37 0x00007f94df01155b in QWidget::event (this=this@entry=0x25bf160, event=event@entry=0x6c686c0) at kernel/qwidget.cpp:8846
#38 0x00007f94df3cb9b3 in QMainWindow::event (this=this@entry=0x25bf160, event=event@entry=0x6c686c0) at widgets/qmainwindow.cpp:1478
#39 0x00007f94e04e1491 in KMainWindow::event (this=this@entry=0x25bf160, ev=ev@entry=0x6c686c0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#40 0x00007f94e0518f09 in KXmlGuiWindow::event (this=0x25bf160, ev=0x6c686c0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x00007f94defc1e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1f121c0, receiver=receiver@entry=0x25bf160, e=e@entry=0x6c686c0) at kernel/qapplication.cpp:4567
#42 0x00007f94defc84a0 in QApplication::notify (this=this@entry=0x7fff91b9fb40, receiver=receiver@entry=0x25bf160, e=e@entry=0x6c686c0) at kernel/qapplication.cpp:4353
#43 0x00007f94e042cd1a in KApplication::notify (this=0x7fff91b9fb40, receiver=0x25bf160, event=0x6c686c0) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f94dfc284dd in QCoreApplication::notifyInternal (this=0x7fff91b9fb40, receiver=receiver@entry=0x25bf160, event=event@entry=0x6c686c0) at kernel/qcoreapplication.cpp:953
#45 0x00007f94dfc2bb3d in sendEvent (event=0x6c686c0, receiver=0x25bf160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1e6e240) at kernel/qcoreapplication.cpp:1577
#47 0x00007f94dfc2bfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#48 0x00007f94dfc55f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=0x1f14350) at kernel/qeventdispatcher_glib.cpp:287
#50 0x00007f94d8be0e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f94d8be1048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f94d8be10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f94dfc557a1 in QEventDispatcherGlib::processEvents (this=0x1e6fb20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#54 0x00007f94df063bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f94dfc270af in QEventLoop::processEvents (this=this@entry=0x7fff91b9f970, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f94dfc273a5 in QEventLoop::exec (this=this@entry=0x7fff91b9f970, flags=...) at kernel/qeventloop.cpp:204
#57 0x00007f94dfc2cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#58 0x00007f94defc037c in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x0000000000410767 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:566

Possible duplicates by query: bug 335225, bug 335224, bug 333332, bug 333327, bug 333253.

Reported using DrKonqi
Comment 1 Danilo 2014-08-01 19:09:28 UTC
Different backtrace, but same behaviour.

Application: kdevelop (4.6.0)
KDE Platform Version: 4.12.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.12.13-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I just closed the main window of KDevelop and the crash appeared.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa2cc0ac780 (LWP 7022))]

Thread 9 (Thread 0x7fa2b305d700 (LWP 7024)):
#0  0x00007fa2c855ad0c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa2c53ef747 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fa2c53ef779 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fa22f5a5700 (LWP 7025)):
#0  0x00007fa2c855b0de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fa2c9b30097 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa2c609a042 in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.7
#3  0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#5  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fa219687700 (LWP 7027)):
#0  0x00007fa2c2df5d8c in g_private_get_impl () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fa2c2df6549 in g_private_get () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa2c2dd96d0 in g_thread_self () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa2c2db4945 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa2c9c5a6de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa2c9c2aecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa2c9c2b158 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa2c9b2d450 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa1f1e73700 (LWP 7072)):
#0  0x00007fa2c884a48d in read () from /lib64/libc.so.6
#1  0x00007fa2c2df52ef in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa2c2db438c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa2c2db47c5 in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa2c2db4954 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa2c9c5a6de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa2c9c2aecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa2c9c2b158 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa2c9b2d450 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa2c9c0cbff in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#12 0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa1f2674700 (LWP 7141)):
#0  0x00007fa2c855ad0c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa2bf65f83d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fa2bf65f949 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa1fcaec700 (LWP 7142)):
#0  0x00007fa2c2db496a in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fa2c9c5a6de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa2c9c2aecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fa2c9c2b158 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa2c9b2d450 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#7  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa1f1672700 (LWP 7857)):
#0  0x00007fa2c855ad0c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa2c9b3013b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa2c02b1aa1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fa2c02b438b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fa2c02b30df in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#7  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa1f0e71700 (LWP 7858)):
#0  0x00007fa2c855ad0c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa2c9b3013b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa2c02b1aa1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fa2c02b438b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fa2c02b43a4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fa2c02b30df in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fa2c9b2fbdc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa2c8556f3a in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa2c8858c3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa2cc0ac780 (LWP 7022)):
[KCrash Handler]
#5  0x00007fa2c87a3535 in raise () from /lib64/libc.so.6
#6  0x00007fa2c87a49b8 in abort () from /lib64/libc.so.6
#7  0x00007fa2c87e3b9b in __libc_message () from /lib64/libc.so.6
#8  0x00007fa2c87e9876 in malloc_printerr () from /lib64/libc.so.6
#9  0x00007fa2c87ea623 in _int_free () from /lib64/libc.so.6
#10 0x00007fa2c614c38b in KDevelop::TypeAliasType::~TypeAliasType() () from /usr/lib64/libkdevplatformlanguage.so.7
#11 0x00007fa21170e167 in QList<Cpp::OverloadResolver::Parameter>::free(QListData::Data*) [clone .isra.7] () from /usr/lib64/libkdev4cppduchain.so
#12 0x00007fa21170e389 in Cpp::MissingDeclarationType::~MissingDeclarationType() () from /usr/lib64/libkdev4cppduchain.so
#13 0x00007fa21170e5c5 in Cpp::MissingDeclarationProblem::~MissingDeclarationProblem() () from /usr/lib64/libkdev4cppduchain.so
#14 0x00007fa2c60afc37 in QList<KSharedPtr<KDevelop::Problem> >::free(QListData::Data*) [clone .isra.115] () from /usr/lib64/libkdevplatformlanguage.so.7
#15 0x00007fa2c60b523b in KDevelop::TopDUContextLocalPrivate::~TopDUContextLocalPrivate() () from /usr/lib64/libkdevplatformlanguage.so.7
#16 0x00007fa2c60b0fb2 in KDevelop::TopDUContext::deleteSelf() () from /usr/lib64/libkdevplatformlanguage.so.7
#17 0x00007fa2c6098e68 in KDevelop::DUChainPrivate::removeDocumentChainFromMemory(KDevelop::TopDUContext*) () from /usr/lib64/libkdevplatformlanguage.so.7
#18 0x00007fa2c609a5f3 in KDevelop::DUChainPrivate::clear() () from /usr/lib64/libkdevplatformlanguage.so.7
#19 0x00007fa2c6082be9 in KDevelop::DUChain::shutdown() () from /usr/lib64/libkdevplatformlanguage.so.7
#20 0x00007fa2cb546bb9 in KDevelop::Core::cleanup() () from /usr/lib64/libkdevplatformshell.so.7
#21 0x00007fa2cb546d7d in KDevelop::Core::shutdown() () from /usr/lib64/libkdevplatformshell.so.7
#22 0x00007fa2cb535e3d in KDevelop::MainWindow::~MainWindow() () from /usr/lib64/libkdevplatformshell.so.7
#23 0x00007fa2cb535e89 in KDevelop::MainWindow::~MainWindow() () from /usr/lib64/libkdevplatformshell.so.7
#24 0x00007fa2c9c45b38 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fa2c904559a in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fa2c93ed34b in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fa2ca54bff8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fa2c8ff8cac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fa2c8ffb61b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007fa2ca45bb36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x00007fa2c9c2c21e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fa2c9c2f831 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fa2c9c5a51e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fa2c2db4664 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fa2c2db4898 in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fa2c2db4954 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fa2c9c5a6be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007fa2c9098dbe in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007fa2c9c2aecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007fa2c9c2b158 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fa2c9c30398 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00000000004110e1 in main ()
Comment 2 Milian Wolff 2014-08-21 09:43:39 UTC

*** This bug has been marked as a duplicate of bug 289056 ***
Comment 3 Benedikt Geißler 2015-06-03 13:40:03 UTC
Created attachment 92974 [details]
New crash information added by DrKonqi

kdevelop (4.7.1) on KDE Platform 4.14.8 using Qt 4.8.6

- What I was doing when the application crashed:

I just closed Kdevelop using the "close" button in the title bar.

-- Backtrace (Reduced):
#6  0x00007f799a664267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f799a665eca in __GI_abort () at abort.c:89
[...]
#9  0x00007f799a6afc69 in malloc_printerr (ptr=<optimized out>, str=0x7f799a7bc2fa "free(): invalid pointer", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007f799a6b389c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
Comment 4 Kevin Funk 2016-03-09 08:01:32 UTC
*** Bug 346084 has been marked as a duplicate of this bug. ***