Bug 328580 - KDevelop crashes on exiting a session
Summary: KDevelop crashes on exiting a session
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.5.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-09 15:39 UTC by Rohan Garg
Modified: 2018-11-30 03:55 UTC (History)
0 users

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 Rohan Garg 2013-12-09 15:39:54 UTC
Application: kdevelop (4.5.2)
KDE Platform Version: 4.11.97
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Trying to exit one of the sessions that I had open in KDevelop

- Unusual behavior I noticed:
KDevelop crashed as soon as I closed a particular session

- Custom settings of the application:

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gobject.py: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f1b54f0e7c0 (LWP 8550))]

Thread 10 (Thread 0x7f1b38371700 (LWP 8551)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f1b52c50a03 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x7f1b300013c0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x7f1b300013c0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f1b52c4d03d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f1b4eb0193b in QMutexLocker (m=0x7f1b4ee7e938 <KDevelop::DUChainPrivate::cleanupMutex()::mutex>, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#5  KDevelop::DUChainPrivate::doMoreCleanup (this=0x22d4c70, retries=retries@entry=1, needLockRepository=needLockRepository@entry=true) at ../../language/duchain/duchain.cpp:695
#6  0x00007f1b4eb02b0d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x22dd5c0) at ../../language/duchain/duchain.cpp:291
#7  0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x22dd5c0) at thread/qthread_unix.cpp:338
#8  0x00007f1b50a35f6e in start_thread (arg=0x7f1b38371700) at pthread_create.c:311
#9  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f1b258cb700 (LWP 8554)):
#0  0x00007f1b4bd269aa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1b4bd26c59 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b4bce633b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b4bce6a12 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1b4bce6bac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1b52d7ea76 in QEventDispatcherGlib::processEvents (this=0x7f1b200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1b52d505ef in QEventLoop::processEvents (this=this@entry=0x7f1b258cad70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1b52d508e5 in QEventLoop::exec (this=this@entry=0x7f1b258cad70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1b52c4f88f in QThread::exec (this=this@entry=0x30c0570) at thread/qthread.cpp:542
#9  0x00007f1b52d31d13 in QInotifyFileSystemWatcherEngine::run (this=0x30c0570) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x30c0570) at thread/qthread_unix.cpp:338
#11 0x00007f1b50a35f6e in start_thread (arg=0x7f1b258cb700) at pthread_create.c:311
#12 0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f1b1effd700 (LWP 8564)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b4de7506b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1b4de750a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1b50a35f6e in start_thread (arg=0x7f1b1effd700) at pthread_create.c:311
#4  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f1b16cbe700 (LWP 8591)):
#0  0x00007f1b52d7e975 in postEventSourcePrepare (s=0x7f1a84113640, timeout=0x7f1b16cbdbb4) at kernel/qeventdispatcher_glib.cpp:255
#1  0x00007f1b4bce614d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b4bce69c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b4bce6bac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1b52d7ea76 in QEventDispatcherGlib::processEvents (this=0x7f1a841bc640, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f1b52d505ef in QEventLoop::processEvents (this=this@entry=0x7f1b16cbdd70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1b52d508e5 in QEventLoop::exec (this=this@entry=0x7f1b16cbdd70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1b52c4f88f in QThread::exec (this=this@entry=0x5a1d6b0) at thread/qthread.cpp:542
#8  0x00007f1b52d31d13 in QInotifyFileSystemWatcherEngine::run (this=0x5a1d6b0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x5a1d6b0) at thread/qthread_unix.cpp:338
#10 0x00007f1b50a35f6e in start_thread (arg=0x7f1b16cbe700) at pthread_create.c:311
#11 0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f1b15cbc700 (LWP 8705)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b488481cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1b48848209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1b50a35f6e in start_thread (arg=0x7f1b15cbc700) at pthread_create.c:311
#4  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f1b153bb700 (LWP 8706)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b48588bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1b48877a76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1b50a35f6e in start_thread (arg=0x7f1b153bb700) at pthread_create.c:311
#4  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f1a43ffd700 (LWP 8711)):
#0  0x00007f1b50a38055 in __GI___pthread_mutex_lock (mutex=0x7f1a34000a60) at pthread_mutex_lock.c:95
#1  0x00007f1b4bd26c61 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1b4bce5bf0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1b4bce6965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1b4bce6bac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1b52d7ea76 in QEventDispatcherGlib::processEvents (this=0x7f1a340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f1b52d505ef in QEventLoop::processEvents (this=this@entry=0x7f1a43ffcdb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1b52d508e5 in QEventLoop::exec (this=this@entry=0x7f1a43ffcdb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1b52c4f88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x398fde0) at thread/qthread_unix.cpp:338
#10 0x00007f1b50a35f6e in start_thread (arg=0x7f1a43ffd700) at pthread_create.c:311
#11 0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f1a41baf700 (LWP 8948)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b52c52406 in wait (time=18446744073709551615, this=0x13a8140) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x13a6c18, mutex=0x13a7040, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1b4959de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a6bf0, th=0x67edc00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f1b495a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x13a6dc0, th=0x67edc00, previous=0x6632250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f1b4959f61f in ThreadWeaver::Thread::run (this=0x67edc00) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x67edc00) at thread/qthread_unix.cpp:338
#7  0x00007f1b50a35f6e in start_thread (arg=0x7f1a41baf700) at pthread_create.c:311
#8  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f1a413ae700 (LWP 8949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1b52c52406 in wait (time=18446744073709551615, this=0x13a8140) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x13a6c18, mutex=0x13a7040, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1b4959de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a6bf0, th=0x7f1a30002a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f1b495a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x13a6dc0, th=0x7f1a30002a00, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f1b495a091c in ThreadWeaver::WorkingHardState::applyForWork (this=0x13a6dc0, th=0x7f1a30002a00, previous=0x66cca70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f1b4959f61f in ThreadWeaver::Thread::run (this=0x7f1a30002a00) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f1b52c51f2f in QThreadPrivate::start (arg=0x7f1a30002a00) at thread/qthread_unix.cpp:338
#8  0x00007f1b50a35f6e in start_thread (arg=0x7f1a413ae700) at pthread_create.c:311
#9  0x00007f1b519539cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1b54f0e7c0 (LWP 8550)):
[KCrash Handler]
#6  makeDataPrivate (this=<optimized out>) at ../../language/duchain/repositories/itemrepository.h:1061
#7  prepareChange (this=<optimized out>) at ../../language/duchain/repositories/itemrepository.h:1007
#8  dynamicItemFromIndexSimple (index=<optimized out>, this=<optimized out>) at ../../language/duchain/repositories/itemrepository.h:1820
#9  KDevelop::IndexedQualifiedIdentifier::~IndexedQualifiedIdentifier (this=0x4e6f130, __in_chrg=<optimized out>) at ../../language/duchain/identifier.cpp:1250
#10 0x00007f1b2496336e in ~Indirect (this=0x7f1a3065529c, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/../declarationid.h:172
#11 ~DeclarationId (this=0x7f1a3065529c, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/../declarationid.h:54
#12 ~IdentifiedTypeData (this=0x7f1a3065529c, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/identifiedtype.h:39
#13 ~Data (this=0x7f1a30655280, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/identifiedtype.h:139
#14 ~StructureTypeData (this=0x7f1a30655280, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typesystemdata.h:175
#15 ~CppClassTypeData (this=0x7f1a30655280, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/cpptypes.h:67
#16 KDevelop::TypeFactory<CppClassType, CppClassTypeData>::callDestructor (this=<optimized out>, data=0x7f1a30655280) at /usr/include/kdevplatform/language/duchain/types/typeregister.h:110
#17 0x00007f1b4ebbb541 in destroy (item=0x7f1a30655280) at ../../language/duchain/repositories/typerepository.cpp:68
#18 deleteItem<KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest> > (repository=..., hash=<optimized out>, index=<optimized out>, this=0x7f1a30602ac0) at ../../language/duchain/repositories/itemrepository.h:813
#19 finalCleanup<KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest> > (repository=..., this=<optimized out>) at ../../language/duchain/repositories/itemrepository.h:926
#20 KDevelop::ItemRepository<KDevelop::AbstractTypeData, KDevelop::AbstractTypeDataRequest, true, true, 0u, 1048576u>::finalCleanup (this=<optimized out>) at ../../language/duchain/repositories/itemrepository.h:2505
#21 0x00007f1b4ebb443b in KDevelop::ItemRepositoryRegistry::finalCleanup (this=<optimized out>) at ../../language/duchain/repositories/itemrepository.cpp:386
#22 0x00007f1b4eaee970 in KDevelop::DUChain::finalCleanup (this=this@entry=0x22d12f0) at ../../language/duchain/duchain.cpp:1730
#23 0x00007f1b4eaeebe9 in KDevelop::DUChain::aboutToQuit (this=0x22d12f0) at ../../language/duchain/duchain.cpp:1612
#24 0x00007f1b4eaf0005 in KDevelop::DUChain::qt_static_metacall (_o=0x22d12f0, _id=144, _a=0x7fff89aa2060, _c=<optimized out>) at ./duchain.moc:146
#25 0x00007f1b52d65a58 in QMetaObject::activate (sender=0x7fff89aa2280, m=m@entry=0x7f1b530b4860 <QCoreApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0x00007f1b52daff40 in QCoreApplication::aboutToQuit (this=<optimized out>) at .moc/release-shared/moc_qcoreapplication.cpp:145
#27 0x00007f1b52d55eb5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1223
#28 0x00007f1b520ed34c in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x000000000040e6f9 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:522

Possible duplicates by query: bug 305113, bug 299556, bug 297646, bug 291347.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-31 03:50:20 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 Bug Janitor Service 2018-11-15 10:43:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-30 03:55:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!