Bug 237472 - Crash happened when closing last session
Summary: Crash happened when closing last session
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-05-13 09:58 UTC by Josh Lehan
Modified: 2018-10-21 04:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Lehan 2010-05-13 09:58:06 UTC
Application that crashed: kdevelop.bin
Version of the application: 4.0.0 (using KDevPlatform 1.0.0)
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64

What I was doing when the application crashed:
Started KDevelop 4.
Open another session.
Close the first session.
Close the second session.
It crashes when you tried to close the second session.


 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f9067927740 (LWP 13540))]

Thread 6 (Thread 0x7f904c996910 (LWP 13541)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f906427bad7 in QWaitConditionPrivate::wait (this=0x27decf8, mutex=0x27ded00, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x27decf8, mutex=0x27ded00, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9060edea0e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x27dece0) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/language/duchain/duchain.cpp:286
#4  0x00007f906427ac15 in QThreadPrivate::start (arg=0x27dece0) at thread/qthread_unix.cpp:248
#5  0x00007f9063fec2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f90626bf8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9040406910 (LWP 13560)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9061aa2c06 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9061d80220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f9061aa2c49 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f9061d8e2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f9063fec2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f90626bf8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f903ebec910 (LWP 13579)):
#0  0x00007f90626b6896 in *__GI___poll (fds=0x7f90480121b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f905db3d4b9 in g_main_context_poll (context=0x7f9048000e00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f9048000e00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586
#3  0x00007f905db3d79c in IA__g_main_context_iteration (context=0x7f9048000e00, may_block=1) at gmain.c:2654
#4  0x00007f9064398566 in QEventDispatcherGlib::processEvents (this=0x7f904801e7c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f906436d6d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f906436daa4 in QEventLoop::exec (this=0x7f903ebec040, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f90642780a7 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f906427ac15 in QThreadPrivate::start (arg=0x3c983c0) at thread/qthread_unix.cpp:248
#9  0x00007f9063fec2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f90626bf8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f903d98b910 (LWP 13580)):
#0  0x00007f9063fef3e1 in __pthread_mutex_unlock_usercnt (mutex=0x3ca1a78, decr=1) at pthread_mutex_unlock.c:52
#1  0x00007f905db3cf47 in IA__g_main_context_prepare (context=0x3ca1a70, priority=0x7f903d98af34) at gmain.c:2278
#2  0x00007f905db3d2d9 in g_main_context_iterate (context=0x3ca1a70, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2571
#3  0x00007f905db3d79c in IA__g_main_context_iteration (context=0x3ca1a70, may_block=1) at gmain.c:2654
#4  0x00007f9064398566 in QEventDispatcherGlib::processEvents (this=0x3ca31f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f906436d6d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f906436daa4 in QEventLoop::exec (this=0x7f903d98b040, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f90642780a7 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f906427ac15 in QThreadPrivate::start (arg=0x3c919f0) at thread/qthread_unix.cpp:248
#9  0x00007f9063fec2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f90626bf8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f903d18a910 (LWP 13581)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f906427a565 in thread_sleep (ti=0x7f903d18a000) at thread/qthread_unix.cpp:398
#2  0x00007f906427a6be in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424
#3  0x00007f903e15bff1 in UIBlockTester::UIBlockTesterThread::run (this=0x7f90380008c0) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f906427ac15 in QThreadPrivate::start (arg=0x7f90380008c0) at thread/qthread_unix.cpp:248
#5  0x00007f9063fec2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f90626bf8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9067927740 (LWP 13540)):
[KCrash Handler]
#5  0x00007f906467f360 in typeinfo for QObjectUserData () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f903e15c789 in CppLanguageSupport::language (this=0x3c72310) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpplanguagesupport.cpp:407
#7  0x00007f903e15d4de in ~CppLanguageSupport (this=0x266bc40, __in_chrg=<value optimized out>)
    at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpplanguagesupport.cpp:359
#8  0x00007f906437d770 in QObjectPrivate::deleteChildren (this=0x2698860) at kernel/qobject.cpp:1978
#9  0x00007f9064385200 in ~QObject (this=0x266bc40, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#10 0x00007f9066e0c718 in ~Core (this=0x266bc40, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/shell/core.cpp:262
#11 0x00007f906437ef05 in QObject::event (this=0x266bc40, e=0xb) at kernel/qobject.cpp:1223
#12 0x00007f90632a9f6d in QApplicationPrivate::notify_helper (this=0x24f3330, receiver=0x266bc40, e=0x286a360) at kernel/qapplication.cpp:4300
#13 0x00007f90632b1364 in QApplication::notify (this=0x7fff4a3b5fc0, receiver=0x266bc40, e=0x286a360) at kernel/qapplication.cpp:3704
#14 0x00007f9064b1908b in KApplication::notify (this=0x7fff4a3b5fc0, receiver=0x266bc40, event=0x286a360)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#15 0x00007f906436edab in QCoreApplication::notifyInternal (this=0x7fff4a3b5fc0, receiver=0x266bc40, event=0x286a360) at kernel/qcoreapplication.cpp:704
#16 0x00007f906436fc6b in QCoreApplication::sendEvent (receiver=0x0, event_type=52, data=0x1caa530) at kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x1caa530) at kernel/qcoreapplication.cpp:1345
#18 0x00007f906436ff35 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:988
#19 0x0000000000408dff in main (argc=1, argv=0x7fff4a3b75e8) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/app/main_internal.cpp:232
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-05-14 00:44:58 UTC
Is this reproduceable? If so please run kdevelop in valgrind to attach the log here.
Comment 2 Josh Lehan 2010-05-14 10:52:22 UTC
Unfortunately, I couldn't reproduce it after a few tries.  Will keep an eye on it, though.
Comment 3 Andrew Crouthamel 2018-09-20 21:51:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-21 04:37:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!