Bug 369238 - KDevelop5 hang on exit in itemrepository.h (deleteItem())
Summary: KDevelop5 hang on exit in itemrepository.h (deleteItem())
Status: CLOSED DUPLICATE of bug 306128
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
: 387021 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-23 12:25 UTC by RJVB
Modified: 2017-11-17 10:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2016-09-23 12:25:32 UTC
Application: kdevelop5 (5.0.1)
 (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:

This was a session that I had launched only to check a few aspects of the CMake manager's build dir settings. After telling it to exit it remained stuck as shown in the backtrace, consuming close to 100% CPU.

This has been discussed before. In a debug build the ASSERTS will provoke an abort, but now that KDevelop5 has seen 2 release versions already anomalies in deleteItem() should also be handled (as elegantly as possible) in release builds.

Apparently currentIndex should never become 0. What would be the side-effects of returning early from deleteItem(), i.e.

        //If this assertion triggers, the deleted item was not registered under the given hash
        Q_ASSERT(currentIndex);
        if (!currentIndex) {
            return;
        }

It seems deleteItem() has no business trying to delete an item that's not registered under the current hash, but not doing anything may mean we'll end up in slightly larger closed loop, calling deleteItem() on the same item indefinetely?

The crash can be reproduced sometimes.

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

Thread 8 (Thread 0x7fb4f533b700 (LWP 20528)):
#0  0x00007fb512c7cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb505d95b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb505d9764f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb4f7fb1ac9 in QXcbEventReader::run (this=0x15adde0) 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  0x00007fb51332bd29 in QThreadPrivate::start (arg=0x15adde0) 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  0x00007fb50ca37184 in start_thread (arg=0x7fb4f533b700) at pthread_create.c:312
#6  0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fb4efde4700 (LWP 20529)):
#0  0x00007fb50ca3955a in __GI___pthread_mutex_lock (mutex=0x7fb4e8000a50) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fb50bbf3981 in g_mutex_lock (mutex=mutex@entry=0x7fb4e8000990) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:209
#2  0x00007fb50bbb1699 in g_main_context_prepare (context=context@entry=0x7fb4e8000990, priority=priority@entry=0x7fb4efde3cf8) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3354
#3  0x00007fb50bbb1f03 in g_main_context_iterate (context=context@entry=0x7fb4e8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3714
#4  0x00007fb50bbb20ec in g_main_context_iteration (context=0x7fb4e8000990, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#5  0x00007fb5135476fb in QEventDispatcherGlib::processEvents (this=0x7fb4e80008c0, 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
#6  0x00007fb5134f162a in QEventLoop::exec (this=this@entry=0x7fb4efde3e20, 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
#7  0x00007fb51332701b in QThread::exec (this=this@entry=0x7fb51532e420 <(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
#8  0x00007fb5150bd615 in QDBusConnectionManager::run (this=0x7fb51532e420 <(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
#9  0x00007fb51332bd29 in QThreadPrivate::start (arg=0x7fb51532e420 <(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
#10 0x00007fb50ca37184 in start_thread (arg=0x7fb4efde4700) at pthread_create.c:312
#11 0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fb4e3039700 (LWP 20531)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fb513323e10 in _q_futex (op=0, val=3, timeout=0x0, addr=0x1ed49f8) 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/qmutex_linux.cpp:146
#2  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) 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/qmutex_linux.cpp:187
#3  QBasicMutex::lockInternal (this=0x1ed49f8) 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/qmutex_linux.cpp:203
#4  0x00007fb513323f0a in lock (this=0x1ed49f8) 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/qmutex.h:59
#5  lock (timeout=-1, this=0x1ed49e0) 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/qmutex.cpp:655
#6  QMutex::lock (this=this@entry=0x7fb5115c8e68 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::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/qmutex.cpp:222
#7  0x00007fb510dee4fb in QMutexLocker (m=<optimized out>, this=<synthetic pointer>) at /opt/local/include/qt5/QtCore/qmutex.h:128
#8  KDevelop::DUChainPrivate::doMoreCleanup (this=0x7fb5115c8e60 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, retries=retries@entry=1, lockFlag=lockFlag@entry=KDevelop::DUChainPrivate::TryLock) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/language/duchain/duchain.cpp:703
#9  0x00007fb510def711 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1edab20) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/language/duchain/duchain.cpp:290
#10 0x00007fb51332bd29 in QThreadPrivate::start (arg=0x1edab20) 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
#11 0x00007fb50ca37184 in start_thread (arg=0x7fb4e3039700) at pthread_create.c:312
#12 0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fb4d0835700 (LWP 20979)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb51332cb1b in wait (time=18446744073709551615, this=0x1dd05c0) 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:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1dc5010, time=18446744073709551615) 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
#3  0x00007fb508110d1b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007fb50810cec1 in ThreadWeaver::SuspendingState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007fb50810cf9a in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007fb50810cf9a in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007fb50810d933 in ThreadWeaver::Thread::run() () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007fb51332bd29 in QThreadPrivate::start (arg=0x25a0d20) 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
#12 0x00007fb50ca37184 in start_thread (arg=0x7fb4d0835700) at pthread_create.c:312
#13 0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fb4b7fff700 (LWP 20980)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb51332cb1b in wait (time=18446744073709551615, this=0x1dd05c0) 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:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1dc5010, time=18446744073709551615) 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
#3  0x00007fb508110d1b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007fb50810c62a in ThreadWeaver::SuspendedState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007fb50810cf9a in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007fb50810d933 in ThreadWeaver::Thread::run() () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007fb51332bd29 in QThreadPrivate::start (arg=0x7fb4a413be40) 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
#10 0x00007fb50ca37184 in start_thread (arg=0x7fb4b7fff700) at pthread_create.c:312
#11 0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fb4cbfff700 (LWP 20981)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb51332cb1b in wait (time=18446744073709551615, this=0x1dd05c0) 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:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1dc5010, time=18446744073709551615) 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
#3  0x00007fb508110d1b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#4  0x00007fb50810c62a in ThreadWeaver::SuspendedState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007fb50810cf9a in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007fb508110a03 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007fb50810d933 in ThreadWeaver::Thread::run() () from /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007fb51332bd29 in QThreadPrivate::start (arg=0x7fb4c0138c60) 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
#10 0x00007fb50ca37184 in start_thread (arg=0x7fb4cbfff700) at pthread_create.c:312
#11 0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fb4c9e6e700 (LWP 20989)):
#0  0x00007fb512c7cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb50bbb1fe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fb4bc7a28b0, timeout=-1, context=0x7fb4bc120f00) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fb4bc120f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3729
#3  0x00007fb50bbb20ec in g_main_context_iteration (context=0x7fb4bc120f00, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0x00007fb5135476fb in QEventDispatcherGlib::processEvents (this=0x7fb4bc0e6f70, 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  0x00007fb5134f162a in QEventLoop::exec (this=this@entry=0x7fb4c9e6de50, 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  0x00007fb51332701b 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  0x00007fb51332bd29 in QThreadPrivate::start (arg=0x7fb507829828 <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  0x00007fb50ca37184 in start_thread (arg=0x7fb4c9e6e700) at pthread_create.c:312
#9  0x00007fb512c8a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fb515f1b780 (LWP 20525)):
[KCrash Handler]
#6  followerIndex (index=0, this=0x32a8e50) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/serialization/itemrepository.h:942
#7  deleteItem<KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest> > (repository=..., hash=<optimized out>, index=16004, this=0x32a8e50) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/serialization/itemrepository.h:548
#8  finalCleanup<KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest> > (repository=..., this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/serialization/itemrepository.h:678
#9  KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::finalCleanup (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/serialization/itemrepository.h:2077
#10 0x00007fb50ff8d55f in KDevelop::ItemRepositoryRegistry::finalCleanup (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/serialization/itemrepositoryregistry.cpp:366
#11 0x00007fb510ddb245 in finalCleanup () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/language/duchain/duchain.cpp:1585
#12 KDevelop::DUChain::shutdown (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/language/duchain/duchain.cpp:1623
#13 0x00007fb515a7b0c3 in KDevelop::Core::cleanup (this=this@entry=0x1b0b8a0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/core.cpp:461
#14 0x00007fb515a7b338 in KDevelop::Core::shutdown (this=0x1b0b8a0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/core.cpp:412
#15 0x00007fb515a5943b in KDevelop::MainWindow::~MainWindow (this=this@entry=0x1b2db60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/mainwindow.cpp:158
#16 0x00007fb515a59489 in KDevelop::MainWindow::~MainWindow (this=0x1b2db60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/shell/mainwindow.cpp:162
#17 0x00007fb5135210c8 in QObject::event (this=this@entry=0x1b2db60, e=e@entry=0x6a13c90) 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
#18 0x00007fb5142f07c3 in QWidget::event (this=this@entry=0x1b2db60, event=event@entry=0x6a13c90) 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/qwidget.cpp:9178
#19 0x00007fb5144010eb in QMainWindow::event (this=0x1b2db60, event=0x6a13c90) 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/widgets/qmainwindow.cpp:1543
#20 0x00007fb50f51ad41 in KMainWindow::event(QEvent*) () from /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#21 0x00007fb50f533441 in KXmlGuiWindow::event(QEvent*) () from /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#22 0x00007fb5142ada1c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1b2db60, e=0x6a13c90) 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
#23 0x00007fb5142b2aef in QApplication::notify (this=0x7fff8ce31c80, receiver=0x1b2db60, e=0x6a13c90) 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
#24 0x00007fb5134f3768 in QCoreApplication::notifyInternal2 (receiver=0x1b2db60, event=event@entry=0x6a13c90) 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
#25 0x00007fb5134f55ec in sendEvent (event=0x6a13c90, 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
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1588e70) 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
#27 0x00007fb5134f5aa8 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
#28 0x00007fb5135472d3 in postEventSourceDispatch (s=0x15ca130) 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
#29 0x00007fb50bbb1e04 in g_main_dispatch (context=0x7fb4f0003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#30 g_main_context_dispatch (context=context@entry=0x7fb4f0003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#31 0x00007fb50bbb2048 in g_main_context_iterate (context=context@entry=0x7fb4f0003000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#32 0x00007fb50bbb20ec in g_main_context_iteration (context=0x7fb4f0003000, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#33 0x00007fb5135476df in QEventDispatcherGlib::processEvents (this=0x15d1c20, 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
#34 0x00007fb5134f162a in QEventLoop::exec (this=this@entry=0x7fff8ce31a50, 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
#35 0x00007fb5134f9a3d 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
#36 0x00007fb513a5b8dc 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
#37 0x00007fb5142aacb5 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
#38 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
Comment 1 Kevin Funk 2016-09-23 13:21:49 UTC

*** This bug has been marked as a duplicate of bug 306128 ***
Comment 2 RJVB 2016-09-23 13:36:21 UTC
DrKonqi c/should have picked up that report...
Comment 3 Kevin Funk 2017-11-17 10:02:59 UTC
*** Bug 387021 has been marked as a duplicate of this bug. ***