Bug 296538 - KDevelop crashes after deleting the CMake cache
Summary: KDevelop crashes after deleting the CMake cache
Status: RESOLVED DUPLICATE of bug 287127
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 07:14 UTC by Nicolas
Modified: 2012-03-29 17:38 UTC (History)
0 users

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 Nicolas 2012-03-22 07:14:37 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Ubuntu 11.10

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

I deleted the CMake Cache outside Kdevelop by starting the CMake GUI via "make edit_cache" -> File -> Delete Cache.
Then I started the build in KDevelop -> crash

The crash can be reproduced some of the time.

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

Thread 11 (Thread 0x7f0abfe74700 (LWP 20615)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f0ad6ec811e in wait (time=1000, this=0x209a030) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2090bf0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0ad3289c7b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2090bd0) at ../../language/duchain/duchain.cpp:286
#4  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x2090bd0) at thread/qthread_unix.cpp:331
#5  0x00007f0ad4f1aefc in start_thread (arg=0x7f0abfe74700) at pthread_create.c:304
#6  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f0ab0164700 (LWP 20646)):
#0  0x00007f0ad0b22f1a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ad0b23429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad6fd9f3e in QEventDispatcherGlib::processEvents (this=0x2ca19d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f0ad6fadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f0ad6fadef7 in QEventLoop::exec (this=0x7f0ab0163dd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f0ad6ec527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007f0ad6f90cbf in QInotifyFileSystemWatcherEngine::run (this=0x2ca0cb0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x2ca0cb0) at thread/qthread_unix.cpp:331
#8  0x00007f0ad4f1aefc in start_thread (arg=0x7f0ab0164700) at pthread_create.c:304
#9  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0aac0b4700 (LWP 20669)):
#0  0x00007f0ad0b493d0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ad0b23419 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad6fd9f3e in QEventDispatcherGlib::processEvents (this=0x3079380, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f0ad6fadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f0ad6fadef7 in QEventLoop::exec (this=0x7f0aac0b3dd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f0ad6ec527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007f0ad6f90cbf in QInotifyFileSystemWatcherEngine::run (this=0x307b4b0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x307b4b0) at thread/qthread_unix.cpp:331
#8  0x00007f0ad4f1aefc in start_thread (arg=0x7f0aac0b4700) at pthread_create.c:304
#9  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0aab7fe700 (LWP 20746)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ac061afe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0ac061b019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0ad4f1aefc in start_thread (arg=0x7f0aab7fe700) at pthread_create.c:304
#4  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0aaa2dc700 (LWP 20822)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0acdc77c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f0acdc77d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f0ad4f1aefc in start_thread (arg=0x7f0aaa2dc700) at pthread_create.c:304
#4  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0aa9adb700 (LWP 20823)):
#0  0x00007f0ad6f18084 in qt_gettime () at tools/qelapsedtimer_unix.cpp:145
#1  0x00007f0ad6fda6ed in QTimerInfoList::updateCurrentTime (this=0x3a9daa0) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007f0ad6fda371 in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:150
#3  timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:144
#4  0x00007f0ad0b22734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0ad0b22f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0ad0b23429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0ad6fd9f3e in QEventDispatcherGlib::processEvents (this=0x375e790, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f0ad6fadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f0ad6fadef7 in QEventLoop::exec (this=0x7f0aa9adae00, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f0ad6ec527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x3710860) at thread/qthread_unix.cpp:331
#12 0x00007f0ad4f1aefc in start_thread (arg=0x7f0aa9adb700) at pthread_create.c:304
#13 0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0a63db7700 (LWP 20859)):
#0  timerSourcePrepare (source=0x43e3a00, timeout=0x7f0a63db6c6c) at kernel/qeventdispatcher_glib.cpp:160
#1  0x00007f0ad0b21ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad0b22dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ad0b23429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0ad6fd9f3e in QEventDispatcherGlib::processEvents (this=0x43e6070, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0ad6fadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0ad6fadef7 in QEventLoop::exec (this=0x7f0a63db6e00, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f0ad6ec527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x43e5160) at thread/qthread_unix.cpp:331
#9  0x00007f0ad4f1aefc in start_thread (arg=0x7f0a63db7700) at pthread_create.c:304
#10 0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0a635b6700 (LWP 20860)):
#0  0x00007f0ad0b23020 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ad0b23429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ad6fd9f3e in QEventDispatcherGlib::processEvents (this=0x41b9a50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f0ad6fadcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f0ad6fadef7 in QEventLoop::exec (this=0x7f0a635b5e00, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f0ad6ec527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x43e41a0) at thread/qthread_unix.cpp:331
#7  0x00007f0ad4f1aefc in start_thread (arg=0x7f0a635b6700) at pthread_create.c:304
#8  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0a62db5700 (LWP 20865)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ad6ec81ab in wait (time=18446744073709551615, this=0x10ebac0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf43840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0ace65b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10ea200, th=0x4200220) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0ace65de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0xf32c00, th=0x4200220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0ace65de24 in ThreadWeaver::WorkingHardState::applyForWork (this=0xf32c00, th=0x4200220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f0ace65cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a62db4e20, parent=0x10ea200, th=0x4200220) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f0ace65cd5b in ThreadWeaver::Thread::run (this=0x4200220) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x4200220) at thread/qthread_unix.cpp:331
#9  0x00007f0ad4f1aefc in start_thread (arg=0x7f0a62db5700) at pthread_create.c:304
#10 0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0a625b4700 (LWP 20866)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ad6ec81ab in wait (time=18446744073709551615, this=0x10ebac0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf43840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0ace65b864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10ea200, th=0x7f0aa4172920) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0ace65de0b in ThreadWeaver::WorkingHardState::applyForWork (this=0xf32c00, th=0x7f0aa4172920) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0ace65cccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a625b3e20, parent=0x10ea200, th=0x7f0aa4172920) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0ace65cd5b in ThreadWeaver::Thread::run (this=0x7f0aa4172920) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f0ad6ec7d05 in QThreadPrivate::start (arg=0x7f0aa4172920) at thread/qthread_unix.cpp:331
#8  0x00007f0ad4f1aefc in start_thread (arg=0x7f0a625b4700) at pthread_create.c:304
#9  0x00007f0ad5b9d59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0ad89c9780 (LWP 20614)):
[KCrash Handler]
#6  0x00007f0abf25bf03 in ?? () from /usr/lib/kde4/kdevmakebuilder.so
#7  0x00007f0ad7e96de5 in KDevelop::RunController::registerJob (this=0x10eb080, job=0x49e9020) at ../../shell/runcontroller.cpp:558
#8  0x00007f0ad8459705 in KCompositeJob::qt_metacall (this=0x5381680, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd345b630) at ./kcompositejob.moc:74
#9  0x00007f0ad6fc1eba in QMetaObject::activate (sender=0x52fe250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd345b630) at kernel/qobject.cpp:3278
#10 0x00007f0ad845a622 in KJob::result (this=<optimized out>, _t1=0x52fe250) at ./kjob.moc:194
#11 0x00007f0ad845a660 in KJob::emitResult (this=0x52fe250) at ../../kdecore/jobs/kjob.cpp:312
#12 0x00007f0abf0464f7 in ?? () from /usr/lib/kde4/kdevcmakebuilder.so
#13 0x00007f0abf0465d1 in ?? () from /usr/lib/kde4/kdevcmakebuilder.so
#14 0x00007f0ad6fc1eba in QMetaObject::activate (sender=0x4d8ce90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#15 0x00007f0ad2d79d46 in procFinished (status=QProcess::NormalExit, this=<optimized out>, code=<optimized out>) at ../../util/commandexecutor.cpp:58
#16 KDevelop::CommandExecutor::qt_metacall (this=0x4d8ce90, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./commandexecutor.moc:89
#17 0x00007f0ad6fc1eba in QMetaObject::activate (sender=0x4d8d0b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd345b870) at kernel/qobject.cpp:3278
#18 0x00007f0ad6f4e62f in QProcess::finished (this=<optimized out>, _t1=0, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:142
#19 0x00007f0ad6f53336 in QProcessPrivate::_q_processDied (this=0x543ac00) at io/qprocess.cpp:1051
#20 0x00007f0ad6f53939 in QProcess::qt_metacall (this=0x4d8d0b0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffd345ba00) at .moc/release-shared/moc_qprocess.cpp:115
#21 0x00007f0ad8442838 in KProcess::qt_metacall (this=0x4d8d0b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./kprocess.moc:69
#22 0x00007f0ad6fc1eba in QMetaObject::activate (sender=0x543be10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd345ba00) at kernel/qobject.cpp:3278
#23 0x00007f0ad700b51e in QSocketNotifier::activated (this=<optimized out>, _t1=36) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#24 0x00007f0ad6fc9b6b in QSocketNotifier::event (this=0x543be10, e=0x7fffd345bf20) at kernel/qsocketnotifier.cpp:317
#25 0x00007f0ad635e474 in notify_helper (e=0x7fffd345bf20, receiver=0x543be10, this=0xb0a440) at kernel/qapplication.cpp:4486
#26 QApplicationPrivate::notify_helper (this=0xb0a440, receiver=0x543be10, e=0x7fffd345bf20) at kernel/qapplication.cpp:4458
#27 0x00007f0ad63632e1 in QApplication::notify (this=0x7fffd345c380, receiver=0x543be10, e=0x7fffd345bf20) at kernel/qapplication.cpp:4365
#28 0x00007f0ad778d466 in KApplication::notify (this=0x7fffd345c380, receiver=0x543be10, event=0x7fffd345bf20) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x000000000040a896 in _start ()

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

Possible duplicates by query: bug 287127.

Reported using DrKonqi
Comment 1 Milian Wolff 2012-03-29 17:38:50 UTC

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