Bug 309811 - Crash after pruning config with more than one target in build set
Summary: Crash after pruning config with more than one target in build set
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Unclassified
Component: general (show other bugs)
Version: git master
Platform: openSUSE RPMs Linux
: NOR crash (vote)
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 300774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-09 14:34 UTC by Torbjörn K.
Modified: 2012-11-09 22:03 UTC (History)
3 users (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 Torbjörn K. 2012-11-09 14:34:40 UTC
Application: kdevelop (4.4.60)
KDE Platform Version: 4.8.5 (4.8.5) "release 521"
Qt Version: 4.8.3
Operating System: Linux 3.4.6-2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Started clean new session and imported a simple CMake project with multiple targets without any KDevelop project file/folder. The root folder (e.g. make all) was added to the current build set.
After building, I added/appended one of the single targets to the build set (left the make all target in there).
Then I hit "prune configuration" and got a error message ('Process Error') :
$HOME/projects/[ProjectName]/build/[NewlyAddedTarget]

(where [ProjectName] and [NewlyAddedTarget] are substituted)

On clicking "OK", KDevelop crashed with a segmentation fault.

The build folder was empty, when the error message appeared, thus pruning the initial target succeeded, but KDevelop wasn't able to prune the second target after it already had been erased.

In case the newly added target is prepended to the build set, the build folder gets pruned as well, though the error message reads '$HOME/projects/[ProjectName]/build/cmake_install.cmake'.


- Custom settings of the application:
KDevplatform and KDevelop compiled from current git master.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9d6f214760 (LWP 24087))]

Thread 13 (Thread 0x7f9d551e2700 (LWP 24088)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:213
#1  0x00007f9d6acf9bbf in wait (time=1000, this=0x2b8d1a0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b82ea0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9d671ed62b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2b82e80) at /home/torbjornk/src/kdev/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x2b82e80) at thread/qthread_unix.cpp:338
#5  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d551e2700) at pthread_create.c:301
#6  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f9d46ce7700 (LWP 24089)):
#0  0x00007f9d68eac803 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9d6add60b1 in QProcessManager::run (this=0x7f9d6b1504c0 <processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x7f9d6b1504c0 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d46ce7700) at pthread_create.c:301
#4  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f9d3ed0f700 (LWP 24094)):
#0  0x00007f9d68ea9ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9d633e8ae8 in g_main_context_poll (n_fds=2, fds=0x7f9d38002400, timeout=-1, context=0x7f9d380009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f9d380009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f9d633e8fa9 in g_main_context_iteration (context=0x7f9d380009a0, may_block=1) at gmain.c:3136
#4  0x00007f9d6ae285ff in QEventDispatcherGlib::processEvents (this=0x7f9d380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7f9d3ed0edd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d6acf6687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9d6add7c0f in QInotifyFileSystemWatcherEngine::run (this=0x3813080) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x3813080) at thread/qthread_unix.cpp:338
#10 0x00007f9d6aa61f05 in start_thread (arg=0x7f9d3ed0f700) at pthread_create.c:301
#11 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f9d3e50e700 (LWP 24112)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d67e40972 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f9d67e409a9 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d3e50e700) at pthread_create.c:301
#4  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f9d377fe700 (LWP 24202)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d615acf52 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f9d615acf89 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d377fe700) at pthread_create.c:301
#4  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f9d37fff700 (LWP 24203)):
#0  0x00007f9d68ea9ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9d633e8ae8 in g_main_context_poll (n_fds=1, fds=0x7f9d300008c0, timeout=5926, context=0x7f9d300009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f9d300009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f9d633e8fa9 in g_main_context_iteration (context=0x7f9d300009a0, may_block=1) at gmain.c:3136
#4  0x00007f9d6ae28666 in QEventDispatcherGlib::processEvents (this=0x7f9d30002360, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7f9d37ffee00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d6acf6687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x354d7a0) at thread/qthread_unix.cpp:338
#9  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d37fff700) at pthread_create.c:301
#10 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f9d367b2700 (LWP 24292)):
#0  0x00007f9d68ea9ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9d633e8ae8 in g_main_context_poll (n_fds=2, fds=0x7f9ce4001c00, timeout=-1, context=0x7f9ce40009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f9ce40009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f9d633e8fa9 in g_main_context_iteration (context=0x7f9ce40009a0, may_block=1) at gmain.c:3136
#4  0x00007f9d6ae285ff in QEventDispatcherGlib::processEvents (this=0x7f9ce40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7f9d367b1dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d6acf6687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9d6add7c0f in QInotifyFileSystemWatcherEngine::run (this=0x3dffdd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x3dffdd0) at thread/qthread_unix.cpp:338
#10 0x00007f9d6aa61f05 in start_thread (arg=0x7f9d367b2700) at pthread_create.c:301
#11 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f9d35fb1700 (LWP 24293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d6acf9c5b in wait (time=18446744073709551615, this=0x42f7990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x37e61a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9d6d66896b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3602770, th=0x3d1bce0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9d6d66b25b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b4a6c0, th=0x3d1bce0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9d6d66a0cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9d35fb0e20, parent=0x3602770, th=0x3d1bce0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9d6d66a15b in ThreadWeaver::Thread::run (this=0x3d1bce0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x3d1bce0) at thread/qthread_unix.cpp:338
#8  0x00007f9d6aa61f05 in start_thread (arg=0x7f9d35fb1700) at pthread_create.c:301
#9  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f9ceaf86700 (LWP 24393)):
#0  0x00007f9d68ea9ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9d633e8ae8 in g_main_context_poll (n_fds=1, fds=0x7f9cd4002600, timeout=-1, context=0x7f9cd40009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f9cd40009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f9d633e8fa9 in g_main_context_iteration (context=0x7f9cd40009a0, may_block=1) at gmain.c:3136
#4  0x00007f9d6ae285ff in QEventDispatcherGlib::processEvents (this=0x7f9cd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7f9ceaf85e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d6acf6687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x4832fc0) at thread/qthread_unix.cpp:338
#9  0x00007f9d6aa61f05 in start_thread (arg=0x7f9ceaf86700) at pthread_create.c:301
#10 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f9cea785700 (LWP 24394)):
#0  0x00007f9d68ea9ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9d633e8ae8 in g_main_context_poll (n_fds=1, fds=0x7f9cd8002500, timeout=-1, context=0x7f9cd80009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f9cd80009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f9d633e8fa9 in g_main_context_iteration (context=0x7f9cd80009a0, may_block=1) at gmain.c:3136
#4  0x00007f9d6ae285ff in QEventDispatcherGlib::processEvents (this=0x7f9cd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7f9cea784e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d6acf6687 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x4829860) at thread/qthread_unix.cpp:338
#9  0x00007f9d6aa61f05 in start_thread (arg=0x7f9cea785700) at pthread_create.c:301
#10 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f9ce9f84700 (LWP 24399)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d6acf9c5b in wait (time=18446744073709551615, this=0x1b5b660) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b57420, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9d6d66896b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b5b810, th=0x4265040) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9d6d66b25b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b57480, th=0x4265040) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9d6d66b274 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b57480, th=0x4265040) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9d6d66a0cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9ce9f83e20, parent=0x1b5b810, th=0x4265040) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9d6d66a15b in ThreadWeaver::Thread::run (this=0x4265040) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x4265040) at thread/qthread_unix.cpp:338
#9  0x00007f9d6aa61f05 in start_thread (arg=0x7f9ce9f84700) at pthread_create.c:301
#10 0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f9ce9783700 (LWP 24400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d6acf9c5b in wait (time=18446744073709551615, this=0x1b5b660) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b57420, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9d6d66896b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b5b810, th=0x7f9ccc0026a0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9d6d66b25b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b57480, th=0x7f9ccc0026a0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9d6d66a0cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9ce9782e20, parent=0x1b5b810, th=0x7f9ccc0026a0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9d6d66a15b in ThreadWeaver::Thread::run (this=0x7f9ccc0026a0) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9d6acf96ec in QThreadPrivate::start (arg=0x7f9ccc0026a0) at thread/qthread_unix.cpp:338
#8  0x00007f9d6aa61f05 in start_thread (arg=0x7f9ce9783700) at pthread_create.c:301
#9  0x00007f9d68eb310d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9d6f214760 (LWP 24087)):
[KCrash Handler]
#6  0x00007f9d6ecabb74 in KJob::isAutoDelete (this=0x5bd2290) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:361
#7  0x00007f9d6ecabee8 in KJob::emitResult (this=0x5bd2290) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:320
#8  0x00007f9d6ecaaf63 in KCompositeJob::slotResult (this=0x5bd2290, job=0x4d82ab0) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kcompositejob.cpp:104
#9  0x00007f9d677f17eb in KDevelop::BuilderJob::slotResult (this=0x5bd2290, job=<optimized out>) at /home/torbjornk/src/kdev/kdevplatform/project/builderjob.cpp:267
#10 0x00007f9d6ae0d511 in QMetaObject::activate (sender=0x4d82ab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd67bcad0) at kernel/qobject.cpp:3556
#11 0x00007f9d6ecabea2 in KJob::result (this=<optimized out>, _t1=0x4d82ab0) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#12 0x00007f9d6ecabee0 in KJob::emitResult (this=0x4d82ab0) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#13 0x00007f9d6ecaaf63 in KCompositeJob::slotResult (this=0x4d82ab0, job=0x5bdc410) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kcompositejob.cpp:104
#14 0x00007f9d6e23fad9 in KIO::DeleteJob::slotResult (this=0x4d82ab0, job=0x5bdc410) at /usr/src/debug/kdelibs-4.8.5/kio/kio/deletejob.cpp:468
#15 0x00007f9d6ae0d511 in QMetaObject::activate (sender=0x5bdc410, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd67bccb0) at kernel/qobject.cpp:3556
#16 0x00007f9d6ecabea2 in KJob::result (this=<optimized out>, _t1=0x5bdc410) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kjob.moc:208
#17 0x00007f9d6ecabee0 in KJob::emitResult (this=0x5bdc410) at /usr/src/debug/kdelibs-4.8.5/kdecore/jobs/kjob.cpp:318
#18 0x00007f9d6e25a214 in KIO::SimpleJob::slotFinished (this=0x5bdc410) at /usr/src/debug/kdelibs-4.8.5/kio/kio/job.cpp:494
#19 0x00007f9d6e25a366 in KIO::SimpleJob::slotError (this=0x5bdc410, err=<optimized out>, errorText=...) at /usr/src/debug/kdelibs-4.8.5/kio/kio/job.cpp:506
#20 0x00007f9d6ae0d511 in QMetaObject::activate (sender=0x368b740, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd67bcf70) at kernel/qobject.cpp:3556
#21 0x00007f9d6e305886 in KIO::SlaveInterface::error (this=<optimized out>, _t1=142, _t2=...) at /usr/src/debug/kdelibs-4.8.5/build/kio/slaveinterface.moc:173
#22 0x00007f9d6e308434 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.8.5/kio/kio/slaveinterface.cpp:205
#23 0x00007f9d6e305105 in KIO::SlaveInterface::dispatch (this=0x368b740) at /usr/src/debug/kdelibs-4.8.5/kio/kio/slaveinterface.cpp:88
#24 0x00007f9d6e2f837e in KIO::Slave::gotInput (this=0x368b740) at /usr/src/debug/kdelibs-4.8.5/kio/kio/slave.cpp:344
#25 0x00007f9d6ae0d511 in QMetaObject::activate (sender=0x368c120, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#26 0x00007f9d6e22ab17 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kio/kio/connection.cpp:82
#27 KIO::ConnectionPrivate::dequeue (this=0x368b9f0) at /usr/src/debug/kdelibs-4.8.5/kio/kio/connection.cpp:71
#28 0x00007f9d6ae126d6 in QObject::event (this=0x368c120, e=<optimized out>) at kernel/qobject.cpp:1204
#29 0x00007f9d69f5f0e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f9d69f63eb3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f9d6b61a156 in KApplication::notify (this=0x7fffd67be130, receiver=0x368c120, event=0x5be4b60) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#32 0x00007f9d6adf962c in QCoreApplication::notifyInternal (this=0x7fffd67be130, receiver=0x368c120, event=0x5be4b60) at kernel/qcoreapplication.cpp:915
#33 0x00007f9d6adfceda in sendEvent (event=0x5be4b60, receiver=0x368c120) at kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1529b40) at kernel/qcoreapplication.cpp:1539
#35 0x00007f9d6ae281d3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00007f9d633e85dd in g_main_dispatch (context=0x15d7930) at gmain.c:2425
#38 g_main_context_dispatch (context=0x15d7930) at gmain.c:2995
#39 0x00007f9d633e8dd8 in g_main_context_iterate (context=0x15d7930, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#40 0x00007f9d633e8fa9 in g_main_context_iteration (context=0x15d7930, may_block=1) at gmain.c:3136
#41 0x00007f9d6ae285ff in QEventDispatcherGlib::processEvents (this=0x1529820, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f9d6a00291e in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007f9d6adf8162 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f9d6adf83b7 in QEventLoop::exec (this=0x7fffd67bdd50, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f9d6adfd1d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#46 0x000000000040e3ee in main (argc=<optimized out>, argv=<optimized out>) at /home/torbjornk/src/kdev/kdevelop/app/main.cpp:503

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

Possible duplicates by query: bug 300774.

Reported using DrKonqi
Comment 1 Milian Wolff 2012-11-09 19:56:25 UTC
*** Bug 300774 has been marked as a duplicate of this bug. ***
Comment 2 Milian Wolff 2012-11-09 21:15:16 UTC
==19007== Invalid read of size 8
==19007==    at 0x77BEF25: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0xA27471F: KDevelop::BuilderJob::slotResult(KJob*) (builderjob.cpp:267)
==19007==    by 0xA274880: KDevelop::BuilderJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (builderjob.moc:49)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x53DEAC8: KIO::DeleteJob::slotResult(KJob*) (in /usr/lib/libkio.so.5.9.3)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==  Address 0x30ccec98 is 8 bytes inside a block of size 40 free'd
==19007==    at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19007==    by 0xA276307: KDevelop::BuilderJob::~BuilderJob() (builderjob.h:41)
==19007==    by 0x77BD277: QObject::event(QEvent*) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x7D498DB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /home/milian/projects/compiled/qt/lib/libQtGui.so.4.8.4)
==19007==    by 0x7D4DD59: QApplication::notify(QObject*, QEvent*) (in /home/milian/projects/compiled/qt/lib/libQtGui.so.4.8.4)
==19007==    by 0x7174DF5: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x77A896D: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x77AC2D0: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x77D69D2: ??? (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0xD482864: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3400.1)
==19007==    by 0xD482B97: ??? (in /usr/lib/libglib-2.0.so.0.3400.1)
==19007==    by 0xD482C53: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3400.1)
==19007== 
==19007== Invalid read of size 4
==19007==    at 0x77BEF39: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0xA27471F: KDevelop::BuilderJob::slotResult(KJob*) (builderjob.cpp:267)
==19007==    by 0xA274880: KDevelop::BuilderJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (builderjob.moc:49)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x53DEAC8: KIO::DeleteJob::slotResult(KJob*) (in /usr/lib/libkio.so.5.9.3)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==  Address 0x60 is not stack'd, malloc'd or (recently) free'd
==19007== 
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
==19007== Invalid read of size 4
==19007==    at 0x71D28E0: ??? (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x71D33E5: ??? (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x71D37F0: KCrash::defaultCrashHandler(int) (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x8F1904F: ??? (in /usr/lib/libc-2.16.so)
==19007==    by 0x77BEF38: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0xA27471F: KDevelop::BuilderJob::slotResult(KJob*) (builderjob.cpp:267)
==19007==    by 0xA274880: KDevelop::BuilderJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (builderjob.moc:49)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==  Address 0x358006f0 is 0 bytes inside a block of size 3 alloc'd
==19007==    at 0x4C2C04B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19007==    by 0x71D2840: ??? (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x71D33E5: ??? (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x71D37F0: KCrash::defaultCrashHandler(int) (in /usr/lib/libkdeui.so.5.9.3)
==19007==    by 0x8F1904F: ??? (in /usr/lib/libc-2.16.so)
==19007==    by 0x77BEF38: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==    by 0x4F63F51: KJob::result(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63F8F: KJob::emitResult() (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0x4F63182: KCompositeJob::slotResult(KJob*) (in /usr/lib/libkdecore.so.5.9.3)
==19007==    by 0xA27471F: KDevelop::BuilderJob::slotResult(KJob*) (builderjob.cpp:267)
==19007==    by 0xA274880: KDevelop::BuilderJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (builderjob.moc:49)
==19007==    by 0x77BF18E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /home/milian/projects/compiled/qt/lib/libQtCore.so.4.8.4)
==19007==
Comment 3 Milian Wolff 2012-11-09 22:03:32 UTC
Git commit cac127eb0f4514734ab6469e7244d4ea0a6cf1a7 by Milian Wolff.
Committed on 09/11/2012 at 22:57.
Pushed by mwolff into branch 'master'.

Do not create multiple configure or prune jobs for the same project.

That is not required and just wasted time when running configure
or shows stupid error messages when pruning.

M  +16   -2    project/builderjob.cpp

http://commits.kde.org/kdevplatform/cac127eb0f4514734ab6469e7244d4ea0a6cf1a7
Comment 4 Milian Wolff 2012-11-09 22:03:32 UTC
Git commit 601bbfe454b72dbf5407d6ad4516ae0b8a0983c0 by Milian Wolff.
Committed on 09/11/2012 at 22:41.
Pushed by mwolff into branch 'master'.

Don't use nested eventloop to prevent random crashes.

We now use the much more verbose KMessageBox::createKMessageBox
API with the NoExec option to show the job error. This won't use a
nested event loop and thus prevents random crashes.

M  +13   -1    shell/runcontroller.cpp

http://commits.kde.org/kdevplatform/601bbfe454b72dbf5407d6ad4516ae0b8a0983c0