[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 307172] New: Crash during KDevelop shutdown
From:       Bastian <bastian.leyer () wetteronline ! de>
Date:       2012-09-21 19:19:04
Message-ID: bug-307172-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=307172

            Bug ID: 307172
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: Crash during KDevelop shutdown
    Classification: Unclassified
                OS: Linux
          Reporter: bastian.leyer@wetteronline.de
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: kdevelop

Application: kdevelop (4.4.60)
KDE Platform Version: 4.9.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-15-generic x86_64
Distribution: Ubuntu quantal (development branch)

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

I inserted this line:
   void setResultSet(engine::IResultSet * result);
As I closed KDevelop, the background parser was still active.
This crash happens sometimes and I could not reproduce it.

The crash can be reproduced some of the time.

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

Thread 12 (Thread 0x7f3715c96700 (LWP 2728)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f372ec4efa7 in wait (time=1000, this=0x3b46af0) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3b414e0, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f372ad7382f in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x3b414c0) at
/home/bastian/src/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x3b414c0) at
thread/qthread_unix.cpp:338
#5  0x00007f372ccc9e9a in start_thread (arg=0x7f3715c96700) at
pthread_create.c:308
#6  0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f370615c700 (LWP 2729)):
#0  0x00007f372d952703 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f372ed29fe2 in QProcessManager::run (this=0x7f372f0a3520
<processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x7f372f0a3520
<processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007f372ccc9e9a in start_thread (arg=0x7f370615c700) at
pthread_create.c:308
#4  0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f36fc21e700 (LWP 2731)):
#0  0x00007f372d94d9e3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3727cb9e84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3727cb9fa4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f372ed79c16 in QEventDispatcherGlib::processEvents
(this=0x7f36f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f372ed4a2bf in QEventLoop::processEvents
(this=this@entry=0x7f36fc21ddd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f372ed4a548 in QEventLoop::exec (this=0x7f36fc21ddd0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f372ec4bb10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007f372ed2a9af in QInotifyFileSystemWatcherEngine::run (this=0x2aacfc0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x2aacfc0) at
thread/qthread_unix.cpp:338
#9  0x00007f372ccc9e9a in start_thread (arg=0x7f36fc21e700) at
pthread_create.c:308
#10 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f36f9f72700 (LWP 2738)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f372a0becd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f372a0bed09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f372ccc9e9a in start_thread (arg=0x7f36f9f72700) at
pthread_create.c:308
#4  0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f36f91b2700 (LWP 2748)):
#0  0x00007f372d94d9e3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3727cb9e84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3727cb9fa4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f372ed79c16 in QEventDispatcherGlib::processEvents
(this=0x7f36e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f372ed4a2bf in QEventLoop::processEvents
(this=this@entry=0x7f36f91b1dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f372ed4a548 in QEventLoop::exec (this=0x7f36f91b1dd0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f372ec4bb10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007f372ed2a9af in QInotifyFileSystemWatcherEngine::run (this=0x59fde40)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x59fde40) at
thread/qthread_unix.cpp:338
#9  0x00007f372ccc9e9a in start_thread (arg=0x7f36f91b2700) at
pthread_create.c:308
#10 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f36eaa53700 (LWP 2761)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3724deab2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3724deac39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f372ccc9e9a in start_thread (arg=0x7f36eaa53700) at
pthread_create.c:308
#4  0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f36ea13a700 (LWP 2762)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x7f36e0002860) at
kernel/qeventdispatcher_unix.cpp:403
#1  0x00007f372ed7a781 in QTimerInfoList::timerWait (this=0x7f36e0002860,
tm=...) at kernel/qeventdispatcher_unix.cpp:451
#2  0x00007f372ed792cc in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f36ea139c44) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007f372ed79375 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#4  0x00007f3727cb9718 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3727cb9dab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3727cb9fa4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f372ed79c16 in QEventDispatcherGlib::processEvents
(this=0x7f36e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f372ed4a2bf in QEventLoop::processEvents
(this=this@entry=0x7f36ea139e00, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f372ed4a548 in QEventLoop::exec (this=0x7f36ea139e00, flags=...) at
kernel/qeventloop.cpp:204
#10 0x00007f372ec4bb10 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#11 0x00007f372ec4eaec in QThreadPrivate::start (arg=0x558a5d0) at
thread/qthread_unix.cpp:338
#12 0x00007f372ccc9e9a in start_thread (arg=0x7f36ea13a700) at
pthread_create.c:308
#13 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f369e7fc700 (LWP 2950)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f372ec4f04b in wait (time=18446744073709551615, this=0x626df90) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5f560e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f37257da0e1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27a84b0,
th=0x557ec60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f37257dc92b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x557ec60) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x557ec60) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f37257db79f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f369e7fbe00, parent=0x27a84b0, th=th@entry=0x557ec60) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f37257db82b in ThreadWeaver::Thread::run (this=0x557ec60) at
../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x557ec60) at
thread/qthread_unix.cpp:338
#9  0x00007f372ccc9e9a in start_thread (arg=0x7f369e7fc700) at
pthread_create.c:308
#10 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f369df7d700 (LWP 2951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f372ec4f04b in wait (time=18446744073709551615, this=0x626df90) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5f560e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f37257da0e1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27a84b0,
th=0x65f7340) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f37257dc92b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x65f7340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x65f7340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x65f7340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x65f7340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f37257db79f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f369df7ce00, parent=0x27a84b0, th=th@entry=0x65f7340) at
../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f37257db82b in ThreadWeaver::Thread::run (this=0x65f7340) at
../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f372ec4eaec in QThreadPrivate::start (arg=0x65f7340) at
thread/qthread_unix.cpp:338
#11 0x00007f372ccc9e9a in start_thread (arg=0x7f369df7d700) at
pthread_create.c:308
#12 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f369d77c700 (LWP 3013)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f372ec4f04b in wait (time=18446744073709551615, this=0x626df90) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5f560e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f37257da0e1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27a84b0,
th=0x66a8340) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f37257dc92b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x66a8340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x66a8340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f37257dc944 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x66a8340) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f37257db79f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f369d77be00, parent=0x27a84b0, th=th@entry=0x66a8340) at
../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f37257db82b in ThreadWeaver::Thread::run (this=0x66a8340) at
../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x66a8340) at
thread/qthread_unix.cpp:338
#10 0x00007f372ccc9e9a in start_thread (arg=0x7f369d77c700) at
pthread_create.c:308
#11 0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f367cff9700 (LWP 3021)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f372ec4f04b in wait (time=18446744073709551615, this=0x626df90) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5f560e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f37257da0e1 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27a84b0,
th=0x276fd20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f37257dc92b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x5f7aa40, th=0x276fd20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f37257db79f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f367cff8e00, parent=0x27a84b0, th=th@entry=0x276fd20) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f37257db82b in ThreadWeaver::Thread::run (this=0x276fd20) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f372ec4eaec in QThreadPrivate::start (arg=0x276fd20) at
thread/qthread_unix.cpp:338
#8  0x00007f372ccc9e9a in start_thread (arg=0x7f367cff9700) at
pthread_create.c:308
#9  0x00007f372d95939d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f371e8ff780 (LWP 2727)):
[KCrash Handler]
#6  0x00007f372ff2bdd4 in QDeclarativeItem::~QDeclarativeItem (this=0x5ebde70,
__in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f372feef6ee in ~QDeclarativeElement (this=0x5ebde70,
__in_chrg=<optimized out>) at
../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8 
QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement
(this=0x5ebde70, __in_chrg=<optimized out>) at
../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f372ed60468 in QObject::event (this=0x5ebde70, e=<optimized out>) at
kernel/qobject.cpp:1176
#10 0x00007f372e0f2e9c in QApplicationPrivate::notify_helper
(this=this@entry=0x26c0230, receiver=receiver@entry=0x5ebde70,
e=e@entry=0x5e19030) at kernel/qapplication.cpp:4562
#11 0x00007f372e0f730a in QApplication::notify (this=0x7fff77f8bd70,
receiver=0x5ebde70, e=0x5e19030) at kernel/qapplication.cpp:4423
#12 0x00007f372f546cb6 in KApplication::notify (this=0x7fff77f8bd70,
receiver=0x5ebde70, event=0x5e19030) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f372ed4b56e in QCoreApplication::notifyInternal
(this=0x7fff77f8bd70, receiver=receiver@entry=0x5ebde70,
event=event@entry=0x5e19030) at kernel/qcoreapplication.cpp:915
#14 0x00007f372ed4f3f1 in sendEvent (event=0x5e19030, receiver=0x5ebde70) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=52, data=0x2602670) at
kernel/qcoreapplication.cpp:1539
#16 0x00007f372ed4f673 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=52) at
kernel/qcoreapplication.cpp:1432
#17 0x00007f372ed4f73f in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1194
#18 0x000000000040df6e in main (argc=<optimized out>, argv=<optimized out>) at
/home/bastian/src/kdevelop/app/main.cpp:518

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic