Bug 199113 - kdevelop crash when building
Summary: kdevelop crash when building
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 08:36 UTC by Davide Rondini
Modified: 2009-07-09 17:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
CMakeLists.txt: exiting it causes crash during saving process (824 bytes, text/plain)
2009-07-06 10:07 UTC, Davide Rondini
Details
The second backtrace (11.54 KB, application/octet-stream)
2009-07-06 11:33 UTC, Davide Rondini
Details
The main CMakeLists.txt (2.76 KB, text/plain)
2009-07-06 11:34 UTC, Davide Rondini
Details
The Kdevelop4 project file (865 bytes, application/octet-stream)
2009-07-06 11:35 UTC, Davide Rondini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Rondini 2009-07-06 08:36:47 UTC
Version:           3.9.94 (using KDE 4.2.4)
Compiler:          gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) 
OS:                Linux
Installed from:    Fedora RPMs

I was adding a new source file to my CMakeLists.txt (Cmake managed project). When I pressed F8 to build my project Kdevelop crashed. when I reopened the project, everything built fine.

Kdevelop is built from sources, my distribution is Fedora 10 x86_64, with KDE 4.2.4.

Backtrace:

Applicazione: KDevelop (kdevelop), segnale SIGSEGV
0x0000003cd70a7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7fcee2856810 (LWP 5245))]

Thread 8 (Thread 0x7fced84c9950 (LWP 5246)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045b5d7 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2ebc658, mutex=0x2ebc660, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fcee31d05fe in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2ebc640) at /home/davide/Programmi/Kdevelop4.0/kdevplatform-0.9.94/language/duchain/duchain.cpp:280
#4  0x000000300045a612 in QThreadPrivate::start (arg=0x2ebc640) at thread/qthread_unix.cpp:189
#5  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 7 (Thread 0x7fced4c42950 (LWP 5247)):
#0  0x0000003cd70deaa2 in select () from /lib64/libc.so.6
#1  0x0000003000522106 in QProcessManager::run (this=0x1f6d270) at io/qprocess_unix.cpp:305
#2  0x000000300045a612 in QThreadPrivate::start (arg=0x1f6d270) at thread/qthread_unix.cpp:189
#3  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 6 (Thread 0x7fcecd4a7950 (LWP 5249)):
#0  0x0000003cd70dc886 in __poll (fds=0x7fced00028f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000300143ae28 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000300143b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000300056d09e in QEventDispatcherGlib::processEvents (this=0x3fcaf30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x0000003000542082 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x000000300054244d in QEventLoop::exec (this=0x7fcecd4a6fa0, flags=) at kernel/qeventloop.cpp:200
#6  0x0000003000457678 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x000000300045a612 in QThreadPrivate::start (arg=0x3fca460) at thread/qthread_unix.cpp:189
#8  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently c

Thread 5 (Thread 0x7fceccaa6950 (LWP 5250)):
#0  0x0000003cd70dc886 in __poll (fds=0x3fc16e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000300143ae28 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000300143b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000300056d09e in QEventDispatcherGlib::processEvents (this=0x3fcb520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x0000003000542082 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x000000300054244d in QEventLoop::exec (this=0x7fceccaa5fa0, flags=) at kernel/qeventloop.cpp:200
#6  0x0000003000457678 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x000000300045a612 in QThreadPrivate::start (arg=0x3fc2af0) at thread/qthread_unix.cpp:189
#8  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 4 (Thread 0x7fcecc0a5950 (LWP 5255)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045a055 in thread_sleep (ti=0x7fcecc0a4f50) at thread/qthread_unix.cpp:298
#2  0x000000300045a1be in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:324
#3  0x00007fcece446631 in UIBlockTester::UIBlockTesterThread::run (this=0x4a0a410) at /home/davide/Programmi/Kdevelop4.0/kdevelop-3.9.94/languages/cpp/cpplanguagesupport.cpp:985
#4  0x000000300045a612 in QThreadPrivate::start (arg=0x4a0a410) at thread/qthread_unix.cpp:189
#5  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 3 (Thread 0x7fcecad55950 (LWP 5256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5f9 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x30f6148, mutex=0x30f6d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000301520a634 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x30f6120, th=0x50699b0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000301520cde3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x50699b0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000301520b35f in ThreadWeaver::ThreadRunHelper::run (this=0x7fcecad54fa0, parent=0x30f6120, th=0x50699b0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/Thread.cpp:87
#6  0x000000301520b7b9 in ThreadWeaver::Thread::run (this=0x50699b0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/Thread.cpp:142
#7  0x000000300045a612 in QThreadPrivate::start (arg=0x50699b0) at thread/qthread_unix.cpp:189
#8  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 2 (Thread 0x7fceca354950 (LWP 5257)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5f9 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x30f6148, mutex=0x30f6d50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000301520a634 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x30f6120, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000301520cde3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000301520cdfc in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000301520cdfc in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x000000301520cdfc in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x000000301520cdfc in ThreadWeaver::WorkingHardState::applyForWork (this=0x30f6e30, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x000000301520b35f in ThreadWeaver::ThreadRunHelper::run (this=0x7fceca353fa0, parent=0x30f6120, th=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/Thread.cpp:87
#10 0x000000301520b7b9 in ThreadWeaver::Thread::run (this=0x7fced0019be0) at /usr/src/debug/kdelibs-4.2.4/threadweaver/Weaver/Thread.cpp:142
#11 0x000000300045a612 in QThreadPrivate::start (arg=0x7fced0019be0) at thread/qthread_unix.cpp:189
#12 0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#13 0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7fcee2856810 (LWP 5245)):
[KCrash Handler]
#5  0x0000000004ff2820 in ?? ()
#6  0x00007fcee37d02ff in QStandardItem::text () at /usr/include/QtGui/qstandarditemmodel.h:79
#7  KDevelop::BuilderJobPrivate::addJob (this=0x6090dc0, t=KDevelop::BuilderJob::Build, item=0x63c10e0) at /home/davide/Programmi/Kdevelop4.0/kdevplatform-0.9.94/project/builderjob.cpp:54
#8  0x00007fcee37d10f8 in KDevelop::BuilderJob::addItems (this=0x3f0e340, t=KDevelop::BuilderJob::Build, items=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/kdevplatform-0.9.94/project/builderjob.cpp:101
#9  0x00007fcec90fa9b5 in ProjectManagerViewPlugin::runBuilderJob (this=0x7fced00ef130, t=KDevelop::BuilderJob::Build)
    at /home/davide/Programmi/Kdevelop4.0/kdevplatform-0.9.94/plugins/projectmanagerview/projectmanagerviewplugin.cpp:365
#10 0x00007fcec90ff27d in ProjectManagerViewPlugin::qt_metacall (this=0x7fced00ef130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa5c67700)
    at /home/davide/Programmi/Kdevelop4.0/kdevplatform-0.9.94/plugins/projectmanagerview/projectmanagerviewplugin.moc:105
#11 0x0000003000559422 in QMetaObject::activate (sender=0x7fced0b03a60, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1f56880) at kernel/qobject.cpp:3120
#12 0x0000003013989407 in QAction::triggered (this=0x7fffa5c673a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#13 0x000000301398a880 in QAction::activate (this=0x7fced0b03a60, event=<value optimized out>) at kernel/qaction.cpp:1160
#14 0x000000301398d3d7 in QAction::event (this=0x7fffa5c673a0, e=<value optimized out>) at kernel/qaction.cpp:1079
#15 0x000000300533c963 in KAction::event (this=0x7fffa5c673a0, event=0x7fffa5c67c90) at /usr/src/debug/kdelibs-4.2.4/kdeui/actions/kaction.cpp:88
#16 0x000000301398f46d in QApplicationPrivate::notify_helper (this=0x2e0ffa0, receiver=0x7fced0b03a60, e=0x7fffa5c67c90) at kernel/qapplication.cpp:4057
#17 0x00000030139976ea in QApplication::notify (this=0x7fffa5c6a400, receiver=0x7fced0b03a60, e=0x7fffa5c67c90) at kernel/qapplication.cpp:4022
#18 0x00000030054070db in KApplication::notify (this=0x7fffa5c6a400, receiver=0x7fced0b03a60, event=0x7fffa5c67c90) at /usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#19 0x00000030005437dc in QCoreApplication::notifyInternal (this=0x7fffa5c6a400, receiver=0x7fced0b03a60, event=0x7fffa5c67c90) at kernel/qcoreapplication.cpp:610
#20 0x00000030139c4d9d in QCoreApplication::sendEvent () at ../../src/corelib/kernel/qcoreapplication.h:213
#21 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffa5c68190) at kernel/qshortcutmap.cpp:883
#22 0x00000030139c6bfc in QShortcutMap::tryShortcutEvent (this=0x2e100b8, o=<value optimized out>, e=0x7fffa5c68190) at kernel/qshortcutmap.cpp:369
#23 0x0000003013998711 in QApplication::notify (this=0x7fffa5c6a400, receiver=0x4ccb350, e=0x7fffa5c68190) at kernel/qapplication.cpp:3646
#24 0x00000030054070db in KApplication::notify (this=0x7fffa5c6a400, receiver=0x4ccb350, event=0x7fffa5c68190) at /usr/src/debug/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#25 0x00000030005437dc in QCoreApplication::notifyInternal (this=0x7fffa5c6a400, receiver=0x4ccb350, event=0x7fffa5c68190) at kernel/qcoreapplication.cpp:610
#26 0x0000003013a23224 in QKeyMapper::sendKeyEvent (keyWidget=0x4ccb350, grab=<value optimized out>, type=QEvent::KeyPress, code=16777271, modifiers={i = 0}, text=@0x7fffa5c683b0, autorepeat=false, 
    count=1, nativeScanCode=74, nativeVirtualKey=65477, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1675
#27 0x0000003013a25582 in QKeyMapperPrivate::translateKeyEvent (this=0x2e45c20, keyWidget=0x4ccb350, event=0x7fffa5c69fc0, grab=224) at kernel/qkeymapper_x11.cpp:1645
#28 0x00000030139ff3ee in QApplication::x11ProcessEvent (this=0x7fffa5c6a400, event=0x7fffa5c69fc0) at kernel/qapplication_x11.cpp:3459
#29 0x0000003013a26fd4 in x11EventSourceDispatch (s=0x2e136b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00000030014377bb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x000000300143af8d in ?? () from /lib64/libglib-2.0.so.0
#32 0x000000300143b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x000000300056d07f in QEventDispatcherGlib::processEvents (this=0x2e0d390, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#34 0x0000003013a2675f in QGuiEventDispatcherGlib::processEvents (this=0x7fffa5c673a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x0000003000542082 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x000000300054244d in QEventLoop::exec (this=0x7fffa5c6a2f0, flags=) at kernel/qeventloop.cpp:200
#37 0x0000003000544714 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x0000000000407c37 in main (argc=1, argv=0x7fffa5c6b5a8) at /home/davide/Programmi/Kdevelop4.0/kdevelop-3.9.94/app/main.cpp:172
Current language:  auto; currently c
Comment 1 Davide Rondini 2009-07-06 10:07:55 UTC
Created attachment 35082 [details]
CMakeLists.txt: exiting it causes crash during saving process
Comment 2 Davide Rondini 2009-07-06 10:08:20 UTC
It happened again. The backtrace is almost the same. This time I was not building: I simply added a new cpp file to my CMakeLists.txt. It seems that it can be related to the CMake files parsing/updating. I add the CMakeLists.txt, hoping it could be helpful. It is not the main project file, but the one of a subdirectory.
Comment 3 Andreas Pakulat 2009-07-06 11:02:28 UTC
(In reply to comment #2)
> It happened again. The backtrace is almost the same.

Can you please post it, I doubt thats the same problem as thread1 (which is the one that crashes) wouldn't have the BuildJob stuff in it then.

> This time I was not
> building: I simply added a new cpp file to my CMakeLists.txt. It seems that it
> can be related to the CMake files parsing/updating. I add the CMakeLists.txt,
> hoping it could be helpful. It is not the main project file, but the one of a
> subdirectory.

Would be good to have the complete project available for testing. So far I haven't had much problems when editing cmake files.
Comment 4 Davide Rondini 2009-07-06 11:33:43 UTC
Created attachment 35087 [details]
The second backtrace
Comment 5 Davide Rondini 2009-07-06 11:34:39 UTC
Created attachment 35088 [details]
The main CMakeLists.txt
Comment 6 Davide Rondini 2009-07-06 11:35:19 UTC
Created attachment 35089 [details]
The Kdevelop4 project file
Comment 7 Davide Rondini 2009-07-06 11:38:48 UTC
Ok I submitted the project files and the new backtrace. I generated the project by importing my CMake project from the import wizard.
Comment 8 Andreas Pakulat 2009-07-06 13:04:09 UTC
(In reply to comment #4)
> Created an attachment (id=35087) [details]
> The second backtrace

Hmm, does it help if you remove $HOME/.kdevduchain and restart kdevelop?
Comment 9 janitor048 2009-07-06 20:21:01 UTC
I've just run into the same (?) thing on my build from trunk (rev 992362).
Simple non-GUI CMake project (with just one file when it happened).
It works fine in general, but when hitting F8 it crashed on me twice in the last 20 minutes. In between and right now it works without problems, however. And I can't really reproduce it (or haven't found out how yet).

Anyway, here's the backtrace:

Application: KDevelop (kdevelop), signal SIGSEGV
0x00007f2127284d21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 11083)]

Thread 9 (Thread 0x7f21190b3950 (LWP 11084)):
#0  0x00007f21228f356d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2128bfd917 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f212589db3e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x33dc8f0) at /home/oli/Develop/KDE4/src/kdevplatform/language/duchain/duchain.cpp:280
#3  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f210f2ef950 (LWP 11085)):
#0  0x00007f21272bb742 in select () from /lib/libc.so.6
#1  0x00007f2128cc3f06 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#4  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f210d8e0950 (LWP 11131)):
#0  0x00007f21228f32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2128bfd939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f212a4195e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f212a41bd93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f212a41a30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f212a41a769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f210e8e2950 (LWP 11141)):
#0  0xffffffffff6001bb in ?? ()
#1  0x00007f210e8e1da0 in ?? ()
#2  0x00007fff33fff5fc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7f20fc8f2950 (LWP 11142)):
#0  0xffffffffff6001bb in ?? ()
#1  0x00007f20fc8f1da0 in ?? ()
#2  0x00007fff33fff5fc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f20fc0f1950 (LWP 11147)):
#0  0x00007f21228f356d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2128bfc395 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f2128bfc4fe in QThread::msleep () from /usr/lib/libQtCore.so.4
#3  0x00007f20fd8b0e01 in UIBlockTester::UIBlockTesterThread::run (this=0x5ddbea0) at /home/oli/Develop/KDE4/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:985
#4  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#6  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f20fb8f0950 (LWP 11148)):
#0  0x00007f21228f32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2128bfd939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f212a4195e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f212a41bd93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f212a41a30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f212a41a769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f20fb0ef950 (LWP 11149)):
#0  0x00007f21228f32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2128bfd939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f212a4195e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f212a41bd93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f212a41bdac in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f212a41a30f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f212a41a769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#7  0x00007f2128bfc952 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f21228ef3ba in start_thread () from /lib/libpthread.so.0
#9  0x00007f21272c2fcd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f212bf34750 (LWP 11083)):
[KCrash Handler]
#5  0x00007f2125e9ec9c in KDevelop::BuilderJobPrivate::addJob (this=0x6cc1950, t=KDevelop::BuilderJob::Build, item=0x7f2108043b30) at /usr/include/qt4/QtGui/qstandarditemmodel.h:79
#6  0x00007f2125e9fa98 in KDevelop::BuilderJob::addItems (this=0x6ccab70, t=KDevelop::BuilderJob::Build, items=<value optimized out>)
    at /home/oli/Develop/KDE4/src/kdevplatform/project/builderjob.cpp:101
#7  0x00007f2105c89a85 in ProjectManagerViewPlugin::runBuilderJob (this=0x42563b0, t=KDevelop::BuilderJob::Build)
    at /home/oli/Develop/KDE4/src/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:390
#8  0x00007f2105c8e485 in ProjectManagerViewPlugin::qt_metacall (this=0x42563b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff33f79510)
    at /home/oli/Develop/KDE4/src/kdevplatform/build/plugins/projectmanagerview/projectmanagerviewplugin.moc:108
#9  0x00007f2128cfb1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007f2127ec97e7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0x00007f2127ecac60 in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0x00007f2127ecd777 in QAction::event () from /usr/lib/libQtGui.so.4
#13 0x00007f212938a473 in KAction::event () from /usr/lib/libkdeui.so.5
#14 0x00007f2127ecf78d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0x00007f2127ed797a in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0x00007f212945c84b in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0x00007f2128ce575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0x00007f2127f0505d in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f2127f06ebc in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f2127ed89a1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x00007f212945c84b in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0x00007f2128ce575c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0x00007f2127f646b4 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f2127f66a12 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f2127f3f5bd in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#26 0x00007f2127f68464 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f2121c3a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f2121c3d8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f2121c3da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f2128d0ee6f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f2127f67bef in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f2128ce4002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007f2128ce43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0x00007f2128ce6694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0x00000000004080e7 in main (argc=1, argv=0x7fff33f7c378) at /home/oli/Develop/KDE4/src/kdevelop/app/main.cpp:172
Comment 10 Dario Andres 2009-07-07 01:17:56 UTC
Bug 194483 has a similar backtrace and similar duplicates. Thanks

*** This bug has been marked as a duplicate of bug 194483 ***
Comment 11 Aleix Pol 2009-07-08 20:17:03 UTC
SVN commit 993467 by apol:

A little bit of refactoring and reorganization on the buildsets.
Simplifies the buildset creation a lot.

If it does not fix the bug, we will have to create some kind of "restructuring" state for the project or just add the new tree to the project when it's ready.

BUG: 199113


 M  +1 -0      plugins/execute/nativeappconfig.cpp  
 M  +2 -14     plugins/execute/projectitemlineedit.cpp  
 M  +5 -3      plugins/execute/projectitemlineedit.h  
 M  +3 -1      plugins/projectmanagerview/builditembuilderjob.cpp  
 M  +46 -117   plugins/projectmanagerview/projectbuildsetmodel.cpp  
 M  +3 -6      plugins/projectmanagerview/projectbuildsetmodel.h  
 M  +16 -0     project/projectmodel.cpp  
 M  +1 -0      project/projectmodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=993467
Comment 12 Andreas Pakulat 2009-07-09 15:57:47 UTC
need to re-open this for now as I had to revert the change that fixed it.
Comment 13 Andreas Pakulat 2009-07-09 17:06:30 UTC
and fixed again by aleix in r993829
Comment 14 Aleix Pol 2009-07-09 17:12:35 UTC
Re-commited the code => re-closing the bug