Bug 324480 - Crash while exiting kdevelop
Summary: Crash while exiting kdevelop
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-04 05:19 UTC by Martin Flaska
Modified: 2013-09-30 05:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
valgrind log (88.19 KB, text/plain)
2013-09-04 06:10 UTC, Martin Flaska
Details
New crash information added by DrKonqi (8.77 KB, text/plain)
2013-09-17 21:36 UTC, Joachim Breitsprecher
Details
New crash information added by DrKonqi (8.61 KB, text/plain)
2013-09-24 12:30 UTC, Martin Flaska
Details
New crash information added by DrKonqi (8.45 KB, text/plain)
2013-09-30 05:57 UTC, Martin Flaska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flaska 2013-09-04 05:19:20 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed: quiting KDevelop. I had open C++ project for a while, without any interaction in it (no compilation, ...).

-- 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 0x7f55985f57c0 (LWP 2967))]

Thread 8 (Thread 0x7f5579f0a700 (LWP 2968)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f55960d90a7 in wait (time=1000, this=0x2ee2520) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2eb9ec0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f559223427b in ?? () from /usr/lib/libkdevplatformlanguage.so.6
#4  0x00007f55960d8bec in QThreadPrivate::start (arg=0x2eb9ea0) at thread/qthread_unix.cpp:338
#5  0x00007f5594147f8e in start_thread (arg=0x7f5579f0a700) at pthread_create.c:311
#6  0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f5563313700 (LWP 2971)):
#0  0x00007f5594dd23cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f558f2021dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f558f202304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5596204036 in QEventDispatcherGlib::processEvents (this=0x7f555c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55961d438f in QEventLoop::processEvents (this=this@entry=0x7f5563312d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55961d4618 in QEventLoop::exec (this=this@entry=0x7f5563312d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55960d6410 in QThread::exec (this=this@entry=0x3a48010) at thread/qthread.cpp:542
#7  0x00007f55961b5edf in QInotifyFileSystemWatcherEngine::run (this=0x3a48010) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f55960d8bec in QThreadPrivate::start (arg=0x3a48010) at thread/qthread_unix.cpp:338
#9  0x00007f5594147f8e in start_thread (arg=0x7f5563313700) at pthread_create.c:311
#10 0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f5560b33700 (LWP 2978)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55915b5e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f55915b5ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f5594147f8e in start_thread (arg=0x7f5560b33700) at pthread_create.c:311
#4  0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f5551c21700 (LWP 2991)):
#0  0x00007f5594dd23cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f558f2021dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f558f202304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5596204036 in QEventDispatcherGlib::processEvents (this=0x7f554c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55961d438f in QEventLoop::processEvents (this=this@entry=0x7f5551c20d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55961d4618 in QEventLoop::exec (this=this@entry=0x7f5551c20d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55960d6410 in QThread::exec (this=this@entry=0x5781610) at thread/qthread.cpp:542
#7  0x00007f55961b5edf in QInotifyFileSystemWatcherEngine::run (this=0x5781610) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f55960d8bec in QThreadPrivate::start (arg=0x5781610) at thread/qthread_unix.cpp:338
#9  0x00007f5594147f8e in start_thread (arg=0x7f5551c21700) at pthread_create.c:311
#10 0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f554bdf2700 (LWP 3059)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f558c280585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f558c2805d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5594147f8e in start_thread (arg=0x7f554bdf2700) at pthread_create.c:311
#4  0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f554b5f1700 (LWP 3068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f558bfc6a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f558c2aecee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5594147f8e in start_thread (arg=0x7f554b5f1700) at pthread_create.c:311
#4  0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f554a16e700 (LWP 3102)):
#0  0x00007f5594dd23cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f558f2021dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f558f202304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5596204036 in QEventDispatcherGlib::processEvents (this=0x7f5544002a00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f55961d438f in QEventLoop::processEvents (this=this@entry=0x7f554a16ddc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f55961d4618 in QEventLoop::exec (this=this@entry=0x7f554a16ddc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f55960d6410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f55960d8bec in QThreadPrivate::start (arg=0x58215e0) at thread/qthread_unix.cpp:338
#8  0x00007f5594147f8e in start_thread (arg=0x7f554a16e700) at pthread_create.c:311
#9  0x00007f5594ddee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f55985f57c0 (LWP 2967)):
[KCrash Handler]
#6  0x00007f55973a4944 in QDeclarativeItem::~QDeclarativeItem (this=0x5c6d740, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f559736910e in ~QDeclarativeElement (this=0x5c6d740, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x5c6d740, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f55961ef5e8 in QObject::event (this=0x5c6d740, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f559557b8ec in QApplicationPrivate::notify_helper (this=this@entry=0x1ad5d90, receiver=receiver@entry=0x5c6d740, e=e@entry=0x5ba9c70) at kernel/qapplication.cpp:4567
#11 0x00007f559557e25b in QApplication::notify (this=this@entry=0x7fffc2d9b830, receiver=receiver@entry=0x5c6d740, e=e@entry=0x5ba9c70) at kernel/qapplication.cpp:4428
#12 0x00007f55969d91a6 in KApplication::notify (this=0x7fffc2d9b830, receiver=0x5c6d740, event=0x5ba9c70) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f55961d563e in QCoreApplication::notifyInternal (this=0x7fffc2d9b830, receiver=receiver@entry=0x5c6d740, event=event@entry=0x5ba9c70) at kernel/qcoreapplication.cpp:946
#14 0x00007f55961d9171 in sendEvent (event=0x5ba9c70, receiver=0x5c6d740) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x1a9a240) at kernel/qcoreapplication.cpp:1570
#16 0x00007f55961d94a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1463
#17 0x00007f55961d9d2d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#18 0x00007f5595579ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#19 0x000000000040e71a in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:519

Possible duplicates by query: bug 322800, bug 321154, bug 320985, bug 320004, bug 310087.

Reported using DrKonqi
Comment 1 Martin Flaska 2013-09-04 05:44:01 UTC
Maybe duplicate of bug 307172. I opened larger C++ project, then after 1-2 minute I closed kdevelop, so it crashed after that. I am not sure whether was the background parser still active.
Comment 2 Martin Flaska 2013-09-04 06:10:54 UTC
Created attachment 82143 [details]
valgrind log

Now this is reproducible every time I run/exit kdevelop. I am attaching valgrind log, maybe it will be helpful. 

I have closed kdevelop after background parser finished.

valgrind --track-origins=yes kdevelop
Comment 3 Joachim Breitsprecher 2013-09-17 21:36:11 UTC
Created attachment 82379 [details]
New crash information added by DrKonqi

kdevelop (4.5.1) on KDE Platform 4.11.1 using Qt 4.8.4

- What I was doing when the application crashed:

I was exiting KDevelop. Immediately before, I had saved my last modifications to a C++ project.

-- Backtrace (Reduced):
#6  0x00007f26355f9944 in QDeclarativeItem::~QDeclarativeItem (this=0x6f79030, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f26355be10e in ~QDeclarativeElement (this=0x6f79030, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x6f79030, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f26346bf5e8 in QObject::event (this=0x6f79030, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f2633a4b8ec in QApplicationPrivate::notify_helper (this=this@entry=0xb2ddd0, receiver=receiver@entry=0x6f79030, e=e@entry=0x6ee2080) at kernel/qapplication.cpp:4567
Comment 4 Aleix Pol 2013-09-20 17:52:09 UTC
I haven't seen this problem, maybe it was fixed in further versions? I'd recommend you to upgrade to a newer version.
Comment 5 Martin Flaska 2013-09-24 12:30:42 UTC
Created attachment 82473 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.10.5 using Qt 4.8.4

- What I was doing when the application crashed:
exiting KDevelop. Opened large C++ project, no interaction with UI (compilation, ...), only checkouted anther commit (Git) in the same branch. I am not sure whether was the background parser still active.

This happen quite often, even if I do not touch source code (git checkout, or another text editor, whilst kdevelop is run)

-- Backtrace (Reduced):
#6  0x00007f5e277f8944 in QDeclarativeItem::~QDeclarativeItem (this=0x6bc62a0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f5e277bd10e in ~QDeclarativeElement (this=0x6bc62a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x6bc62a0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f5e266435e8 in QObject::event (this=0x6bc62a0, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f5e259cf8ec in QApplicationPrivate::notify_helper (this=this@entry=0x16e0da0, receiver=receiver@entry=0x6bc62a0, e=e@entry=0x6ae7440) at kernel/qapplication.cpp:4567
Comment 6 Martin Flaska 2013-09-30 05:57:45 UTC
Created attachment 82558 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.10.5 using Qt 4.8.4

- What I was doing when the application crashed:
Exiting KDevelop. Opened large C++ project.

-- Backtrace (Reduced):
#6  0x00007f6e76f0a944 in QDeclarativeItem::~QDeclarativeItem (this=0x7214c80, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f6e76ecf10e in ~QDeclarativeElement (this=0x7214c80, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x7214c80, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f6e75d555e8 in QObject::event (this=0x7214c80, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f6e750e18ec in QApplicationPrivate::notify_helper (this=this@entry=0xa8fda0, receiver=receiver@entry=0x7214c80, e=e@entry=0x7153680) at kernel/qapplication.cpp:4567