Bug 280994 - closing kdevelop befor the projects are finaly opened leads to crash
Summary: closing kdevelop befor the projects are finaly opened leads to crash
Status: RESOLVED DUPLICATE of bug 296348
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: 4.2.60
Platform: Ubuntu Linux
: HI crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 290446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-29 12:32 UTC by Jonathan Kolberg
Modified: 2013-01-31 20:49 UTC (History)
1 user (show)

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 Jonathan Kolberg 2011-08-29 12:32:07 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-9-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I had just opened a session containing some projects and closed kdevelop before any project was loaded.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f961d675780 (LWP 19724))]

Thread 5 (Thread 0x7f96033a9700 (LWP 19735)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f961bb640be in wait (time=1000, this=0x3fd5d10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3fd6c90, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9617f3170b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3fd6c70) at /home/jonathan/kde4/src/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007f961bb63ca5 in QThreadPrivate::start (arg=0x3fd6c70) at thread/qthread_unix.cpp:320
#5  0x00007f9619bc2edc in start_thread (arg=0x7f96033a9700) at pthread_create.c:304
#6  0x00007f961a84189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f95ed659700 (LWP 19739)):
#0  0x00007f96157c8551 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f96157c929d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96157c98c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f961bc75f4e in QEventDispatcherGlib::processEvents (this=0x5491900, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f961bc49d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f961bc49f57 in QEventLoop::exec (this=0x7f95ed658dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f961bb6121f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#7  0x00007f961bc2cd1f in QInotifyFileSystemWatcherEngine::run (this=0x5471670) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f961bb63ca5 in QThreadPrivate::start (arg=0x5471670) at thread/qthread_unix.cpp:320
#9  0x00007f9619bc2edc in start_thread (arg=0x7f95ed659700) at pthread_create.c:304
#10 0x00007f961a84189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f95eb9df700 (LWP 20216)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9612d4615c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f9612d46289 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f9619bc2edc in start_thread (arg=0x7f95eb9df700) at pthread_create.c:304
#4  0x00007f961a84189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f95e99db700 (LWP 20222)):
[KCrash Handler]
#6  0x00007f95ec4124be in node_create (avalue=..., akey=@0xffffffffffffffa8, aupdate=0x7f95e99d9ff0, adt=0x5944430, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:453
#7  QMap<KDevelop::IProject*, CMakeProjectData>::detach_helper (this=0x5746800) at /usr/include/qt4/QtCore/qmap.h:760
#8  0x00007f95ec4089de in detach (this=0x5746800) at /usr/include/qt4/QtCore/qmap.h:202
#9  operator[] (akey=<synthetic pointer>, this=0x5746800) at /usr/include/qt4/QtCore/qmap.h:526
#10 CMakeManager::initializeProject (this=0x57467b0, project=0x55f8570) at /home/jonathan/kde4/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:480
#11 0x00007f95ec40caca in CMakeManager::parse (this=0x57467b0, item=0x61cc9f0) at /home/jonathan/kde4/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:680
#12 0x00007f961851e7f9 in KDevelop::ImportProjectJobPrivate::import (this=0x66eec20, folder=<optimized out>) at /home/jonathan/kde4/src/kdevplatform/project/importprojectjob.cpp:53
#13 0x00007f961851e4d6 in run (this=0x68664b0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#14 QtConcurrent::RunFunctionTask<void>::run (this=0x68664b0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:114
#15 0x00007f961bb586d5 in QThreadPoolThread::run (this=0x6aa9ea0) at concurrent/qthreadpool.cpp:106
#16 0x00007f961bb63ca5 in QThreadPrivate::start (arg=0x6aa9ea0) at thread/qthread_unix.cpp:320
#17 0x00007f9619bc2edc in start_thread (arg=0x7f95e99db700) at pthread_create.c:304
#18 0x00007f961a84189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f961d675780 (LWP 19724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f961bb6414b in wait (time=18446744073709551615, this=0x6acb9e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x679ce60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961bb57fe1 in QThreadPoolPrivate::waitForDone (this=0x679cdd0) at concurrent/qthreadpool.cpp:295
#4  0x00007f961bb594cf in QThreadPool::~QThreadPool (this=0x65f83b0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:428
#5  0x00007f961bb59509 in QThreadPool::~QThreadPool (this=0x65f83b0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:430
#6  0x00007f961bb59535 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7f961bf7e1a8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1822
#7  0x00007f961a79b821 in __run_exit_handlers (status=1, listp=0x7f961aaf85a8, run_list_atexit=true) at exit.c:78
#8  0x00007f961a79b8a5 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00007f961b06c288 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#10 0x00007f961c428118 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#11 0x00007f9616c5c0ce in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f9616c598ad in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f9616c4a14f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f961b0a75dc in x11EventSourceCheck (s=0x1b69c70) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007f96157c8bd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f96157c9422 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f96157c98c9 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f961bc75ee6 in QEventDispatcherGlib::processEvents (this=0x1b35fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#19 0x00007f961b0a77ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f961bc49d52 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f961bc49f57 in QEventLoop::exec (this=0x7fff02397090, flags=...) at kernel/qeventloop.cpp:201
#22 0x00007f961bc4e7e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#23 0x000000000040a159 in main (argc=<optimized out>, argv=<optimized out>) at /home/jonathan/kde4/src/kdevelop/app/main.cpp:474

Reported using DrKonqi
Comment 1 Milian Wolff 2011-08-29 19:53:58 UTC
yeah saw that myself from time to time...
Comment 2 Aleix Pol 2012-02-12 15:58:59 UTC
*** Bug 290446 has been marked as a duplicate of this bug. ***
Comment 3 Kevin Funk 2013-01-31 20:49:47 UTC

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