Bug 314452 - IDE crashed when I edited and saved CMakeLists.txt
Summary: IDE crashed when I edited and saved CMakeLists.txt
Status: RESOLVED DUPLICATE of bug 273418
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 11:41 UTC by ekononov
Modified: 2013-02-05 12:01 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 ekononov 2013-02-05 11:41:15 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

I added another target to set_target_properties(...) macro.

When it happened first time IDE restarted. 
I opened the same file pressed Ctrl+S and it crashed again. 
On the next start the IDE suggested to clean the cache, I OK-ed. And after Ctrl+S the same issue.

Meanwhile all changes to CMakeLists.txt were saved.

No modifications of CMakeLists.txt or other files were made outside the IDE.

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 0x7fb2deb74780 (LWP 17140))]

Thread 10 (Thread 0x7fb2c6547700 (LWP 17148)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fb2dd037237 in wait (time=1000, this=0x1be9280) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2ecf060, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb2d9196dcb in ?? () from /usr/lib64/libkdevplatformlanguage.so.5
#4  0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x2ecf040) at thread/qthread_unix.cpp:298
#5  0x00007fb2dba3de0e in start_thread (arg=0x7fb2c6547700) at pthread_create.c:305
#6  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7fb2ad3a6700 (LWP 17151)):
#0  0x00007fffc1fff634 in clock_gettime ()
#1  0x00007fb2da53df7d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fb2dd08ca24 in do_gettime (frac=0x7fb2ad3a5b88, sec=0x7fb2ad3a5b80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fb2dd15f15d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fb2a8002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fb2dd15f4a3 in QTimerInfoList::timerWait (this=0x7fb2a8002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fb2dd15e01c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fb2ad3a5c7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fb2dd15e0c5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fb2d67cbebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fb2d67cc5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fb2d67cc7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fb2dd15e956 in QEventDispatcherGlib::processEvents (this=0x7fb2a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fb2dd12f73f in QEventLoop::processEvents (this=this@entry=0x7fb2ad3a5e20, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fb2dd12f9c8 in QEventLoop::exec (this=0x7fb2ad3a5e20, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fb2dd033e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x3999820) at thread/qthread_unix.cpp:298
#16 0x00007fb2dba3de0e in start_thread (arg=0x7fb2ad3a6700) at pthread_create.c:305
#17 0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7fb2a7fff700 (LWP 17152)):
#0  __pthread_mutex_lock (mutex=0x7fb2a0000a60) at pthread_mutex_lock.c:127
#1  0x00007fb2d6808471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb2d67cbf9b in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb2d67cc5f9 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fb2d67cc7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fb2dd15e956 in QEventDispatcherGlib::processEvents (this=0x7fb2a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb2dd12f73f in QEventLoop::processEvents (this=this@entry=0x7fb2a7ffee20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb2dd12f9c8 in QEventLoop::exec (this=0x7fb2a7ffee20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb2dd033e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x38573d0) at thread/qthread_unix.cpp:298
#10 0x00007fb2dba3de0e in start_thread (arg=0x7fb2a7fff700) at pthread_create.c:305
#11 0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fb2acba5700 (LWP 17157)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb2c6b01217 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb2c6e0e640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb2c6b01249 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb2dba3de0e in start_thread (arg=0x7fb2acba5700) at pthread_create.c:305
#4  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fb2a73ee700 (LWP 17167)):
#0  0x00007fb2d6808231 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb2d6808469 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb2d67cbcf5 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb2d67cc5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fb2d67cc7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fb2dd15e956 in QEventDispatcherGlib::processEvents (this=0x7fb2980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb2dd12f73f in QEventLoop::processEvents (this=this@entry=0x7fb2a73eddf0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb2dd12f9c8 in QEventLoop::exec (this=0x7fb2a73eddf0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb2dd033e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb2dd11011f in QInotifyFileSystemWatcherEngine::run (this=0x508cdd0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x508cdd0) at thread/qthread_unix.cpp:298
#11 0x00007fb2dba3de0e in start_thread (arg=0x7fb2a73ee700) at pthread_create.c:305
#12 0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fb2a5bad700 (LWP 17181)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb2d352d177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fb2d352d1a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fb2dba3de0e in start_thread (arg=0x7fb2a5bad700) at pthread_create.c:305
#4  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fb2a63ae700 (LWP 17182)):
#0  0x00007fb2dbd2e14f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb2d67cc684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb2d67cc7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb2dd15e956 in QEventDispatcherGlib::processEvents (this=0x7fb29c002b00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb2dd12f73f in QEventLoop::processEvents (this=this@entry=0x7fb2a63ade20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb2dd12f9c8 in QEventLoop::exec (this=0x7fb2a63ade20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb2dd033e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x44c07a0) at thread/qthread_unix.cpp:298
#8  0x00007fb2dba3de0e in start_thread (arg=0x7fb2a63ae700) at pthread_create.c:305
#9  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fb256dc4700 (LWP 17443)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb2dd0372db in wait (time=18446744073709551615, this=0x1f67120) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1e4abb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb2d3f04971 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f66a40, th=0x5d43f00) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb2d3f071bb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e84250, th=0x5d43f00) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb2d3f0602f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fb256dc3e20, parent=0x1f66a40, th=th@entry=0x5d43f00) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb2d3f060bb in ThreadWeaver::Thread::run (this=0x5d43f00) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x5d43f00) at thread/qthread_unix.cpp:298
#8  0x00007fb2dba3de0e in start_thread (arg=0x7fb256dc4700) at pthread_create.c:305
#9  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb2565c3700 (LWP 17444)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb2dd0372db in wait (time=18446744073709551615, this=0x1f67120) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1e4abb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb2d3f04971 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f66a40, th=0x7fb24c002c50) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb2d3f071bb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e84250, th=0x7fb24c002c50) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb2d3f0602f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fb2565c2e20, parent=0x1f66a40, th=th@entry=0x7fb24c002c50) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb2d3f060bb in ThreadWeaver::Thread::run (this=0x7fb24c002c50) at /usr/src/debug/kdelibs-4.8.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb2dd036ddb in QThreadPrivate::start (arg=0x7fb24c002c50) at thread/qthread_unix.cpp:298
#8  0x00007fb2dba3de0e in start_thread (arg=0x7fb2565c3700) at pthread_create.c:305
#9  0x00007fb2dbd362cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb2deb74780 (LWP 17140)):
[KCrash Handler]
#6  0x00007fb2ac095f37 in CMakeManager::dirtyFile (this=0x46a06c0, dirty=...) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:1149
#7  0x00007fb2dd146f5f in QMetaObject::activate (sender=0x562f5d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc1ef7e40) at kernel/qobject.cpp:3556
#8  0x00007fb2de5e3cf2 in KDirWatch::dirty (this=<optimized out>, _t1=...) at /usr/src/debug/kdelibs-4.8.5/build/kdecore/kdirwatch.moc:113
#9  0x00007fb2dd1450ae in QObject::event (this=0x562f5d0, e=<optimized out>) at kernel/qobject.cpp:1204
#10 0x00007fb2dc4dc74c in QApplicationPrivate::notify_helper (this=this@entry=0x1b425d0, receiver=receiver@entry=0x562f5d0, e=e@entry=0x54b5c90) at kernel/qapplication.cpp:4554
#11 0x00007fb2dc4e0c7a in QApplication::notify (this=0x7fffc1ef8c70, receiver=0x562f5d0, e=0x54b5c90) at kernel/qapplication.cpp:4415
#12 0x00007fb2dd93f006 in KApplication::notify (this=0x7fffc1ef8c70, receiver=0x562f5d0, event=0x54b5c90) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#13 0x00007fb2dd13073e in QCoreApplication::notifyInternal (this=0x7fffc1ef8c70, receiver=receiver@entry=0x562f5d0, event=event@entry=0x54b5c90) at kernel/qcoreapplication.cpp:876
#14 0x00007fb2dd134091 in sendEvent (event=0x54b5c90, receiver=0x562f5d0) at kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b0f670) at kernel/qcoreapplication.cpp:1500
#16 0x00007fb2dd15e7a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=0x1b42db0) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00007fb2d67cc3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fb2d67cc6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fb2d67cc7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fb2dd15e936 in QEventDispatcherGlib::processEvents (this=0x1b14ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007fb2dc57c8ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fb2dd12f73f in QEventLoop::processEvents (this=this@entry=0x7fffc1ef8740, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007fb2dd12f9c8 in QEventLoop::exec (this=0x7fffc1ef8740, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007fb2dd1343a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#26 0x0000000000409b88 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.3.1/app/main.cpp:479

Possible duplicates by query: bug 273418, bug 271319, bug 266161.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-02-05 12:01:59 UTC

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