Application: kdevelop (4.0.82) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-24-generic x86_64 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: I just switched from one session to another and this crash appeared. I think this happend while closing the old session because the new session appeared without problems. Hope it helps! -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0x7fb7df999760 (LWP 17857))] Thread 9 (Thread 0x7fb7cb08c710 (LWP 17858)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fb7d9a6d2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb7d9d4b220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #2 0x00007fb7d9a6d2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb7d9d592ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #3 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fb7ca059710 (LWP 17869)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007fb7dc27f692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x18da6f0, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x18da6f0, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fb7d8de4c8f in KDevelop::DUChainPrivate::CleanupThread::run (this=0x18da6d0) at /home/markus/kdesource/kdevplatform/language/duchain/duchain.cpp:286 #4 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x18da6d0) at thread/qthread_unix.cpp:248 #5 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fb7bacc6710 (LWP 17878)): #0 0x00007fb7da69ef83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fb7d58304a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fb7d58308fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fb7dc39c566 in QEventDispatcherGlib::processEvents (this=0x26516e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fb7dc371992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fb7dc371d6c in QEventLoop::exec (this=0x7fb7bacc5db0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fb7dc27bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fb7d8f0cc71 in KDevelop::CompletionWorkerThread::run (this=0x265a7f0) at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionmodel.cpp:81 #8 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x265a7f0) at thread/qthread_unix.cpp:248 #9 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fb7ba4c5710 (LWP 17879)): #0 0x00007fb7d58308c1 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #1 0x00007fb7dc39c566 in QEventDispatcherGlib::processEvents (this=0x2e1e490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #2 0x00007fb7dc371992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #3 0x00007fb7dc371d6c in QEventLoop::exec (this=0x7fb7ba4c4db0, flags=) at kernel/qeventloop.cpp:201 #4 0x00007fb7dc27bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #5 0x00007fb7dc352178 in QInotifyFileSystemWatcherEngine::run (this=0x261b5c0) at io/qfilesystemwatcher_inotify.cpp:248 #6 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x261b5c0) at thread/qthread_unix.cpp:248 #7 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #8 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fb7b5164710 (LWP 17905)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fb7dc27f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17b4830, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x17b4830, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fb7dddda026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17e6a40, th=0x4b4bb70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fb7ddddc6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17cb4a0, th=0x4b4bb70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fb7ddddabff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb7b5163e00, parent=0x17e6a40, th=0x4b4bb70) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007fb7ddddb168 in ThreadWeaver::Thread::run (this=0x4b4bb70) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x4b4bb70) at thread/qthread_unix.cpp:248 #8 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fb7b4770710 (LWP 17906)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fb7dc27f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17b4830, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x17b4830, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fb7dddda026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17e6a40, th=0x7fb7c40d3420) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fb7ddddc6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17cb4a0, th=0x7fb7c40d3420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fb7ddddc6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17cb4a0, th=0x7fb7c40d3420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007fb7ddddc6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17cb4a0, th=0x7fb7c40d3420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00007fb7ddddabff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb7b476fe00, parent=0x17e6a40, th=0x7fb7c40d3420) at ../../../threadweaver/Weaver/Thread.cpp:87 #8 0x00007fb7ddddb168 in ThreadWeaver::Thread::run (this=0x7fb7c40d3420) at ../../../threadweaver/Weaver/Thread.cpp:142 #9 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x7fb7c40d3420) at thread/qthread_unix.cpp:248 #10 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #11 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fb7b24e1710 (LWP 18926)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fb7dc27f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x6160e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x6160e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fb7dddda026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4d8aea0, th=0x4ebc5e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fb7ddddc6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x4dbf9a0, th=0x4ebc5e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fb7ddddabff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb7b24e0e00, parent=0x4d8aea0, th=0x4ebc5e0) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007fb7ddddb168 in ThreadWeaver::Thread::run (this=0x4ebc5e0) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x4ebc5e0) at thread/qthread_unix.cpp:248 #8 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fb7b1ce0710 (LWP 18927)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fb7dc27f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x6160e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x6160e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fb7dddda026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4d8aea0, th=0x501e010) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007fb7ddddc6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x4dbf9a0, th=0x501e010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007fb7ddddabff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb7b1cdfe00, parent=0x4d8aea0, th=0x501e010) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007fb7ddddb168 in ThreadWeaver::Thread::run (this=0x501e010) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007fb7dc27e775 in QThreadPrivate::start (arg=0x501e010) at thread/qthread_unix.cpp:248 #8 0x00007fb7dbfee9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007fb7da6ab6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fb7df999760 (LWP 17857)): [KCrash Handler] #4 0x0000000005acffe0 in ?? () #5 0x00007fb7df421e69 in KJob::kill (this=0x2152860, verbosity=KJob::Quietly) at ../../kdecore/jobs/kjob.cpp:106 #6 0x00007fb7c8b2f187 in GenericProjectManager::projectClosing (this=0x21526f0, project=0x213bf40) at /home/markus/kdesource/kdevplatform/plugins/genericprojectmanager/genericmanager.cpp:101 #7 0x00007fb7c8b32ccd in GenericProjectManager::qt_metacall (this=0x21526f0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff6ce72a60) at /home/markus/kdesource/build/kdevplatform/plugins/genericprojectmanager/genericmanager.moc:106 #8 0x00007fb7dc385e3f in QMetaObject::activate (sender=0x14f39c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293 #9 0x00007fb7df106f4f in KDevelop::IProjectController::projectClosing (this=0x14f39c0, _t1=0x213bf40) at /home/markus/kdesource/build/kdevplatform/interfaces/iprojectcontroller.moc:167 #10 0x00007fb7dee333de in KDevelop::ProjectController::closeProject (this=0x14f39c0, proj_=0x213bf40) at /home/markus/kdesource/kdevplatform/shell/projectcontroller.cpp:734 #11 0x00007fb7dee31677 in KDevelop::ProjectController::cleanup (this=0x14f39c0) at /home/markus/kdesource/kdevplatform/shell/projectcontroller.cpp:455 #12 0x00007fb7dee28a77 in KDevelop::Core::cleanup (this=0x14e7230) at /home/markus/kdesource/kdevplatform/shell/core.cpp:325 #13 0x00007fb7dee13c2c in ~MainWindow (this=0x14f9980, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/markus/kdesource/kdevplatform/shell/mainwindow.cpp:122 #14 0x00007fb7dc382d6d in QObject::event (this=0x14f9980, e=0x4f28d30) at kernel/qobject.cpp:1231 #15 0x00007fb7db564bdf in QWidget::event (this=0x14f9980, event=0x4f28d30) at kernel/qwidget.cpp:8455 #16 0x00007fb7db927cab in QMainWindow::event (this=0x14f9980, event=0x4f28d30) at widgets/qmainwindow.cpp:1433 #17 0x00007fb7dcc4a6f3 in KXmlGuiWindow::event (this=0x2152860, ev=0x0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131 #18 0x00007fb7db50f22c in QApplicationPrivate::notify_helper (this=0x131c480, receiver=0x14f9980, e=0x4f28d30) at kernel/qapplication.cpp:4300 #19 0x00007fb7db5156fb in QApplication::notify (this=0x7fff6ce73b20, receiver=0x14f9980, e=0x4f28d30) at kernel/qapplication.cpp:4183 #20 0x00007fb7dcb33526 in KApplication::notify (this=0x7fff6ce73b20, receiver=0x14f9980, event=0x4f28d30) at ../../kdeui/kernel/kapplication.cpp:302 #21 0x00007fb7dc37306c in QCoreApplication::notifyInternal (this=0x7fff6ce73b20, receiver=0x14f9980, event=0x4f28d30) at kernel/qcoreapplication.cpp:704 #22 0x00007fb7dc3757e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x12fb750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x12fb750) at kernel/qcoreapplication.cpp:1345 #24 0x00007fb7dc39c9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #25 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276 #26 0x00007fb7d582c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #27 0x00007fb7d5830748 in ?? () from /lib/libglib-2.0.so.0 #28 0x00007fb7d58308fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #29 0x00007fb7dc39c513 in QEventDispatcherGlib::processEvents (this=0x12fae90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #30 0x00007fb7db5bf46e in QGuiEventDispatcherGlib::processEvents (this=0x2152860, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #31 0x00007fb7dc371992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #32 0x00007fb7dc371d6c in QEventLoop::exec (this=0x7fff6ce738c0, flags=) at kernel/qeventloop.cpp:201 #33 0x00007fb7dc375aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #34 0x0000000000409326 in main (argc=1, argv=0x7fff6ce75378) at /home/markus/kdesource/kdevelop/app/main.cpp:379 Reported using DrKonqi
commit e7c8e4bae5cadada5c677c12b4a5f60db942c885 Author: Milian Wolff <mail@milianw.de> Date: Tue Sep 28 17:56:42 2010 +0200 protect against dangling pointers due to silently killed jobs BUG: 252656 diff --git a/plugins/genericprojectmanager/genericmanager.cpp b/plugins/genericprojectmanager/genericmanager.cpp index e322e1b..0b94d40 100644 --- a/plugins/genericprojectmanager/genericmanager.cpp +++ b/plugins/genericprojectmanager/genericmanager.cpp @@ -166,7 +166,7 @@ KJob* GenericProjectManager::eventuallyReadFolder( KDevelop::ProjectFolderItem* KDevelop::ICore::self()->runController()->registerJob( listJob ); - connect( listJob, SIGNAL(result(KJob*)), + connect( listJob, SIGNAL(finished(KJob*)), this, SLOT(jobFinished(KJob*)) ); connect( listJob, SIGNAL(entries(KDevelop::ProjectFolderItem*, KIO::UDSEntryList, bool)),
Created attachment 52334 [details] New crash information added by DrKonqi kdevelop (4.1.60) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: I just want to switch to another session. Note: Today on 08.10.10 i do a fresh checkout of kdevplatform and kdevelop from git and build it by my own. So the bug cannot be fixed yet. -- Backtrace (Reduced): #6 0x00007fabbeccce06 in KJob::kill(KJob::KillVerbosity) () from /usr/lib/libkdecore.so.5 #7 0x00007faba5c6b1da in GenericProjectManager::projectClosing (this=0x32f5c60, project=0x330ff70) at /home/sassman/workspaces/cpp/kdevplatform/plugins/genericprojectmanager/genericmanager.cpp:101 #8 0x00007faba5c6b520 in GenericProjectManager::qt_metacall (this=0x32f5c60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff950ad110) at /home/sassman/workspaces/cpp/kdevplatform/build/plugins/genericprojectmanager/genericmanager.moc:106 [...] #10 0x00007fabbe9900d2 in KDevelop::IProjectController::projectClosing (this=0x2814420, _t1=0x330ff70) at /home/sassman/workspaces/cpp/kdevplatform/build/interfaces/iprojectcontroller.moc:167 #11 0x00007fabbe6edff7 in KDevelop::ProjectController::closeProject (this=0x28ea430, proj_=<value optimized out>) at /home/sassman/workspaces/cpp/kdevplatform/shell/projectcontroller.cpp:734
hm if that is reproducible, run kdevelop through valgrind please: valgrind --track-origins=yes kdevelop
Hello, i have try this, and will give one more note: the error did only occour if i git update some projects (from an external konsole) that are open in the kdevelop session and then switch to another session it crashes. i'am not sure how i can use valgrind to dump the needed infos... maybe you can tell me...but valgrind has detects something.. look at the end of attachment. Mit freundlichen Grüßen Sven Aßmann _____________________________________ Diplom Informatiker (FH) Sven Aßmann Lubico Business Beratung / Entwicklung Consulting / Development Mobil : +49 173 69 87 054 Internet : http://www.lubico.biz Blog : http://blog.lubico.biz Am Freitag, 8. Oktober 2010 19:11:56 schrieb Milian Wolff: > valgrind --track-origins=yes kdevelop
I think you forgot the attachement ;-) And you'd just have to run the above mentioned command and save the output somewhere, then send it to me. Bye
waiting for info or a way to reproduce
*** Bug 269809 has been marked as a duplicate of this bug. ***
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!