Bug 279864

Summary: Crash when building project
Product: [Applications] kdevelop Reporter: Piotr <deszynski>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: olivier.jg
Priority: NOR    
Version: 4.2.2   
Target Milestone: 4.2.3   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Piotr 2011-08-11 07:02:31 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Just clicked build. There were some missing files in project (.deps) probably this was the cause of crash.

The crash can be reproduced every time.

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

Thread 10 (Thread 0xaeae9b70 (LWP 4712)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb5e6f834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb60cf454 in __pthread_cond_timedwait (cond=0x88753f8, mutex=0x88753e0, abstime=0xaeae92c0) at forward.c:152
#3  0xb6d1f3e5 in wait (this=0x8859a3c, mutex=0x8859a40, time=1000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8859a3c, mutex=0x8859a40, time=1000) at thread/qwaitcondition_unix.cpp:160
#5  0xb58e175d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8859a30) at ../../language/duchain/duchain.cpp:286
#6  0xb6d1eda2 in QThreadPrivate::start (arg=0x8859a30) at thread/qthread_unix.cpp:320
#7  0xb5e6ae99 in start_thread (arg=0xaeae9b70) at pthread_create.c:304
#8  0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xab271b70 (LWP 4720)):
#0  0xb5e69610 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5e6d337 in __pthread_mutex_lock (mutex=0xae11f924) at pthread_mutex_lock.c:47
#2  0xb60cf616 in pthread_mutex_lock (mutex=0xae11f924) at forward.c:182
#3  0xb541c0e1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb541c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6e40577 in QEventDispatcherGlib::processEvents (this=0x8b821c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6e12289 in QEventLoop::processEvents (this=0xab271290, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6e12522 in QEventLoop::exec (this=0xab271290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6d1c2a0 in QThread::exec (this=0x8b809b0) at thread/qthread.cpp:492
#9  0xb6df3fdb in QInotifyFileSystemWatcherEngine::run (this=0x8b809b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6d1eda2 in QThreadPrivate::start (arg=0x8b809b0) at thread/qthread_unix.cpp:320
#11 0xb5e6ae99 in start_thread (arg=0xab271b70) at pthread_create.c:304
#12 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xaba72b70 (LWP 4726)):
#0  0xb541b34f in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb541be8c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb541c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb6e40577 in QEventDispatcherGlib::processEvents (this=0x8caf060, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb6e12289 in QEventLoop::processEvents (this=0xaba72290, flags=...) at kernel/qeventloop.cpp:149
#5  0xb6e12522 in QEventLoop::exec (this=0xaba72290, flags=...) at kernel/qeventloop.cpp:201
#6  0xb6d1c2a0 in QThread::exec (this=0x8cacb00) at thread/qthread.cpp:492
#7  0xb6df3fdb in QInotifyFileSystemWatcherEngine::run (this=0x8cacb00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6d1eda2 in QThreadPrivate::start (arg=0x8cacb00) at thread/qthread_unix.cpp:320
#9  0xb5e6ae99 in start_thread (arg=0xaba72b70) at pthread_create.c:304
#10 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa9134b70 (LWP 4789)):
#0  0xb5e6d337 in __pthread_mutex_lock (mutex=0x8609a8c) at pthread_mutex_lock.c:47
#1  0xb60cf616 in pthread_mutex_lock (mutex=0x8609a8c) at forward.c:182
#2  0xb541b4aa in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb541c03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb541c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6e40577 in QEventDispatcherGlib::processEvents (this=0x8839868, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6e12289 in QEventLoop::processEvents (this=0xa91342c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6e12522 in QEventLoop::exec (this=0xa91342c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6d1c2a0 in QThread::exec (this=0x8dc5860) at thread/qthread.cpp:492
#9  0xb59ed608 in KDevelop::CompletionWorkerThread::run (this=0x8dc5860) at ../../language/codecompletion/codecompletionmodel.cpp:80
#10 0xb6d1eda2 in QThreadPrivate::start (arg=0x8dc5860) at thread/qthread_unix.cpp:320
#11 0xb5e6ae99 in start_thread (arg=0xa9134b70) at pthread_create.c:304
#12 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa8933b70 (LWP 4790)):
#0  0xb541b010 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb541be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb541c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb6e40577 in QEventDispatcherGlib::processEvents (this=0x8734eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb6e12289 in QEventLoop::processEvents (this=0xa89332c0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb6e12522 in QEventLoop::exec (this=0xa89332c0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb6d1c2a0 in QThread::exec (this=0x8b906e0) at thread/qthread.cpp:492
#7  0xb59ed608 in KDevelop::CompletionWorkerThread::run (this=0x8b906e0) at ../../language/codecompletion/codecompletionmodel.cpp:80
#8  0xb6d1eda2 in QThreadPrivate::start (arg=0x8b906e0) at thread/qthread_unix.cpp:320
#9  0xb5e6ae99 in start_thread (arg=0xa8933b70) at pthread_create.c:304
#10 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa72b7b70 (LWP 4795)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb5e6f48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb60cf3fd in __pthread_cond_wait (cond=0x87b18f0, mutex=0x87b18d8) at forward.c:139
#3  0xb6d1f467 in wait (this=0x87b1848, mutex=0x877d598, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x87b1848, mutex=0x877d598, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb4fe27e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87b1830, th=0x8e1ba60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fe547c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87775f8, th=0x8e1ba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fe242b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87b1830, th=0x8e1ba60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fe556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x87775f8, th=0x8e1ba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fe2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87b1830, th=0x8e1ba60, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fe5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0x87775f8, th=0x8e1ba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4fe2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87b1830, th=0x8e1ba60, previous=0x8c67080) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4fe3f9e in ThreadWeaver::ThreadRunHelper::run (this=0xa72b72f4, parent=0x87b1830, th=0x8e1ba60) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb4fe405b in ThreadWeaver::Thread::run (this=0x8e1ba60) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6d1eda2 in QThreadPrivate::start (arg=0x8e1ba60) at thread/qthread_unix.cpp:320
#15 0xb5e6ae99 in start_thread (arg=0xa72b7b70) at pthread_create.c:304
#16 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa6ab6b70 (LWP 4796)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb5e6f48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb60cf3fd in __pthread_cond_wait (cond=0x87b18f0, mutex=0x87b18d8) at forward.c:139
#3  0xb6d1f467 in wait (this=0x87b1848, mutex=0x877d598, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x87b1848, mutex=0x877d598, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb4fe27e0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87b1830, th=0x8e1cae8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fe547c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87775f8, th=0x8e1cae8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fe242b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87b1830, th=0x8e1cae8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fe556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x87775f8, th=0x8e1cae8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fe2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87b1830, th=0x8e1cae8, previous=0x91ddf90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fe3f9e in ThreadWeaver::ThreadRunHelper::run (this=0xa6ab62f4, parent=0x87b1830, th=0x8e1cae8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4fe405b in ThreadWeaver::Thread::run (this=0x8e1cae8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6d1eda2 in QThreadPrivate::start (arg=0x8e1cae8) at thread/qthread_unix.cpp:320
#13 0xb5e6ae99 in start_thread (arg=0xa6ab6b70) at pthread_create.c:304
#14 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa60ffb70 (LWP 4799)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb5e6f48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb60cf3fd in __pthread_cond_wait (cond=0xb4fcf7f0, mutex=0xb4fcf7d8) at forward.c:139
#3  0xb4a19b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb5e6ae99 in start_thread (arg=0xa60ffb70) at pthread_create.c:304
#5  0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xae0ffb70 (LWP 4834)):
#0  0xb5dd8d41 in clock_gettime (clock_id=1, tp=0xae0ff000) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6d74dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e414f2 in updateCurrentTime (this=0x92bf84c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x92bf84c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e3fd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xae0ff0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e3fdcd in timerSourcePrepare (source=0x92bf818, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb541afd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb541be63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb541c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e40577 in QEventDispatcherGlib::processEvents (this=0x8d9bda8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6e12289 in QEventLoop::processEvents (this=0xae0ff290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6e12522 in QEventLoop::exec (this=0xae0ff290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6d1c2a0 in QThread::exec (this=0x92360b0) at thread/qthread.cpp:492
#14 0xb6df3fdb in QInotifyFileSystemWatcherEngine::run (this=0x92360b0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6d1eda2 in QThreadPrivate::start (arg=0x92360b0) at thread/qthread_unix.cpp:320
#16 0xb5e6ae99 in start_thread (arg=0xae0ffb70) at pthread_create.c:304
#17 0xb60c173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb34fa710 (LWP 4711)):
[KCrash Handler]
#7  0xb5a9b8cb in KDevelop::BuilderJobPrivate::addJob (this=0x8d0c288, t=KDevelop::BuilderJob::Build, item=0x8607568) at ../../project/builderjob.cpp:70
#8  0xaa9c5183 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x8868d18, t=KDevelop::BuilderJob::Build, items=...) at ../../../plugins/projectmanagerview/builditembuilderjob.cpp:35
#9  0xaa9b8287 in ProjectManagerViewPlugin::runBuilderJob (this=0x89c0e08, t=KDevelop::BuilderJob::Build) at ../../../plugins/projectmanagerview/projectmanagerviewplugin.cpp:348
#10 0xaa9b8379 in ProjectManagerViewPlugin::buildProjectItems (this=0x89c0e08) at ../../../plugins/projectmanagerview/projectmanagerviewplugin.cpp:378
#11 0xaa9bb763 in ProjectManagerViewPlugin::qt_metacall (this=0x89c0e08, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8b5088) at ./projectmanagerviewplugin.moc:109
#12 0xb6e196ba in QMetaObject::metacall (object=0x89c0e08, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbf8b5088) at kernel/qmetaobject.cpp:237
#13 0xb6e294ff in QMetaObject::activate (sender=0x89b7868, m=0xb6c9d3f8, local_signal_index=1, argv=0xbf8b5088) at kernel/qobject.cpp:3287
#14 0xb63638d9 in QAction::triggered (this=0x89b7868, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0xb6363b38 in QAction::activate (this=0x89b7868, event=QAction::Trigger) at kernel/qaction.cpp:1257
#16 0xb6840ce2 in trigger (this=0x89bc540) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#17 QToolButton::nextCheckState (this=0x89bc540) at widgets/qtoolbutton.cpp:1147
#18 0xb676fb53 in QAbstractButtonPrivate::click (this=0x89c3850) at widgets/qabstractbutton.cpp:528
#19 0xb676fe4e in QAbstractButton::mouseReleaseEvent (this=0x89bc540, e=0xbf8b5844) at widgets/qabstractbutton.cpp:1121
#20 0xb6840dcc in QToolButton::mouseReleaseEvent (this=0x89bc540, e=0xbf8b5844) at widgets/qtoolbutton.cpp:721
#21 0xb63c313a in QWidget::event (this=0x89bc540, event=0xbf8b5844) at kernel/qwidget.cpp:8259
#22 0xb676ee9e in QAbstractButton::event (this=0x89bc540, e=0xbf8b5844) at widgets/qabstractbutton.cpp:1080
#23 0xb68424fa in QToolButton::event (this=0x89bc540, event=0xbf8b5844) at widgets/qtoolbutton.cpp:1163
#24 0xb636ad24 in QApplicationPrivate::notify_helper (this=0x85025c8, receiver=0x89bc540, e=0xbf8b5844) at kernel/qapplication.cpp:4462
#25 0xb6370201 in QApplication::notify (this=0xbf8b6298, receiver=0x89bc540, e=0xbf8b5844) at kernel/qapplication.cpp:4023
#26 0xb71a83ca in KApplication::notify (this=0xbf8b6298, receiver=0x89bc540, event=0xbf8b5844) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x0804ba8c in _start ()

This bug may be a duplicate of or related to bug 271847.

Possible duplicates by query: bug 271847, bug 271451, bug 266283, bug 262071, bug 258904.

Reported using DrKonqi
Comment 1 Olivier.jg 2011-08-22 07:09:16 UTC

*** This bug has been marked as a duplicate of bug 271847 ***
Comment 2 Milian Wolff 2011-08-28 13:25:08 UTC
can you explain what you mean by "missing files"? is there a way to reproduce this?
Comment 3 Piotr 2011-08-28 16:12:54 UTC
I was using git in project and I've switched for a moment to another branch, where these files were absent. I'm not sure if I've clicked build before switching back to the branch where project was created or before, but I've also had similar crash without clicking on build button.

Best regards
Comment 4 Kevin Funk 2012-12-21 00:49:43 UTC

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