Bug 305091 - Kdevelop always crashes when project watched folders are changed/deleted by an outside process
Summary: Kdevelop always crashes when project watched folders are changed/deleted by a...
Status: RESOLVED DUPLICATE of bug 298532
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 15:27 UTC by l_bilo
Modified: 2012-12-23 01:19 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 l_bilo 2012-08-13 15:27:55 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.9.00
Qt Version: 4.8.2
Operating System: Linux 3.4.7-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Running an outside build script, which amongst other things, deletes and recreates certain folders belonging to an open project inside Kdevelop.

I would focus on the backtrace from Thread #1, which fails @ KDirWatch::addDir.

- Unusual behavior I noticed:
Kdevelop always crashes, this has happened for a very long time on every Kdevelop version.

- Custom settings of the application:
Nothing relevant.

The crash can be reproduced every time.

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

Thread 12 (Thread 0x7f6d5ffef700 (LWP 14156)):
#0  0x00007f6d78f82cc1 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d7a557af7 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2  0x00007f6d768e1c4b in ?? () from /lib/libkdevplatformlanguage.so.5
#3  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#4  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#5  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 11 (Thread 0x7f6d4966c700 (LWP 14159)):
#0  0x00007f6d7926af8d in read () from /lib/libc.so.6
#1  0x00007f6d73f4882f in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6d73f0d2c9 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f6d73f0d6e2 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f6d73f0d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f6d7a680c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x00007f6d7a65177f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0x00007f6d7a651a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0x00007f6d7a554700 in QThread::exec() () from /lib/libQtCore.so.4
#9  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#10 0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#11 0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 10 (Thread 0x7f6d48e6b700 (LWP 14160)):
#0  0x00007f6d73f49250 in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f6d73f494c9 in g_mutex_lock () from /lib/libglib-2.0.so.0
#2  0x00007f6d73f0cf89 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f6d73f0d66b in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f6d73f0d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f6d7a680c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x00007f6d7a65177f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0x00007f6d7a651a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0x00007f6d7a554700 in QThread::exec() () from /lib/libQtCore.so.4
#9  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#10 0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#11 0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7f6d42714700 (LWP 14165)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d62887aa7 in ?? () from /lib/libQtScript.so.4
#2  0x00007f6d62887ad9 in ?? () from /lib/libQtScript.so.4
#3  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#4  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f6d4197f700 (LWP 14169)):
#0  0x00007f6d78f81dff in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007f6d73f49501 in g_mutex_unlock () from /lib/libglib-2.0.so.0
#2  0x00007f6d73f0d235 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f6d73f0d6e2 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f6d73f0d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f6d7a680c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x00007f6d7a65177f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0x00007f6d7a651a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0x00007f6d7a554700 in QThread::exec() () from /lib/libQtCore.so.4
#9  0x00007f6d7a6321af in ?? () from /lib/libQtCore.so.4
#10 0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#11 0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#12 0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f6d37fff700 (LWP 14191)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d70dd537d in ?? () from /lib/libQtWebKit.so.4
#2  0x00007f6d70dd5489 in ?? () from /lib/libQtWebKit.so.4
#3  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#4  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f6d4092c700 (LWP 14192)):
#0  0x00007f6d7a681786 in ?? () from /lib/libQtCore.so.4
#1  0x00007f6d7a68030c in ?? () from /lib/libQtCore.so.4
#2  0x00007f6d73f0cf7f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f6d73f0d66b in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f6d73f0d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f6d7a680c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x00007f6d7a65177f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0x00007f6d7a651a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0x00007f6d7a554700 in QThread::exec() () from /lib/libQtCore.so.4
#9  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#10 0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#11 0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f6d3488c700 (LWP 14685)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d7a557b9b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2  0x00007f6d717e1df1 in ?? () from /lib/libthreadweaver.so.4
#3  0x00007f6d717e463b in ?? () from /lib/libthreadweaver.so.4
#4  0x00007f6d717e4654 in ?? () from /lib/libthreadweaver.so.4
#5  0x00007f6d717e34af in ?? () from /lib/libthreadweaver.so.4
#6  0x00007f6d717e353b in ThreadWeaver::Thread::run() () from /lib/libthreadweaver.so.4
#7  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#8  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#9  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f6ceaffd700 (LWP 14686)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d7a557b9b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2  0x00007f6d717e1df1 in ?? () from /lib/libthreadweaver.so.4
#3  0x00007f6d717e463b in ?? () from /lib/libthreadweaver.so.4
#4  0x00007f6d717e34af in ?? () from /lib/libthreadweaver.so.4
#5  0x00007f6d717e353b in ThreadWeaver::Thread::run() () from /lib/libthreadweaver.so.4
#6  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#7  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#8  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f6d36345700 (LWP 16149)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d7a557b9b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2  0x00007f6d717e1df1 in ?? () from /lib/libthreadweaver.so.4
#3  0x00007f6d717e463b in ?? () from /lib/libthreadweaver.so.4
#4  0x00007f6d717e34af in ?? () from /lib/libthreadweaver.so.4
#5  0x00007f6d717e353b in ThreadWeaver::Thread::run() () from /lib/libthreadweaver.so.4
#6  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#7  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#8  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f6d35b44700 (LWP 16150)):
#0  0x00007f6d78f82954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6d7a557b9b in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#2  0x00007f6d717e1df1 in ?? () from /lib/libthreadweaver.so.4
#3  0x00007f6d717e463b in ?? () from /lib/libthreadweaver.so.4
#4  0x00007f6d717e34af in ?? () from /lib/libthreadweaver.so.4
#5  0x00007f6d717e353b in ThreadWeaver::Thread::run() () from /lib/libthreadweaver.so.4
#6  0x00007f6d7a55769b in ?? () from /lib/libQtCore.so.4
#7  0x00007f6d78f7ee0f in start_thread () from /lib/libpthread.so.0
#8  0x00007f6d7927704d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f6d6a446780 (LWP 14155)):
[KCrash Handler]
#5  0x00007f6d7bb196d0 in KDirWatch::addDir(QString const&, QFlags<KDirWatch::WatchMode>) () from /lib/libkdecore.so.5
#6  0x00007f6d40d5e5b5 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#7  0x00007f6d40d62196 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#8  0x00007f6d7a667f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#9  0x00007f6d7bb16092 in KDirWatch::dirty(QString const&) () from /lib/libkdecore.so.5
#10 0x00007f6d7a6673ee in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#11 0x00007f6d79a03f8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#12 0x00007f6d79a0840a in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#13 0x00007f6d7ae69856 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#14 0x00007f6d7a652a2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#15 0x00007f6d7a656391 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#16 0x00007f6d7a680a93 in ?? () from /lib/libQtCore.so.4
#17 0x00007f6d73f0d475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f6d73f0d7a8 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f6d73f0d864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f6d7a680c26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#21 0x00007f6d79aa41ee in ?? () from /lib/libQtGui.so.4
#22 0x00007f6d7a65177f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#23 0x00007f6d7a651a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#24 0x00007f6d7a6566a8 in QCoreApplication::exec() () from /lib/libQtCore.so.4
#25 0x0000000000409728 in ?? ()
#26 0x00007f6d791b4725 in __libc_start_main () from /lib/libc.so.6
#27 0x0000000000409e41 in _start ()

Reported using DrKonqi
Comment 1 Kevin Funk 2012-12-23 01:19:13 UTC

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