Bug 196411 - Crash after loading a project
Summary: Crash after loading a project
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-13 23:39 UTC by Shaun Reich
Modified: 2009-06-14 00:20 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 Shaun Reich 2009-06-13 23:39:56 UTC
Application that crashed: kdevelop
Version of the application: 3.9.93 (using KDevPlatform 0.9.93)
KDE Version: 4.2.91 (KDE 4.2.91 (KDE 4.3 >= 20090609))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686

What I was doing when the application crashed:
There really is not much information I can say about this crash. The only thing that I really did was open up kdevelop, then load a cmake project that I had loaded before(kdebase/runtime) via the recent projects menu, then looked around in a file. The project finished loading as I was browsing that file, then it crashed. Hopefully this report is of use. Unknown reproducability.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 0 (LWP 3508)]

Thread 8 (Thread 0xb1f03b70 (LWP 3509)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb6badf82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c0b36f in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5a77664 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x98d3a38) at /home/shaun/kde/src/kdevplatform/language/duchain/duchain.cpp:280
#4  0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#6  0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaf417b70 (LWP 3526)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb5fcd1d6 in poll () from /lib/libc.so.6
#2  0xb53c023b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb53b31ab in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#4  0xb53b34a3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6d26a57 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6cf9cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb6cfa122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb6c070c3 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb5b94d69 in KDevelop::CompletionWorkerThread::run (this=0xa1b2708) at /home/shaun/kde/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#10 0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#12 0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 6 (Thread 0xae415b70 (LWP 3527)):
#0  0xb542feb6 in clock_gettime () from /lib/librt.so.1
#1  0xb6d2850b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6d28701 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6d29adc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6d26c00 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53b2bf0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb53b2f91 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#7  0xb53b34a3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6d26a57 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb6cf9cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb6cfa122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb6c070c3 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb5b94d69 in KDevelop::CompletionWorkerThread::run (this=0xa1b5400) at /home/shaun/kde/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#13 0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#14 0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#15 0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 5 (Thread 0xacf52b70 (LWP 3534)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb6badf82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c09da1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6c09ee3 in QThread::msleep () from /usr/lib/libQtCore.so.4
#4  0xad9b5290 in UIBlockTester::UIBlockTesterThread::run (this=0xa248a10) at /home/shaun/kde/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:965
#5  0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#6  0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#7  0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaec16b70 (LWP 3535)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb6badc55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c0b3e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb781a020 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9772e18, th=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb781dcae in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9752078, th=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb7819f9f in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9772e18, th=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb781dc52 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9752078, th=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb7819f78 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9772e18, th=0x9a09818, previous=0x99dbba8) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb781b709 in ThreadWeaver::ThreadRunHelper::run (this=0xaec16304, parent=0x9772e18, th=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#9  0xb781ba9d in ThreadWeaver::Thread::run (this=0x9a09818) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#12 0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac093b70 (LWP 3536)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb6badc55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c0b3e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb781a020 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9772e18, th=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb781dcae in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9752078, th=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb7819f9f in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9772e18, th=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb781dc52 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9752078, th=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb7819f78 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9772e18, th=0x9f84048, previous=0xb7e45c8) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb781b709 in ThreadWeaver::ThreadRunHelper::run (this=0xac093304, parent=0x9772e18, th=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#9  0xb781ba9d in ThreadWeaver::Thread::run (this=0x9f84048) at /home/shaun/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#12 0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaa5ceb70 (LWP 3556)):
[KCrash Handler]
#6  0xb7f64424 in __kernel_vsyscall ()
#7  0xb5f327a1 in raise () from /lib/libc.so.6
#8  0xb5f33fd4 in abort () from /lib/libc.so.6
#9  0xb5f742ab in malloc_printerr () from /lib/libc.so.6
#10 0xb5f78b26 in free () from /lib/libc.so.6
#11 0xb6c04b5d in qFree () from /usr/lib/libQtCore.so.4
#12 0xb6c4fe90 in QString::free () from /usr/lib/libQtCore.so.4
#13 0xaa64cb7f in ~QString (this=0xaa5cd1cc) at /usr/include/QtCore/qstring.h:866
#14 0xaa684e8d in recursivity (functionName=@0xaa5cd240) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1894
#15 0xaa685696 in CMakeProjectVisitor::walk (this=0xaa5cddf0, fc=@0xc3db438, line=5, isClean=false) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1950
#16 0xaa67c45a in CMakeProjectVisitor::visit (this=0xaa5cddf0, ifast=0xc3db430) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138
#17 0xaa66c2a7 in IfAst::accept (this=0xc3db430, visitor=0xaa5cddf0) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#18 0xaa6859a0 in CMakeProjectVisitor::walk (this=0xaa5cddf0, fc=@0xaa5cd6c8, line=1, isClean=false) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972
#19 0xaa67b246 in CMakeProjectVisitor::visit (this=0xaa5cddf0, call=0xc320830) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1014
#20 0xaa66bdcf in MacroCallAst::accept (this=0xc320830, visitor=0xaa5cddf0) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:118
#21 0xaa6859a0 in CMakeProjectVisitor::walk (this=0xaa5cddf0, fc=@0xaa5cda78, line=20, isClean=false) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972
#22 0xaa67b246 in CMakeProjectVisitor::visit (this=0xaa5cddf0, call=0xba48918) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1014
#23 0xaa66bdcf in MacroCallAst::accept (this=0xba48918, visitor=0xaa5cddf0) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:118
#24 0xaa6859a0 in CMakeProjectVisitor::walk (this=0xaa5cddf0, fc=@0xaa5cdf0c, line=12, isClean=false) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972
#25 0xaa611681 in CMakeManager::parse (this=0xa4860f8, item=0xb562a98) at /home/shaun/kde/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:478
#26 0xb5cb73d3 in KDevelop::ImportProjectJobPrivate::import (this=0xb16bdb0, folder=0xb562a98) at /home/shaun/kde/src/kdevplatform/project/importprojectjob.cpp:47
#27 0xb5cb740f in KDevelop::ImportProjectJobPrivate::import (this=0xb16bdb0, folder=0xbb84640) at /home/shaun/kde/src/kdevplatform/project/importprojectjob.cpp:50
#28 0xb5cb740f in KDevelop::ImportProjectJobPrivate::import (this=0xb16bdb0, folder=0xb905688) at /home/shaun/kde/src/kdevplatform/project/importprojectjob.cpp:50
#29 0xb5cb7b2b in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0xaa04790)
    at /usr/include/QtCore/qtconcurrentstoredfunctioncall.h:426
#30 0xb5cb7198 in QtConcurrent::RunFunctionTask<void>::run (this=0xaa04790) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#31 0xb6c00867 in ?? () from /usr/lib/libQtCore.so.4
#32 0xb6c0a3be in ?? () from /usr/lib/libQtCore.so.4
#33 0xb6ba96bc in start_thread () from /lib/libpthread.so.0
#34 0xb5fd6ffe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5012710 (LWP 3508)):
#0  0xb7f64424 in __kernel_vsyscall ()
#1  0xb5fcff21 in select () from /lib/libc.so.6
#2  0xb5075055 in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#3  0xb50774d5 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb563b48e in _XReply () from /usr/lib/libX11.so.6
#5  0xb5630791 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#6  0xb6334f26 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#7  0xb6334f74 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#8  0xb6334f74 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#9  0xb6334f74 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#10 0xb6334f74 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#11 0xb62a69df in QApplicationPrivate::pickMouseReceiver () from /usr/lib/libQtGui.so.4
#12 0xb631bf2a in ?? () from /usr/lib/libQtGui.so.4
#13 0xb631b47c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#14 0xb6345e92 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb53afe08 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb53b3370 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#17 0xb53b34a3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0xb6d26a57 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0xb63455c5 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb6cf9cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0xb6cfa122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0xb6cfc49f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#23 0xb62a6527 in QApplication::exec () from /usr/lib/libQtGui.so.4
#24 0x0804f074 in main (argc=1, argv=0xbfe82294) at /home/shaun/kde/src/kdevelop/app/main.cpp:172

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-06-14 00:20:13 UTC
Looking at the backtrace this is either a problem with your kdevelop build or your Qt. Its crashing inside a QString destructor and the code in question doesn't use any QStrings that are not allocated on the stack. So not kdevelops fault here.