Bug 307172 - Crash during KDevelop shutdown [QDeclarativeItem::~QDeclarativeItem]
Summary: Crash during KDevelop shutdown [QDeclarativeItem::~QDeclarativeItem]
Status: RESOLVED UPSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 310087 320004 320985 321154 322800 330538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-21 19:19 UTC by Bastian
Modified: 2014-01-29 13:37 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.01 KB, text/plain)
2012-10-16 15:01 UTC, Maciej Cencora
Details
New crash information added by DrKonqi (8.27 KB, text/plain)
2012-12-23 17:18 UTC, Tomislav Adamic
Details
New crash information added by DrKonqi (8.01 KB, text/plain)
2013-01-07 13:31 UTC, Sasa Kara
Details
New crash information added by DrKonqi (9.57 KB, text/plain)
2013-02-05 10:43 UTC, Marco Esposito
Details
New crash information added by DrKonqi (8.43 KB, text/plain)
2013-04-24 15:08 UTC, Michael Spencer
Details
New crash information added by DrKonqi (6.42 KB, text/plain)
2013-06-07 13:32 UTC, apc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bastian 2012-09-21 19:19:04 UTC
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
Comment 1 Milian Wolff 2012-10-04 23:06:03 UTC
Probably a QML bug :-/ If you could reproduce this with valgrind that would be very helpful...

valgrind --track-origins=yes kdevelop -s ...
Comment 2 Maciej Cencora 2012-10-16 15:01:48 UTC
Created attachment 74580 [details]
New crash information added by DrKonqi

kdevelop (4.4.60) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:
I was trying to close the Kdevelop application

-- Backtrace (Reduced):
#6  0x00007f0b23358dd4 in QDeclarativeItem::~QDeclarativeItem (this=0x6fc4dc0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f0b2331c6ee in ~QDeclarativeElement (this=0x6fc4dc0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x6fc4dc0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f0b22419468 in QObject::event (this=0x6fc4dc0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007f0b217abe9c in QApplicationPrivate::notify_helper (this=this@entry=0xf350d0, receiver=receiver@entry=0x6fc4dc0, e=e@entry=0x6f1ec80) at kernel/qapplication.cpp:4562
Comment 3 Milian Wolff 2012-11-21 13:09:03 UTC
*** Bug 310087 has been marked as a duplicate of this bug. ***
Comment 4 Milian Wolff 2012-11-21 13:09:30 UTC
please run valgrind on kdevelop if you can reproduce this:

valgrind --smc-check=all --track-origins=yes kdevelop -s ...
Comment 5 Tomislav Adamic 2012-12-23 17:18:40 UTC
Created attachment 75986 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.9.3 using Qt 4.8.3

- What I was doing when the application crashed:

Exiting KDevelop with one C++/Qt project opened. No build tasks were preformed while exiting.

-- Backtrace (Reduced):
#7  0xb70df6ce in QDeclarativeItem::~QDeclarativeItem (this=0x9f2dab0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xb709e124 in ~QDeclarativeElement (this=0x9f2dab0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x9f2dab0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#10 0xb6963783 in qDeleteInEventHandler (o=o@entry=0x9f2dab0) at kernel/qobject.cpp:4277
#11 0xb6965f10 in QObject::event (this=0x9f2dab0, e=0x9e83880) at kernel/qobject.cpp:1176
Comment 6 Sasa Kara 2013-01-07 13:31:55 UTC
Created attachment 76274 [details]
New crash information added by DrKonqi

kdevelop (4.3.90) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:
I was exiting the application while having a custom C++ project open (nothing was being built, code parser was quiet for a long time).

-- Backtrace (Reduced):
#6  0x00007f8f09792dd4 in QDeclarativeItem::~QDeclarativeItem (this=0x568ceb0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f8f097566ee in ~QDeclarativeElement (this=0x568ceb0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x568ceb0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f8f085dc468 in QObject::event (this=0x568ceb0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007f8f0796ee9c in QApplicationPrivate::notify_helper (this=this@entry=0x2401270, receiver=receiver@entry=0x568ceb0, e=e@entry=0x5598420) at kernel/qapplication.cpp:4562
Comment 7 Marco Esposito 2013-02-05 10:43:10 UTC
Created attachment 76920 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.9.4 using Qt 4.8.3

- What I was doing when the application crashed:

I just closed KDevelop as the initial setup and parsing was still running. I had made no modifications whatsoever to the project files.

-- Backtrace (Reduced):
#6  0x00007f4870928dd4 in QDeclarativeItem::~QDeclarativeItem (this=0x5ea9090, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f48708ec6ee in ~QDeclarativeElement (this=0x5ea9090, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x5ea9090, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f486f772468 in QObject::event (this=0x5ea9090, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007f486eb04e9c in QApplicationPrivate::notify_helper (this=this@entry=0x14d1af0, receiver=receiver@entry=0x5ea9090, e=e@entry=0x5e05860) at kernel/qapplication.cpp:4562
Comment 8 Kevin Funk 2013-02-05 10:58:02 UTC
That seems to be fixed with Qt 4.8.4.

Reasons for that - multiple bug entries show the same symptoms (backtrace) and have been set to UPSTREAM.
- https://bugs.kde.org/show_bug.cgi?id=311018
- https://bugs.kde.org/show_bug.cgi?id=300393

I have been running KDevelop with Qt 4.8.4 for quite some time now and didn't experience any QDeclarativeItem related crashes anymore.

Please reopen if this is reproducible with Qt >= 4.8.4
Comment 9 Laurent Bonnaud 2013-02-05 15:52:01 UTC
I confirm that with Qt 4.8.4 in Ubuntu raring this bug is gone.
Comment 10 Michael Spencer 2013-04-24 15:08:26 UTC
Created attachment 79417 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

I closed KDevelop immediately after modifying a C++ file.

-- Backtrace (Reduced):
#6  0x00007fec38290944 in QDeclarativeItem::~QDeclarativeItem (this=0x50c7c70, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007fec3825510e in ~QDeclarativeElement (this=0x50c7c70, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x50c7c70, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007fec370d85e8 in QObject::event (this=0x50c7c70, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007fec364648ec in QApplicationPrivate::notify_helper (this=this@entry=0x11036d0, receiver=receiver@entry=0x50c7c70, e=e@entry=0x4fe4c80) at kernel/qapplication.cpp:4567
Comment 11 Christoph Feck 2013-05-13 12:44:06 UTC
Comment #10 is from Qt 4.8.4, so the bug is still not fixed.
Comment 12 Kevin Funk 2013-05-20 08:45:19 UTC
*** Bug 320004 has been marked as a duplicate of this bug. ***
Comment 13 apc 2013-06-07 13:32:25 UTC
Created attachment 80379 [details]
New crash information added by DrKonqi

kdevelop (4.5.1) on KDE Platform 4.10.4 using Qt 4.8.2

- What I was doing when the application crashed:

Just closing KDevelop regularly and it crashed post closing.

-- Backtrace (Reduced):
#6  0x00007f8b423299ee in QDeclarativeItem::~QDeclarativeItem (this=0x5be32a0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f8b422ecaf5 in ~QDeclarativeElement (this=0x5be32a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x5be32a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f8b413c1978 in QObject::event (this=0x5be32a0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007f8b407297b4 in notify_helper (e=0x333fe90, receiver=0x5be32a0, this=0x7dd210) at kernel/qapplication.cpp:4556
Comment 14 Kevin Funk 2013-06-10 09:55:27 UTC
*** Bug 320985 has been marked as a duplicate of this bug. ***
Comment 15 Kevin Funk 2013-06-14 19:11:55 UTC
*** Bug 321154 has been marked as a duplicate of this bug. ***
Comment 16 Kevin Funk 2013-07-26 06:24:38 UTC
*** Bug 322800 has been marked as a duplicate of this bug. ***
Comment 17 Joachim Breitsprecher 2013-09-17 21:41:56 UTC
This bug might still be present with Qt 4.8.4. See for example bug 324480. It has two reports of a crash with QT 4.8.4.
Comment 18 Martin Flaska 2013-09-24 12:36:21 UTC
Yeah, I still see this crash (kdevelop (4.4.1) on KDE Platform 4.10.5 using Qt 4.8.4).
Comment 19 Kevin Funk 2014-01-29 13:30:55 UTC
*** Bug 330538 has been marked as a duplicate of this bug. ***
Comment 20 Kevin Funk 2014-01-29 13:37:25 UTC
I really can't tell what's going on here. AFAIR, I had the same problems in <4.8.4 times, but the crashes went away after upgrading to 4.8.4. Nowadays I'm running 4.8.5. I've never had this kind of crashes for anything >=4.8.4, though.