Bug 198224 - Crash after changing install file list
Summary: Crash after changing install file list
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: investigated, triaged
: 214068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-29 01:23 UTC by Ben Boeckel
Modified: 2018-10-21 04:57 UTC (History)
1 user (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 Ben Boeckel 2009-06-29 01:23:29 UTC
Application that crashed: kdevelop
Version of the application: 3.9.94 (using KDevPlatform 0.9.94)
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.29.5-191.fc11.x86_64 x86_64

What I was doing when the application crashed:
I changed a filename in a list of files for an install call in a CMakeLists.txt file and when saving, it crashed.

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

Thread 8 (Thread 0x7f0390ad9910 (LWP 4815)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x0000003008c5ad32 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f039953fede in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2471260) at /usr/src/debug/kdevplatform-0.9.94.20090628svn988730/language/duchain/duchain.cpp:280
#4  0x0000003008c59d21 in QThreadPrivate::start (arg=0x2471260) at thread/qthread_unix.cpp:189
#5  0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0374886910 (LWP 4955)):
#0  0xffffffffff60012f in ?? ()
#1  0x00007f0374885cb0 in ?? ()
#2  0x00007fff0c1ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f0373e85910 (LWP 4956)):
#0  0x000000300183a9fd in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x000000300183add1 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000300183b300 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003008d680fe in QEventDispatcherGlib::processEvents (this=0x7f03640008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x0000003008d3df52 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#5  0x0000003008d3e324 in QEventLoop::exec (this=0x7f0373e84f80, flags={i = 0}) at kernel/qeventloop.cpp:200
#6  0x0000003008c56fab in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x0000003008c59d21 in QThreadPrivate::start (arg=0x3a1eac0) at thread/qthread_unix.cpp:189
#8  0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0373484910 (LWP 4961)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x0000003008c597a5 in thread_sleep (ti=0x7f0373483f30) at thread/qthread_unix.cpp:298
#2  0x0000003008c59910 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:324
#3  0x00007f0375375201 in UIBlockTester::UIBlockTesterThread::run (this=0x44b73e0) at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/languages/cpp/cpplanguagesupport.cpp:985
#4  0x0000003008c59d21 in QThreadPrivate::start (arg=0x44b73e0) at thread/qthread_unix.cpp:189
#5  0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0372a83910 (LWP 4962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x0000003008c5adcb in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000301000aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23d9f60, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000301000cc33 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000301000cc4c in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000301000cc4c in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x000000301000cc4c in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x000000301000cc4c in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x000000301000cc4c in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x000000301000b22f in ThreadWeaver::ThreadRunHelper::run (this=0x7f0372a82f80, parent=0x23d9f60, th=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/Thread.cpp:87
#11 0x000000301000b688 in ThreadWeaver::Thread::run (this=0x3b84000) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/Thread.cpp:142
#12 0x0000003008c59d21 in QThreadPrivate::start (arg=0x3b84000) at thread/qthread_unix.cpp:189
#13 0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#14 0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0372082910 (LWP 4963)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x0000003008c5adcb in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000301000aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23d9f60, th=0x7f035c0024e0) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000301000cc33 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23d9dd0, th=0x7f035c0024e0) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000301000b22f in ThreadWeaver::ThreadRunHelper::run (this=0x7f0372081f80, parent=0x23d9f60, th=0x7f035c0024e0) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/Thread.cpp:87
#6  0x000000301000b688 in ThreadWeaver::Thread::run (this=0x7f035c0024e0) at /usr/src/debug/kdelibs-4.2.90/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003008c59d21 in QThreadPrivate::start (arg=0x7f035c0024e0) at thread/qthread_unix.cpp:189
#8  0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f038a6d1910 (LWP 7256)):
#0  0x0000003fed2d6fa2 in select () from /lib64/libc.so.6
#1  0x0000003008d1d7d8 in qt_native_select (fdread=0x7f038a6cfbf0, fdwrite=0x7f038a6cfb70, timeout=29986) at io/qprocess_unix.cpp:945
#2  0x0000003008d1d977 in QProcessPrivate::waitForFinished (this=0x7f037d2d4710, msecs=29990) at io/qprocess_unix.cpp:1167
#3  0x0000003008ce15da in QProcess::waitForFinished (this=0x7f038a6cfd50, msecs=29990) at io/qprocess.cpp:1318
#4  0x00007f038b77694d in CMake::executeProcess (execName=@0x7f038a6d0370, args=@0x7f038a6d0320) at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/projectmanagers/cmake/cmakeutils.cpp:168
#5  0x00007f038b9b0837 in CMakeManager::initializeProject (this=<value optimized out>, project=0x2d71f10, baseUrl=<value optimized out>)
    at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/projectmanagers/cmake/cmakemanager.cpp:195
#6  0x00007f038b9b2f6f in CMakeManager::parse (this=<value optimized out>, item=0x4b93870) at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/projectmanagers/cmake/cmakemanager.cpp:442
#7  0x00007f0399b226f6 in KDevelop::ImportProjectJobPrivate::import (this=0x4a4f730, folder=0x7f038a6cfb70) at /usr/src/debug/kdevplatform-0.9.94.20090628svn988730/project/importprojectjob.cpp:47
#8  0x00007f0399b22426 in QtConcurrent::RunFunctionTask<void>::run (this=0x3b8a870) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#9  0x0000003008c50cc4 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:106
#10 0x0000003008c59d21 in QThreadPrivate::start (arg=0x2f7b6e0) at thread/qthread_unix.cpp:189
#11 0x0000003feda0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x0000003fed2de25d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f03984a0820 (LWP 4814)):
[KCrash Handler]
#5  QBasicAtomicInt::operator!= (value=<value optimized out>, this=<value optimized out>) at /usr/include/QtCore/qbasicatomic.h:69
#6  QMap<QString, KDirWatchPrivate::Entry>::detach (value=<value optimized out>, this=<value optimized out>) at /usr/include/QtCore/qmap.h:172
#7  QMap<QString, KDirWatchPrivate::Entry>::find (value=<value optimized out>, this=<value optimized out>) at /usr/include/QtCore/qmap.h:565
#8  KDirWatchPrivate::entry (value=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdelibs-4.2.90/kio/kio/kdirwatch.cpp:499
#9  0x000000300cf2bc92 in KDirWatch::contains (this=0x2cf4ec0, _path=@0x7fff0c18e950) at /usr/src/debug/kdelibs-4.2.90/kio/kio/kdirwatch.cpp:1717
#10 0x00007f038b9aeb60 in CMakeManager::dirtyFile (this=0x2d2f130, dirty=<value optimized out>) at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/projectmanagers/cmake/cmakemanager.cpp:865
#11 0x00007f038b9aebfd in CMakeManager::qt_metacall (this=0x2d2f130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0c18ed90)
    at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/x86_64-redhat-linux-gnu/projectmanagers/cmake/cmakemanager.moc:84
#12 0x0000003008d54cec in QMetaObject::activate (sender=0x3a2c780, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f0380002540) at kernel/qobject.cpp:3120
#13 0x000000300cf27d72 in KDirWatch::dirty (this=0x33, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.2.90/x86_64-redhat-linux-gnu/kio/kdirwatch.moc:83
#14 0x000000300cf28580 in KDirWatch::setDirty (this=0x3a2c780, _file=@0x7fff0c18ee40) at /usr/src/debug/kdelibs-4.2.90/kio/kio/kdirwatch.cpp:1748
#15 0x000000300cf28d09 in KDirWatchPrivate::emitEvent (this=<value optimized out>, e=<value optimized out>, event=1, fileName=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.90/kio/kio/kdirwatch.cpp:1227
#16 0x000000300cf31d71 in KDirWatchPrivate::slotRescan (this=0x2d760b0) at /usr/src/debug/kdelibs-4.2.90/kio/kio/kdirwatch.cpp:1319
#17 0x000000300cf322b4 in KDirWatchPrivate::qt_metacall (this=0x2d760b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0c18f190)
    at /usr/src/debug/kdelibs-4.2.90/x86_64-redhat-linux-gnu/kio/kdirwatch_p.moc:73
#18 0x0000003008d54cec in QMetaObject::activate (sender=0x2d76118, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f0380002540) at kernel/qobject.cpp:3120
#19 0x0000003008d4ebc3 in QObject::event (this=0x2d76118, e=0x7fff0c18e950) at kernel/qobject.cpp:1082
#20 0x000000300ad8ea8c in QApplicationPrivate::notify_helper (this=0x20fd1a0, receiver=0x2d76118, e=0x7fff0c18f790) at kernel/qapplication.cpp:4057
#21 0x000000300ad95e3e in QApplication::notify (this=0x7fff0c18fb50, receiver=0x2d76118, e=0x7fff0c18f790) at kernel/qapplication.cpp:4022
#22 0x000000300f20feb6 in KApplication::notify (this=0x7fff0c18fb50, receiver=0x2d76118, event=0x7fff0c18f790) at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302
#23 0x0000003008d3f61c in QCoreApplication::notifyInternal (this=0x7fff0c18fb50, receiver=0x2d76118, event=0x7fff0c18f790) at kernel/qcoreapplication.cpp:610
#24 0x0000003008d6a622 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#25 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#26 0x0000003008d6815d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#27 0x0000003001837afe in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x000000300183b1d8 in ?? () from /lib64/libglib-2.0.so.0
#29 0x000000300183b300 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x0000003008d680a6 in QEventDispatcherGlib::processEvents (this=0x123f4e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#31 0x000000300ae2162e in QGuiEventDispatcherGlib::processEvents (this=0x33, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x0000003008d3df52 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#33 0x0000003008d3e324 in QEventLoop::exec (this=0x7fff0c18fa30, flags={i = 0}) at kernel/qeventloop.cpp:200
#34 0x0000003008d403c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000406b67 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdevelop-3.9.94.20090628svn988719/app/main.cpp:172

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-07-26 00:58:34 UTC
this definetly looks like either a miscompilation, or a bug in kdelibs. Is this reproduceable?
Comment 2 Ben Boeckel 2009-07-26 01:08:05 UTC
I have since upgraded to 4.2.98. I can't seem to reproduce, but I'll try prodding it this weekend.
Comment 3 Christoph Feck 2010-10-23 19:08:04 UTC
*** Bug 214068 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Crouthamel 2018-09-20 21:57:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-21 04:57:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!