Bug 315836 - Crash when closing all open documents
Summary: Crash when closing all open documents
Status: RESOLVED DUPLICATE of bug 248926
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 09:33 UTC by Fabian
Modified: 2013-02-27 10:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian 2013-02-27 09:33:00 UTC
Application: kdevelop (4.5.60)
KDE Platform Version: 4.10.00 "release 550"
Qt Version: 4.8.4
Operating System: Linux 3.4.28-2.20-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Once in a while when closing all documents (right click on a tap and select close all documents) kdevelop crashes.

The crash can be reproduced some of the time.

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

Thread 12 (Thread 0x7f6c3158c700 (LWP 4225)):
#0  0x00007f6c48045c61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c4963b547 in wait (time=1000, this=0x1b90e60) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b86400, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6c4550a46b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1b863e0) at /usr/src/debug/kdevplatform-1.5.60git.1361359455/language/duchain/duchain.cpp:282
#4  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x1b863e0) at thread/qthread_unix.cpp:338
#5  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#6  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f6c226c7700 (LWP 4300)):
#0  0x00007f6c48043dc7 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f6c42317471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422db66a in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6c1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6c226c6e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6c226c6e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x2511260) at thread/qthread_unix.cpp:338
#9  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f6c1799a700 (LWP 4485)):
#0  0x00007f6c42317222 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6c42317499 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422dae7d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c422db5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6c0c033b30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6c17999dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6c17999dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f6c497160bf in QInotifyFileSystemWatcherEngine::run (this=0x3658ff0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f6c4963b08c in QThreadPrivate::start (arg=0x3658ff0) at thread/qthread_unix.cpp:338
#11 0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#12 0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f6c16998700 (LWP 4487)):
#0  0x00007f6c480458f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c3e4e5437 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f6c3e4e5469 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f6c16197700 (LWP 4488)):
#0  0x00007f6c422db12b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6c422db622 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6c000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6c16196e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6c16196e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x24c4660) at thread/qthread_unix.cpp:338
#8  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f6c14ebe700 (LWP 4497)):
#0  0x00007f6c480458f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c44877247 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6c44b84640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f6c44877279 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6c06ff1700 (LWP 4776)):
#0  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f6c06ff0c2c) at kernel/qeventdispatcher_glib.cpp:211
#1  0x00007f6c422daebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422db5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6bbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6c06ff0dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6c06ff0dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f6c497160bf in QInotifyFileSystemWatcherEngine::run (this=0x5771d30) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x5771d30) at thread/qthread_unix.cpp:338
#10 0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f6c06695700 (LWP 4970)):
#0  0x00007f6c480458f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c4963b5eb in wait (time=18446744073709551615, this=0xbda430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xbe2910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6c3f17b971 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbda2e0, th=0x524f460) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6c3f17e1bb in ThreadWeaver::WorkingHardState::applyForWork (this=0xbe29a0, th=0x524f460) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6c3f17d02f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6c06694e00, parent=0xbda2e0, th=th@entry=0x524f460) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6c3f17d0bb in ThreadWeaver::Thread::run (this=0x524f460) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x524f460) at thread/qthread_unix.cpp:338
#8  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6c05e94700 (LWP 4971)):
#0  0x00007f6c480458f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6c4963b5eb in wait (time=18446744073709551615, this=0xbda430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xbe2910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6c3f17b971 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xbda2e0, th=0x5e7b000) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6c3f17e1bb in ThreadWeaver::WorkingHardState::applyForWork (this=0xbe29a0, th=0x5e7b000) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6c3f17e1d4 in ThreadWeaver::WorkingHardState::applyForWork (this=0xbe29a0, th=0x5e7b000) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6c3f17d02f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f6c05e93e00, parent=0xbda2e0, th=th@entry=0x5e7b000) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6c3f17d0bb in ThreadWeaver::Thread::run (this=0x5e7b000) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x5e7b000) at thread/qthread_unix.cpp:338
#9  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6c04c09700 (LWP 4974)):
#0  0x00007f6c48044d9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f6c423174a1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422db196 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c422db622 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6bb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6c04c08e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6c04c08e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x5f071f0) at thread/qthread_unix.cpp:338
#10 0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6bbac89700 (LWP 4975)):
#0  0x00007f6c4833214f in poll () from /lib64/libc.so.6
#1  0x00007f6c422db684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6c49765136 in QEventDispatcherGlib::processEvents (this=0x7f6ba40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7f6bbac88e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6c49735bd8 in QEventLoop::exec (this=0x7f6bbac88e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6c496380b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f6c4963b08c in QThreadPrivate::start (arg=0x5f0bd40) at thread/qthread_unix.cpp:338
#8  0x00007f6c48041e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6c4833a2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6c4b920780 (LWP 3943)):
[KCrash Handler]
#6  0x00007f6c4828ad25 in raise () from /lib64/libc.so.6
#7  0x00007f6c4828c1a8 in abort () from /lib64/libc.so.6
#8  0x00007f6c482c8fcb in __libc_message () from /lib64/libc.so.6
#9  0x00007f6c482ceb66 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f6c23e7846f in qDeleteAll<QSet<Kate::TextCursor*>::const_iterator> (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#11 qDeleteAll<QSet<Kate::TextCursor*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#12 Kate::TextBuffer::~TextBuffer (this=0x88f5240, __in_chrg=<optimized out>) at /usr/src/debug/kate-4.10.0/part/buffer/katetextbuffer.cpp:94
#13 0x00007f6c23ee22f9 in KateBuffer::~KateBuffer (this=0x88f5240, __in_chrg=<optimized out>) at /usr/src/debug/kate-4.10.0/part/document/katebuffer.cpp:86
#14 0x00007f6c49749322 in QObjectPrivate::deleteChildren (this=this@entry=0x54d4f80) at kernel/qobject.cpp:1916
#15 0x00007f6c4974d166 in QObject::~QObject (this=0x6a54380, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#16 0x00007f6c46af23e8 in KParts::Part::~Part (this=0x6a54380, __vtt_parm=0x7f6c2427a180 <VTT for KateDocument+32>, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.10.0/kparts/part.cpp:190
#17 0x00007f6c23ed7376 in KateDocument::~KateDocument (this=this@entry=0x6a54380, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-4.10.0/part/document/katedocument.cpp:227
#18 0x00007f6c23ed74e9 in KateDocument::~KateDocument (this=0x6a54380, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-4.10.0/part/document/katedocument.cpp:267
#19 0x00007f6c4add1534 in ~TextDocumentPrivate (this=0x5334540, __in_chrg=<optimized out>) at /usr/src/debug/kdevplatform-1.5.60git.1361359455/shell/textdocument.cpp:100
#20 KDevelop::TextDocument::~TextDocument (this=0x8954f30, __in_chrg=<optimized out>) at /usr/src/debug/kdevplatform-1.5.60git.1361359455/shell/textdocument.cpp:320
#21 0x00007f6c4add1679 in KDevelop::TextDocument::~TextDocument (this=0x8954f30, __in_chrg=<optimized out>) at /usr/src/debug/kdevplatform-1.5.60git.1361359455/shell/textdocument.cpp:321
#22 0x00007f6c4974b608 in QObject::event (this=0x8954f30, e=<optimized out>) at kernel/qobject.cpp:1184
#23 0x00007f6c48ae085c in QApplicationPrivate::notify_helper (this=this@entry=0x938410, receiver=receiver@entry=0x8954f30, e=e@entry=0x55109e0) at kernel/qapplication.cpp:4562
#24 0x00007f6c48ae4cda in QApplication::notify (this=0x7fffc7f56740, receiver=0x8954f30, e=0x55109e0) at kernel/qapplication.cpp:4423
#25 0x00007f6c49cd1a96 in KApplication::notify (this=0x7fffc7f56740, receiver=0x8954f30, event=0x55109e0) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#26 0x00007f6c49736bfe in QCoreApplication::notifyInternal (this=0x7fffc7f56740, receiver=receiver@entry=0x8954f30, event=event@entry=0x55109e0) at kernel/qcoreapplication.cpp:946
#27 0x00007f6c4973a561 in sendEvent (event=0x55109e0, receiver=0x8954f30) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x877670) at kernel/qcoreapplication.cpp:1570
#29 0x00007f6c49764f83 in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x939ae0) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f6c422db3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f6c422db6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f6c422db7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f6c49765116 in QEventDispatcherGlib::processEvents (this=0x87cad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f6c48b80bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f6c4973594f in QEventLoop::processEvents (this=this@entry=0x7fffc7f56360, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f6c49735bd8 in QEventLoop::exec (this=0x7fffc7f56360, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f6c4973a878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x000000000040e3de in ?? ()
#40 0x00007f6c48277455 in __libc_start_main () from /lib64/libc.so.6
#41 0x000000000040eaf1 in _start ()

Reported using DrKonqi
Comment 1 Kevin Funk 2013-02-27 10:31:36 UTC
The crash comes from KPart/Kate, seems to be a a rare issue.

Marking as duplicate of the original bug report.

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