Bug 256247

Summary: Crash on startup
Product: [Applications] kdevelop Reporter: Andreas Cord-Landwehr <cordlandwehr>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.1.0   
Target Milestone: 4.1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Cord-Landwehr 2010-11-06 18:56:40 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.2 (KDE 4.5.2) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
I started Kdevelop (fresh compiled with 4.1 sources) with a PHP session that contains several projects. At startup Kdevelop crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb36ac710 (LWP 19911))]

Thread 4 (Thread 0xb019ab70 (LWP 19912)):
#0  0xb78b3424 in __kernel_vsyscall ()
#1  0xb5f9b482 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb626ee64 in __pthread_cond_timedwait (cond=0xa405d70, mutex=0xa405d58, abstime=0xb019a2b0) at forward.c:152
#3  0xb6ee5f3f in QWaitConditionPrivate::wait (this=0xa0f701c, mutex=0xa0f7020, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa0f701c, mutex=0xa0f7020, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb5a16565 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa0f7010) at ../../language/duchain/duchain.cpp:286
#6  0xb6ee4fbe in QThreadPrivate::start (arg=0xa0f7010) at thread/qthread_unix.cpp:248
#7  0xb5f96955 in start_thread (arg=0xb019ab70) at pthread_create.c:300
#8  0xb6261e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaebfab70 (LWP 19913)):
#0  0xb78b3424 in __kernel_vsyscall ()
#1  0xb5f9af7f in __pthread_cond_wait (cond=0xa58b3e8, mutex=0xa58b3d0) at pthread_cond_wait.c:153
#2  0xb626ee0d in __pthread_cond_wait (cond=0xa58b3e8, mutex=0xa58b3d0) at forward.c:139
#3  0xb6ee5fb7 in QWaitConditionPrivate::wait (this=0xa58c400, mutex=0xa58b570, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa58c400, mutex=0xa58b570, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5241682 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa58c3e8, th=0xa590610) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb52443dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa55c6f0, th=0xa590610) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb524024b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa58c3e8, th=0xa590610) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb52444d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa55c6f0, th=0xa590610) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb5241be3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa58c3e8, th=0xa590610, previous=0xa604210) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb524257e in ThreadWeaver::ThreadRunHelper::run (this=0xaebfa2f4, parent=0xa58c3e8, th=0xa590610) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb5242c9b in ThreadWeaver::Thread::run (this=0xa590610) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6ee4fbe in QThreadPrivate::start (arg=0xa590610) at thread/qthread_unix.cpp:248
#13 0xb5f96955 in start_thread (arg=0xaebfab70) at pthread_create.c:300
#14 0xb6261e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xae3f9b70 (LWP 19915)):
#0  0xb78b3424 in __kernel_vsyscall ()
#1  0xb5f9af7f in __pthread_cond_wait (cond=0xa58b3e8, mutex=0xa58b3d0) at pthread_cond_wait.c:153
#2  0xb626ee0d in __pthread_cond_wait (cond=0xa58b3e8, mutex=0xa58b3d0) at forward.c:139
#3  0xb6ee5fb7 in QWaitConditionPrivate::wait (this=0xa58c400, mutex=0xa58b570, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa58c400, mutex=0xa58b570, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5241682 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa58c3e8, th=0xa5f90b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb52443dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa55c6f0, th=0xa5f90b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb524024b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa58c3e8, th=0xa5f90b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb52444d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa55c6f0, th=0xa5f90b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb5241be3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa58c3e8, th=0xa5f90b0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb524257e in ThreadWeaver::ThreadRunHelper::run (this=0xae3f92f4, parent=0xa58c3e8, th=0xa5f90b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb5242c9b in ThreadWeaver::Thread::run (this=0xa5f90b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6ee4fbe in QThreadPrivate::start (arg=0xa5f90b0) at thread/qthread_unix.cpp:248
#13 0xb5f96955 in start_thread (arg=0xae3f9b70) at pthread_create.c:300
#14 0xb6261e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb36ac710 (LWP 19911)):
[KCrash Handler]
#7  QBasicAtomicInt::ref (this=0xbfe54c14, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QUrl (this=0xbfe54c14, other=...) at io/qurl.cpp:4150
#9  0xb7707469 in KUrl (this=0xbfe54c14, _u=...) at ../../kdecore/io/kurl.cpp:472
#10 0xb5bba28f in KDevelop::ProjectBaseItem::url (this=0xa5127d8) at ../../project/projectmodel.cpp:354
#11 0xaf95382f in GenericManagerListJob::startNextJob (this=0xa504288) at ../../../plugins/genericprojectmanager/genericmanagerlistjob.cpp:61
#12 0xaf9539a3 in GenericManagerListJob::qt_metacall (this=0xa504288, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xa5f6c38) at ./genericmanagerlistjob.moc:93
#13 0xb6fe67aa in QMetaObject::metacall (object=0xa504288, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xa5f6c38) at kernel/qmetaobject.cpp:237
#14 0xb6ff0d36 in QMetaCallEvent::placeMetaCall (this=0xa608ab8, object=0xa504288) at kernel/qobject.cpp:561
#15 0xb6ff1dfe in QObject::event (this=0xa504288, e=0xa608ab8) at kernel/qobject.cpp:1248
#16 0xb652a5cc in QApplicationPrivate::notify_helper (this=0x9fcd940, receiver=0xa504288, e=0xa608ab8) at kernel/qapplication.cpp:4302
#17 0xb653115e in QApplication::notify (this=0xbfe55b08, receiver=0xa504288, e=0xa608ab8) at kernel/qapplication.cpp:3706
#18 0xb72edc8a in KApplication::notify (this=0xbfe55b08, receiver=0xa504288, event=0xa608ab8) at ../../kdeui/kernel/kapplication.cpp:310
#19 0xb6fe14cb in QCoreApplication::notifyInternal (this=0xbfe55b08, receiver=0xa504288, event=0xa608ab8) at kernel/qcoreapplication.cpp:726
#20 0xb6fe4f2c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9fb2bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fb2bb0) at kernel/qcoreapplication.cpp:1367
#22 0xb6fe50ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#23 0xb700d57f in QCoreApplication::sendPostedEvents (s=0x9fcfb78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x9fcfb78) at kernel/qeventdispatcher_glib.cpp:276
#25 0xb55e0305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0xb55e3fe8 in ?? () from /lib/libglib-2.0.so.0
#27 0xb55e41c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0xb700d075 in QEventDispatcherGlib::processEvents (this=0x9fb2870, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0xb65e8ed5 in QGuiEventDispatcherGlib::processEvents (this=0x9fb2870, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb6fdfae9 in QEventLoop::processEvents (this=0xbfe55464, flags=) at kernel/qeventloop.cpp:149
#31 0xb6fdff3a in QEventLoop::exec (this=0xbfe55464, flags=...) at kernel/qeventloop.cpp:201
#32 0xb7717b79 in KJob::exec (this=0xa54a410) at ../../kdecore/jobs/kjob.cpp:204
#33 0xb756ebba in KDevelop::ProjectPrivate::initProjectFiles (this=0xa504748) at ../../shell/project.cpp:275
#34 0xb756b76e in KDevelop::Project::open (this=0xa5eb4b8, projectFileUrl_=...) at ../../shell/project.cpp:502
#35 0xb7569609 in KDevelop::ProjectControllerPrivate::importProject (this=0xa359418, url=...) at ../../shell/projectcontroller.cpp:253
#36 0xb75660ea in KDevelop::ProjectController::openProject (this=0xa2c41b0, projectFile=...) at ../../shell/projectcontroller.cpp:605
#37 0xb7561e13 in KDevelop::ProjectController::initialize (this=0xa2c41b0) at ../../shell/projectcontroller.cpp:466
#38 0xb75593ed in KDevelop::CorePrivate::initialize (this=0xa094890, mode=KDevelop::Core::Default, session=...) at ../../shell/core.cpp:207
#39 0xb7559d0d in KDevelop::Core::initialize (splash=0xa08a3a0, mode=KDevelop::Core::Default, session=...) at ../../shell/core.cpp:263
#40 0x0804ef2e in _start ()

Possible duplicates by query: bug 254261, bug 246517, bug 244083.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-11-06 20:13:11 UTC
fixed for kdev 4.1.1 - stay tuned please

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