Bug 320004 - KDevelop v4.4.1 Crashes when Deleting Active Session [segfault]
Summary: KDevelop v4.4.1 Crashes when Deleting Active Session [segfault]
Status: RESOLVED DUPLICATE of bug 307172
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-19 08:16 UTC by h.k.ghost
Modified: 2013-05-20 08:45 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 h.k.ghost 2013-05-19 08:16:07 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.0-21-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed: I had created one session on KDevelop. I had one project with one file open (standard C++, not Qt).

I then decided to delete the current (and only) session (while the project + file were still open). After pressing the continue button in the confirmation popup dialog there was a crash.

I tried a 2nd time with multiple sessions, and deleting one session seemed to work fine. I then tried again with only one session as described above, but I could not reproduce it.

The crash can be reproduced sometimes.

-- 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 0x7f59c024d7c0 (LWP 8591))]

Thread 9 (Thread 0x7f59a15b2700 (LWP 8592)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f59bdd340a7 in wait (time=1000, this=0x29aa6b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2992df0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f59b9e9027b in ?? () from /usr/lib/libkdevplatformlanguage.so.6
#4  0x00007f59bdd33bec in QThreadPrivate::start (arg=0x2992dd0) at thread/qthread_unix.cpp:338
#5  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007f59bbda2f8e in start_thread (arg=0x7f59a15b2700) at pthread_create.c:311
#7  0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f598f51a700 (LWP 8593)):
#0  0x00007f59bca2bb0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f59ae9ad36c in ?? () from /usr/lib/nvidia-310/libGL.so.1
#2  0x00007f59adc0abf7 in ?? () from /usr/lib/nvidia-310/tls/libnvidia-tls.so.310.44
#3  0x00007f59b6e9c6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f59b6e5dd3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f59b6e5e175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f59b6e5e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f59bde5f036 in QEventDispatcherGlib::processEvents (this=0x7f59880008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f59bde2f38f in QEventLoop::processEvents (this=this@entry=0x7f598f519cd0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f59bde2f618 in QEventLoop::exec (this=this@entry=0x7f598f519cd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f59bdd31410 in QThread::exec (this=this@entry=0x2976f20) at thread/qthread.cpp:542
#11 0x00007f59bde10edf in QInotifyFileSystemWatcherEngine::run (this=0x2976f20) at io/qfilesystemwatcher_inotify.cpp:256
#12 0x00007f59bdd33bec in QThreadPrivate::start (arg=0x2976f20) at thread/qthread_unix.cpp:338
#13 0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#14 0x00007f59bbda2f8e in start_thread (arg=0x7f598f51a700) at pthread_create.c:311
#15 0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f598c845700 (LWP 8602)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59b9211e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f59b9211ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#4  0x00007f59bbda2f8e in start_thread (arg=0x7f598c845700) at pthread_create.c:311
#5  0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f597e97f700 (LWP 8614)):
#0  0x00007f59bca2d3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f59b6e5e1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f59b6e5e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f59bde5f036 in QEventDispatcherGlib::processEvents (this=0x7f59740008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f59bde2f38f in QEventLoop::processEvents (this=this@entry=0x7f597e97ecd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f59bde2f618 in QEventLoop::exec (this=this@entry=0x7f597e97ecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f59bdd31410 in QThread::exec (this=this@entry=0x4b32d30) at thread/qthread.cpp:542
#7  0x00007f59bde10edf in QInotifyFileSystemWatcherEngine::run (this=0x4b32d30) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f59bdd33bec in QThreadPrivate::start (arg=0x4b32d30) at thread/qthread_unix.cpp:338
#9  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f59bbda2f8e in start_thread (arg=0x7f597e97f700) at pthread_create.c:311
#11 0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f5973fff700 (LWP 8684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59b3edd585 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f59b3edd5d9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#4  0x00007f59bbda2f8e in start_thread (arg=0x7f5973fff700) at pthread_create.c:311
#5  0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f597cbe2700 (LWP 8750)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59b3c23a09 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f59b3f0bcee in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#4  0x00007f59bbda2f8e in start_thread (arg=0x7f597cbe2700) at pthread_create.c:311
#5  0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f5972c7c700 (LWP 8751)):
#0  0x00007f59b6e9d5e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f59b6e5db39 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f59b6e5e14c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f59b6e5e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f59bde5f036 in QEventDispatcherGlib::processEvents (this=0x7f596c014970, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f59bde2f38f in QEventLoop::processEvents (this=this@entry=0x7f5972c7bd00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f59bde2f618 in QEventLoop::exec (this=this@entry=0x7f5972c7bd00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f59bdd31410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f59bdd33bec in QThreadPrivate::start (arg=0x490d910) at thread/qthread_unix.cpp:338
#9  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007f59bbda2f8e in start_thread (arg=0x7f5972c7c700) at pthread_create.c:311
#11 0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f597203e700 (LWP 8755)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f59bdd3414b in wait (time=18446744073709551615, this=0x554a0c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x556f768, mutex=0x55eb2a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f59b4993041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x556f740, th=0x55e61f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f59b499594b in ThreadWeaver::WorkingHardState::applyForWork (this=0x55e9f30, th=0x55e61f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f59b499463f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f597203dd00, parent=0x556f740, th=th@entry=0x55e61f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f59b49946cb in ThreadWeaver::Thread::run (this=0x55e61f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f59bdd33bec in QThreadPrivate::start (arg=0x55e61f0) at thread/qthread_unix.cpp:338
#8  0x00007f59ae9ae3b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#9  0x00007f59bbda2f8e in start_thread (arg=0x7f597203e700) at pthread_create.c:311
#10 0x00007f59bca39e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f59c024d7c0 (LWP 8591)):
[KCrash Handler]
#6  0x00007f59bf002944 in QDeclarativeItem::~QDeclarativeItem (this=0x50414d0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f59befc710e in ~QDeclarativeElement (this=0x50414d0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x50414d0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007f59bde4a5e8 in QObject::event (this=0x50414d0, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f59bd1d68ec in QApplicationPrivate::notify_helper (this=this@entry=0x149a790, receiver=receiver@entry=0x50414d0, e=e@entry=0x4f0a5e0) at kernel/qapplication.cpp:4567
#11 0x00007f59bd1d925b in QApplication::notify (this=this@entry=0x7fffa31554e0, receiver=receiver@entry=0x50414d0, e=e@entry=0x4f0a5e0) at kernel/qapplication.cpp:4428
#12 0x00007f59be635af6 in KApplication::notify (this=0x7fffa31554e0, receiver=0x50414d0, event=0x4f0a5e0) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f59bde3063e in QCoreApplication::notifyInternal (this=0x7fffa31554e0, receiver=receiver@entry=0x50414d0, event=event@entry=0x4f0a5e0) at kernel/qcoreapplication.cpp:946
#14 0x00007f59bde34171 in sendEvent (event=0x4f0a5e0, receiver=0x50414d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x145db10) at kernel/qcoreapplication.cpp:1570
#16 0x00007f59bde344a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1463
#17 0x00007f59bde34d2d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#18 0x000000000040e71a in ?? ()
#19 0x00007f59bc961ea5 in __libc_start_main (main=0x409650, argc=1, ubp_av=0x7fffa3155828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa3155818) at libc-start.c:260
#20 0x000000000040ee61 in _start ()

Possible duplicates by query: bug 310087, bug 307172.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-05-20 08:45:19 UTC

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