Application that crashed: kdevelop.bin Version of the application: 3.9.98 (using KDevPlatform 0.9.98) KDE Version: 4.3.5 (KDE 4.3.5) Qt Version: 4.6.2 Operating System: Linux 2.6.30-gentoo-r5 x86_64 What I was doing when the application crashed: I pressed Ctrl+Shift+W to close all files. Some time before that I added a tool view and removed it again. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Aborted [Current thread is 0 (LWP 4361)] Thread 11 (Thread 0x7f175e6a5910 (LWP 4362)): #0 0x00007f176c943f9d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf67 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f1769b37fb1 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1184050) at /home/niko/kdesvn/kdevplatform/language/duchain/duchain.cpp:286 #3 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #5 0x00007f176b39699d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f1755e59910 (LWP 4366)): #0 0x00007f176b3903a2 in select () from /lib/libc.so.6 #1 0x00007f176cc916b7 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #4 0x00007f176b39699d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f17551de910 (LWP 4372)): #0 0x00007f176c941b6a in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x00007f176695ee29 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f176695f2b8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f176ccdb563 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #4 0x00007f176ccb2f73 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #5 0x00007f176ccb326d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4 #6 0x00007f176cbc8873 in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f1769c2856d in KDevelop::CompletionWorkerThread::run (this=0x1c1c4c0) at /home/niko/kdesvn/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82 #8 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #10 0x00007f176b39699d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f17549dd910 (LWP 4380)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176a77c6ff in ?? () from /usr/lib64/qt4/libQtScript.so.4 #2 0x00007f176a77c75b in ?? () from /usr/lib64/qt4/libQtScript.so.4 #3 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #4 0x00007f176b39699d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f174ae07910 (LWP 4394)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #8 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #10 0x00007f176b39699d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f174a606910 (LWP 4395)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #8 0x00007f176b39699d in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f1742bbc910 (LWP 6926)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #8 0x00007f176b39699d in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f17423bb910 (LWP 6927)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #7 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #9 0x00007f176b39699d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f1741bba910 (LWP 6928)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #8 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #10 0x00007f176b39699d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f173bfff910 (LWP 10022)): #0 0x00007f176c943d19 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f176cbcbf89 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f176e6d16fb in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f176e6d3b05 in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f176e6d3b1e in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f176e6d22a3 in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x00007f176e6d2678 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4 #8 0x00007f176cbcb65d in ?? () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f176c93f247 in start_thread () from /lib/libpthread.so.0 #10 0x00007f176b39699d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f1770179760 (LWP 4361)): [KCrash Handler] #4 0x00007f176b2ff5e5 in raise () from /lib/libc.so.6 #5 0x00007f176b30095e in abort () from /lib/libc.so.6 #6 0x00007f176cbc3721 in qt_message_output () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f176cbc3881 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f176cbc3a2f in qFatal () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f1769809e1b in Sublime::MainWindowPrivate::aboutToRemoveView (this=0xfe37a0, index=0x1001000, view=0x528e550) at /home/niko/kdesvn/kdevplatform/sublime/mainwindow_p.cpp:468 #10 0x00007f17698045fd in Sublime::MainWindow::qt_metacall (this=0xfdf9e0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff27cd14e0) at /home/niko/kdesvn/build/kdevplatform/sublime/mainwindow.moc:119 #11 0x00007f176f6fa41d in KDevelop::MainWindow::qt_metacall (this=0xfdf9e0, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0x7fff27cd14e0) at /home/niko/kdesvn/build/kdevplatform/shell/mainwindow.moc:83 #12 0x00007f176ccc5296 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007f17697f376b in Sublime::Area::aboutToRemoveView (this=0xffa590, _t1=0x1001000, _t2=0x528e550) at /home/niko/kdesvn/build/kdevplatform/sublime/area.moc:116 #14 0x00007f17697f4d00 in Sublime::Area::removeView (this=0xffa590, view=0x528e550) at /home/niko/kdesvn/kdevplatform/sublime/area.cpp:211 #15 0x00007f176f723aa9 in KDevelop::PartDocument::close (this=0x5346080, mode=KDevelop::IDocument::Default) at /home/niko/kdesvn/kdevplatform/shell/partdocument.cpp:135 #16 0x00007f176f72347d in KDevelop::PartDocument::closeDocument (this=0x5346080) at /home/niko/kdesvn/kdevplatform/shell/partdocument.cpp:153 #17 0x00007f17697f4d9f in Sublime::Area::closeView (this=0xffa590, view=0x528e550) at /home/niko/kdesvn/kdevplatform/sublime/area.cpp:430 #18 0x00007f176f729bdf in KDevelop::DocumentController::closeAllOtherDocuments (this=0x102db10) at /home/niko/kdesvn/kdevplatform/shell/documentcontroller.cpp:777 #19 0x00007f176f72a3d8 in KDevelop::DocumentController::qt_metacall (this=0x102db10, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff27cd19c0) at /home/niko/kdesvn/build/kdevplatform/shell/documentcontroller.moc:118 #20 0x00007f176ccc5296 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #21 0x00007f176bc4bfe4 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007f176bc4d1ae in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007f176bc4e1a0 in QAction::event () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007f176d386d26 in KAction::event () from /usr/lib/libkdeui.so.5 #25 0x00007f176bc51ae9 in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4 #26 0x00007f176bc5449f in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #27 0x00007f176d44db28 in KApplication::notify () from /usr/lib/libkdeui.so.5 #28 0x00007f176ccb3afa in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 #29 0x00007f176bc88b7f in ?? () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007f176bc89d11 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #31 0x00007f176bc557a0 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #32 0x00007f176d44db28 in KApplication::notify () from /usr/lib/libkdeui.so.5 #33 0x00007f176ccb3afa in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007f176bc52082 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #35 0x00007f176bcec5b9 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #36 0x00007f176bcee4a3 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #37 0x00007f176bcca4c5 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4 #38 0x00007f176bcf13de in ?? () from /usr/lib64/qt4/libQtGui.so.4 #39 0x00007f176695bf91 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0x00007f176695ee85 in ?? () from /usr/lib/libglib-2.0.so.0 #41 0x00007f176695f2b8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #42 0x00007f176ccdb54b in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #43 0x00007f176bcf1218 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #44 0x00007f176ccb2f73 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #45 0x00007f176ccb326d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4 #46 0x00007f176ccb4ffb in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4 #47 0x00000000004080a9 in main (argc=1, argv=0x7fff27cd4e98) at /home/niko/kdesvn/kdevelop/app/main_internal.cpp:222 Reported using DrKonqi
Just hit this crash again.
Can you reproduce this? It would be helpful if you could describe your main-window layout before the crash happened. How many files were open, and did you use split-views?
- default tool views, nothing moved around - only toolbar customized - no split views open - "a lot" of files open so I lost the overview and had to close them all Can't really reproduce, it just happens sometimes.
Yay, I got it reproducible: - open two source files - open a pdf file - nothing happens (no error, to pdf gets opened) - Close All - Crash Maybe something is wrong on my system as the pdf doesn't get opened. This is the console output when I try to open the pdf file: kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers kdevelop(26951)/kdevplatform (sublime) Sublime::Area::addView: view added in Sublime::Area(0x10026e0, name = "code") kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::areaViewAdded: added view in Sublime::Area(0x10026e0, name = "code") , id "code_9442551" kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::changed: recording change done to "code_9442551" kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSet::saveFromArea: saving "code_9442551" from area kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") QObject(0x0) false kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") Sublime::Area(0x10026e0, name = "code") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0xfff6a0, name = "debug") Sublime::Area(0xfff6a0, name = "debug") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10081e0, name = "review") Sublime::Area(0x10081e0, name = "review") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") QObject(0x0) false kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10026e0, name = "code") Sublime::Area(0x10026e0, name = "code") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0xfff6a0, name = "debug") Sublime::Area(0xfff6a0, name = "debug") true kdevelop(26951)/kdevplatform (shell) KDevelop::WorkingSetWidget::workingSetsChanged: re-creating widget Sublime::Area(0x10081e0, name = "review") Sublime::Area(0x10081e0, name = "review") true kdevelop(26951)/kdevplatform (sublime) Sublime::MainWindowPrivate::ViewCreator::operator: reconstructing views for area index 0xfff3d0 kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 1.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 2.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (shell) KDevelop::PartController::createPart: creating part with url KUrl("file:///home/niko/www/haus 3.pdf") and pref part: "" kdevelop(26951)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 1 offers QObject::connect: Cannot connect (null)::destroyed() to Sublime::View::unsetWidget() kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: got signal from mainwindow: KDevelop::MainWindow(0xfe6c90, name = "MainWindow") "Doleschal: library, vps-1.8, phpunit, doleschal - [ vps-1.8/tests/Vpc/News/Test.php ] ? KDevelop" kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: its area is: Sublime::Area(0x10026e0, name = "code") "Code" kdevelop(26951)/kdevplatform (documentswitcher) DocumentSwitcherPlugin::addView: adding view: Sublime::View(0x51f2ef0) "haus 3.pdf" kdevelop(26951)/kdevplatform (usehighlight) ContextBrowserView::documentJumpPerformed: updating jump source kdevelop(26951)/kdevplatform (usehighlight) ContextBrowserView::documentJumpPerformed: new doc: 0x5b7dcc0 new cursor: (0, 0)
Hmm, that doesn't crash for me here, but the PDF is also not opened. The QObject::connect error might hint to the fact that fetching the KPart worked, but not creating the widget from it, but for some reason thats ignored to a certain extent. Hence various signals are sent out and sublime thinks it has a view for it, but in fact doesn't?
Using 4.3.5 here, maybe that matters. What *should* happen when opening a pdf?
(In reply to comment #6) > Using 4.3.5 here, maybe that matters. Its 4.3.4 here. > What *should* happen when opening a pdf? Well, okular should be loaded (as kpart) and shown as a new tab in KDevelop. Similar to how ui-files are loaded with kuiserver. Of course only if it is installed.
ok, the crash is not reproducible anymore (maybe it was a kde bug, at least with 4.4.4 it works). still, we have to fix pdf loading, I'll take a look at it now.