Bug 324764 - Crash on exit with unsaved files
Summary: Crash on exit with unsaved files
Status: RESOLVED DUPLICATE of bug 289056
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.5.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-10 19:33 UTC by hannu.alamaki
Modified: 2013-10-02 22:57 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 hannu.alamaki 2013-09-10 19:33:34 UTC
Application: kdevelop (4.5.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.8.0-30-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
I had two files with unsaved changes when I tried to close Kdevelop. A dialog opened asking if I want to save changes to those files. I selected to save and then Kdevelop crashed.

-- 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 0x7fc0b78d17c0 (LWP 2908))]

Thread 12 (Thread 0x7fc09afb4700 (LWP 2909)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fc0b56260a7 in wait (time=1000, this=0x229b5d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x229c538, mutex=mutex@entry=0x229c540, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc0b14e9afb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x229c520) at ../../language/duchain/duchain.cpp:282
#4  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x229c520) at thread/qthread_unix.cpp:338
#5  0x00007fc0b3419f8e in start_thread (arg=0x7fc09afb4700) at pthread_create.c:311
#6  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7fc088016700 (LWP 2912)):
#0  0x00007fc0b431f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc0ae6ed1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc0ae6ed304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0b5751036 in QEventDispatcherGlib::processEvents (this=0x7fc0800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc0b572138f in QEventLoop::processEvents (this=this@entry=0x7fc088015d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc0b5721618 in QEventLoop::exec (this=this@entry=0x7fc088015d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc0b5623410 in QThread::exec (this=this@entry=0x3523f50) at thread/qthread.cpp:542
#7  0x00007fc0b5702edf in QInotifyFileSystemWatcherEngine::run (this=0x3523f50) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x3523f50) at thread/qthread_unix.cpp:338
#9  0x00007fc0b3419f8e in start_thread (arg=0x7fc088016700) at pthread_create.c:311
#10 0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7fc085cb9700 (LWP 2919)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0b085eb27 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc0b085eb59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc0b3419f8e in start_thread (arg=0x7fc085cb9700) at pthread_create.c:311
#4  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7fbff7a9a700 (LWP 2920)):
#0  0x00007fc0ae72c359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc0ae72c5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc0ae6ecde6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0ae6ed248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc0ae6ed304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc0b5751036 in QEventDispatcherGlib::processEvents (this=0x7fbff00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc0b572138f in QEventLoop::processEvents (this=this@entry=0x7fbff7a99d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc0b5721618 in QEventLoop::exec (this=this@entry=0x7fbff7a99d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc0b5623410 in QThread::exec (this=this@entry=0x4c8bf10) at thread/qthread.cpp:542
#9  0x00007fc0b5702edf in QInotifyFileSystemWatcherEngine::run (this=0x4c8bf10) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fc0b5625bec in QThreadPrivate::start (arg=0x4c8bf10) at thread/qthread_unix.cpp:338
#11 0x00007fc0b3419f8e in start_thread (arg=0x7fbff7a9a700) at pthread_create.c:311
#12 0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7fbff4f49700 (LWP 3018)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0ab2ae585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc0ab2ae5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc0b3419f8e in start_thread (arg=0x7fbff4f49700) at pthread_create.c:311
#4  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7fbff574a700 (LWP 3058)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0aaff4a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc0ab2dccee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc0b3419f8e in start_thread (arg=0x7fbff574a700) at pthread_create.c:311
#4  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7fbfa7ffd700 (LWP 3070)):
#0  0x00007fc0b341d07f in __pthread_mutex_unlock_usercnt (mutex=0x7fbfe801a830, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007fc0ae72c5f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc0ae6ec8f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0ae6ed0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc0ae6ed304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc0b5751036 in QEventDispatcherGlib::processEvents (this=0x7fbfe80202c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc0b572138f in QEventLoop::processEvents (this=this@entry=0x7fbfa7ffcdc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc0b5721618 in QEventLoop::exec (this=this@entry=0x7fbfa7ffcdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc0b5623410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x4307d30) at thread/qthread_unix.cpp:338
#10 0x00007fc0b3419f8e in start_thread (arg=0x7fbfa7ffd700) at pthread_create.c:311
#11 0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fbfa7180700 (LWP 3076)):
#0  0x00007fc0b431f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc0ae6ed1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc0ae6ed304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0b5751036 in QEventDispatcherGlib::processEvents (this=0x7fbfa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc0b572138f in QEventLoop::processEvents (this=this@entry=0x7fbfa717fd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc0b5721618 in QEventLoop::exec (this=this@entry=0x7fbfa717fd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc0b5623410 in QThread::exec (this=this@entry=0x57a0060) at thread/qthread.cpp:542
#7  0x00007fc0b5702edf in QInotifyFileSystemWatcherEngine::run (this=0x57a0060) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x57a0060) at thread/qthread_unix.cpp:338
#9  0x00007fc0b3419f8e in start_thread (arg=0x7fbfa7180700) at pthread_create.c:311
#10 0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fbfa4fa2700 (LWP 3274)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0b562614b in wait (time=18446744073709551615, this=0x17b0a20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x17b0bf8, mutex=0x17ae3f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc0abfc10e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17b0bd0, th=0x5cdd680) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fc0abfc39cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x17ae450, th=0x5cdd680, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fc0abfc39e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17ae450, th=0x5cdd680, previous=0x6e54f60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fc0abfc271f in ThreadWeaver::Thread::run (this=0x5cdd680) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x5cdd680) at thread/qthread_unix.cpp:338
#8  0x00007fc0b3419f8e in start_thread (arg=0x7fbfa4fa2700) at pthread_create.c:311
#9  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fbf8ffff700 (LWP 3275)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc0b562614b in wait (time=18446744073709551615, this=0x17b0a20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x17b0bf8, mutex=0x17ae3f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc0abfc10e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17b0bd0, th=0x7fbf94002a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fc0abfc39cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x17ae450, th=0x7fbf94002a00, previous=0x6dadb00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fc0abfc271f in ThreadWeaver::Thread::run (this=0x7fbf94002a00) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fc0b5625bec in QThreadPrivate::start (arg=0x7fbf94002a00) at thread/qthread_unix.cpp:338
#7  0x00007fc0b3419f8e in start_thread (arg=0x7fbf8ffff700) at pthread_create.c:311
#8  0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fbfa697f700 (LWP 5365)):
#0  __GI___pthread_mutex_lock (mutex=0x7fbf98b53b00) at pthread_mutex_lock.c:54
#1  0x00007fc0ae72c5c1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc0ae6ec90b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0ae6ed0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc0ae6ed304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc0b5751036 in QEventDispatcherGlib::processEvents (this=0x7fbf9899c5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fc0b572138f in QEventLoop::processEvents (this=this@entry=0x7fbfa697ed90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc0b5721618 in QEventLoop::exec (this=this@entry=0x7fbfa697ed90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fc0b5623410 in QThread::exec (this=this@entry=0x653c650) at thread/qthread.cpp:542
#9  0x00007fc0b5702edf in QInotifyFileSystemWatcherEngine::run (this=0x653c650) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fc0b5625bec in QThreadPrivate::start (arg=0x653c650) at thread/qthread_unix.cpp:338
#11 0x00007fc0b3419f8e in start_thread (arg=0x7fbfa697f700) at pthread_create.c:311
#12 0x00007fc0b432be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fc0b78d17c0 (LWP 2908)):
[KCrash Handler]
#6  0x00007fc0b4269037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fc0b426c698 in __GI_abort () at abort.c:90
#8  0x00007fc0b42a65ab in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fc0b43b9860 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007fc0b42b2a46 in malloc_printerr (ptr=0x7fbf94a71610, str=0x7fc0b43b9990 "double free or corruption (out)", action=3) at malloc.c:4902
#10 _int_free (av=<optimized out>, p=0x7fbf94a71600, have_lock=0) at malloc.c:3758
#11 0x00007fc0b1595d79 in KDevelop::ReferenceType::~ReferenceType (this=0x7fbf94d4c370, __in_chrg=<optimized out>) at ../../language/duchain/types/referencetype.cpp:67
#12 0x00007fc087065997 in ~TypePtr (this=0x7fbf94d16270, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#13 ~Parameter (this=0x7fbf94d16270, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/overloadresolution.h:48
#14 node_destruct (to=0x7fbf94d47548, from=0x7fbf94d47538, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:431
#15 QList<Cpp::OverloadResolver::Parameter>::free (data=0x7fbf94d47520, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#16 0x00007fc087065bb9 in ~QList (this=0x7fbf94d4c058, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:732
#17 ~MissingDeclarationType (this=0x7fbf94d4bfe0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#18 Cpp::MissingDeclarationType::~MissingDeclarationType (this=0x7fbf94d4bfe0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#19 0x00007fc087065df5 in ~TypePtr (this=0x7fbf94d48ee8, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#20 ~MissingDeclarationProblem (this=0x7fbf94d48ec0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#21 Cpp::MissingDeclarationProblem::~MissingDeclarationProblem (this=0x7fbf94d48ec0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#22 0x00007fc0b14ff487 in ~KSharedPtr (this=0x7fbf94d60090, __in_chrg=<optimized out>) at /usr/include/ksharedptr.h:90
#23 node_destruct (to=0x7fbf94d62c78, from=0x7fbf94d62c18, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:431
#24 QList<KSharedPtr<KDevelop::Problem> >::free (data=0x7fbf94d62c00, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#25 0x00007fc0b1504a6d in KDevelop::TopDUContextLocalPrivate::~TopDUContextLocalPrivate (this=0x7fc0782778b0, __in_chrg=<optimized out>) at ../../language/duchain/topducontext.cpp:129
#26 0x00007fc0b1500712 in KDevelop::TopDUContext::deleteSelf (this=<optimized out>) at ../../language/duchain/topducontext.cpp:726
#27 0x00007fc0b14ea1f7 in removeDocumentChainFromMemory (context=0x7fc078276dd0, this=0x22a03a0) at ../../language/duchain/duchain.cpp:410
#28 KDevelop::DUChainPrivate::clear (this=0x22a03a0) at ../../language/duchain/duchain.cpp:373
#29 0x00007fc0b14d29cc in KDevelop::DUChain::aboutToQuit (this=0x2298fd0) at ../../language/duchain/duchain.cpp:1619
#30 0x00007fc0b14d3ae3 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./duchain.moc:146
#31 KDevelop::DUChain::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff0f9ac270) at ./duchain.moc:133
#32 0x00007fc0b57370ef in QMetaObject::activate (sender=0x7fff0f9ac700, m=m@entry=0x7fc0b5a7d7a0 <QCoreApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#33 0x00007fc0b5782960 in QCoreApplication::aboutToQuit (this=<optimized out>) at .moc/release-shared/moc_qcoreapplication.cpp:145
#34 0x00007fc0b5726d4d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1223
#35 0x00007fc0b4ac6ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x000000000040dcbf in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:522

The reporter indicates this bug may be a duplicate of or related to bug 289056.

Possible duplicates by query: bug 323999, bug 323329, bug 322960, bug 322518, bug 322513.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-10-02 22:57:15 UTC

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