Bug 293501 - Crash when exiting kdevelop
Summary: Crash when exiting kdevelop
Status: RESOLVED DUPLICATE of bug 292453
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 02:54 UTC by Christopher Heiny
Modified: 2012-04-08 12:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (14.35 KB, text/plain)
2012-04-08 12:55 UTC, wodencafe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Heiny 2012-02-07 02:54:04 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.2-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I opened kdevelop over an SSH X11 tunnel to browse some code.  No edits were made.  It sat open and idle after that for several hours.  I hit Ctrl-Q to close kdevelop, and it crashed.

Odd behavior noted previously: kdevelop over SSH X11 tunneling is often very very very slow.  Other KDE applications (kompare, konsole, etc) are OK over the same connection, as are non-KDE applications such as Firefox and Thunderbird.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0980337840 (LWP 3493))]

Thread 8 (Thread 0x7f09734a2700 (LWP 3496)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00000034d7c7bfdf in wait (time=1000, this=0x1f07140) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1f01150, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00000034e5cb0b4b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1f01130) at /usr/src/debug/kdevplatform-1.2.3/language/duchain/duchain.cpp:286
#4  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x1f01130) at thread/qthread_unix.cpp:298
#5  0x0000003a0dc07d90 in start_thread (arg=0x7f09734a2700) at pthread_create.c:309
#6  0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f095e867700 (LWP 3509)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034e2b84e62 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x34e2e7e240) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000034e2b84e99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003a0dc07d90 in start_thread (arg=0x7f095e867700) at pthread_create.c:309
#4  0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f095dab5700 (LWP 3523)):
#0  0x0000003a0d4e6af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034f9a44fd8 in g_main_context_poll (n_fds=1, fds=0x7f0954002400, priority=<optimized out>, timeout=-1, context=0x7f09540009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f09540009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00000034f9a4549c in g_main_context_iteration (context=0x7f09540009a0, may_block=1) at gmain.c:3152
#4  0x00000034d7da7dc6 in QEventDispatcherGlib::processEvents (this=0x7f09540008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000034d7d78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000034d7d783d7 in QEventLoop::exec (this=0x7f095dab4d10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000034d7c78b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000034d7d57e7f in QInotifyFileSystemWatcherEngine::run (this=0x463e570) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x463e570) at thread/qthread_unix.cpp:298
#10 0x0000003a0dc07d90 in start_thread (arg=0x7f095dab5700) at pthread_create.c:309
#11 0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f095ca58700 (LWP 3587)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034d7c7c07b in wait (time=18446744073709551615, this=0xfc5970) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcf7c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000034e740aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xfc3720, th=0x3bf8cf0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000034e740d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0xd5b220, th=0x3bf8cf0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000034e740d394 in ThreadWeaver::WorkingHardState::applyForWork (this=0xd5b220, th=0x3bf8cf0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00000034e740c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f095ca57d60, parent=0xfc3720, th=0x3bf8cf0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00000034e740c27b in ThreadWeaver::Thread::run (this=0x3bf8cf0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x3bf8cf0) at thread/qthread_unix.cpp:298
#9  0x0000003a0dc07d90 in start_thread (arg=0x7f095ca58700) at pthread_create.c:309
#10 0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f094ffff700 (LWP 3588)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034d7c7c07b in wait (time=18446744073709551615, this=0xfc5970) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcf7c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000034e740aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xfc3720, th=0x7f0948002560) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000034e740d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0xd5b220, th=0x7f0948002560) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000034e740c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f094fffed60, parent=0xfc3720, th=0x7f0948002560) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00000034e740c27b in ThreadWeaver::Thread::run (this=0x7f0948002560) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x7f0948002560) at thread/qthread_unix.cpp:298
#8  0x0000003a0dc07d90 in start_thread (arg=0x7f094ffff700) at pthread_create.c:309
#9  0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f094f7fe700 (LWP 3596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034e41b86ec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x34e4b7cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000034e41b8819 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003a0dc07d90 in start_thread (arg=0x7f094f7fe700) at pthread_create.c:309
#4  0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f094effd700 (LWP 3597)):
#0  0x0000003a0dc09de5 in __pthread_mutex_lock (mutex=0x7f093c0009a8) at pthread_mutex_lock.c:65
#1  0x00000034f9a44093 in g_main_context_prepare (context=0x7f093c0009a0, priority=0x7f094effcc18) at gmain.c:2764
#2  0x00000034f9a44e6d in g_main_context_iterate (context=0x7f093c0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#3  0x00000034f9a4549c in g_main_context_iteration (context=0x7f093c0009a0, may_block=1) at gmain.c:3152
#4  0x00000034d7da7dc6 in QEventDispatcherGlib::processEvents (this=0x7f093c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000034d7d78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000034d7d783d7 in QEventLoop::exec (this=0x7f094effcd40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000034d7c78b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000034d7c7bb6b in QThreadPrivate::start (arg=0x51addd0) at thread/qthread_unix.cpp:298
#9  0x0000003a0dc07d90 in start_thread (arg=0x7f094effd700) at pthread_create.c:309
#10 0x0000003a0d4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f0980337840 (LWP 3493)):
[KCrash Handler]
#6  0x0000003a0d436285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003a0d437b9b in __GI_abort () at abort.c:91
#8  0x0000003a0d475fae in __libc_message (do_abort=2, fmt=0x3a0d574b98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x0000003a0d47c2d6 in malloc_printerr (action=3, str=0x3a0d571b69 "free(): invalid pointer", ptr=<optimized out>) at malloc.c:5021
#10 0x00000034e5d5cd39 in KDevelop::PointerType::~PointerType (this=0x7f0944417110, __in_chrg=<optimized out>) at /usr/src/debug/kdevplatform-1.2.3/language/duchain/types/pointertype.cpp:78
#11 0x00007f095fb0c157 in ~TypePtr (this=0x7f09444170f0, __in_chrg=<optimized out>) at /usr/include/kde4/kdevplatform/language/duchain/types/typepointer.h:81
#12 ~Parameter (this=0x7f09444170f0, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/overloadresolution.h:48
#13 node_destruct (to=0x7f094442abe8, from=0x7f094442abe8, this=<optimized out>) at /usr/include/QtCore/qlist.h:431
#14 free (data=0x7f094442abd0, this=<optimized out>) at /usr/include/QtCore/qlist.h:757
#15 QList<Cpp::OverloadResolver::Parameter>::~QList (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qlist.h:732
#16 0x00007f095fb0c1eb in ~MissingDeclarationType (this=0x7f0944416fb0, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationtype.h:33
#17 Cpp::MissingDeclarationType::~MissingDeclarationType (this=0x7f0944416fb0, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationtype.h:33
#18 0x00007f095fb0c405 in ~TypePtr (this=0x7f0944417068, __in_chrg=<optimized out>) at /usr/include/kde4/kdevplatform/language/duchain/types/typepointer.h:81
#19 ~MissingDeclarationProblem (this=0x7f0944417040, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationproblem.h:29
#20 Cpp::MissingDeclarationProblem::~MissingDeclarationProblem (this=0x7f0944417040, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationproblem.h:29
#21 0x00007f095fb0d0bf in ~KSharedPtr (this=0x583d980, __in_chrg=<optimized out>) at /usr/include/kde4/ksharedptr.h:90
#22 ~KSharedPtr (this=0x583d980, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationassistant.h:30
#23 ~MissingDeclarationAssistant (this=0x583d950, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationassistant.h:30
#24 Cpp::MissingDeclarationAssistant::~MissingDeclarationAssistant (this=0x583d950, __in_chrg=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/languages/cpp/cppduchain/missingdeclarationassistant.h:30
#25 0x00000034d7d91f48 in QObject::event (this=0x583d950, e=<optimized out>) at kernel/qobject.cpp:1176
#26 0x00000034d8fc9994 in notify_helper (e=0x3ea0560, receiver=0x583d950, this=0xaaed30) at kernel/qapplication.cpp:4550
#27 QApplicationPrivate::notify_helper (this=0xaaed30, receiver=0x583d950, e=0x3ea0560) at kernel/qapplication.cpp:4522
#28 0x00000034d8fce813 in QApplication::notify (this=0x7fff39c24e00, receiver=0x583d950, e=0x3ea0560) at kernel/qapplication.cpp:4411
#29 0x00000034db050766 in KApplication::notify (this=0x7fff39c24e00, receiver=0x583d950, event=0x3ea0560) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#30 0x000000000040a9e6 in KDevelopApplication::notify (this=0x7fff39c24e00, receiver=0x583d950, event=0x3ea0560) at /usr/src/debug/kdevelop-4.2.3/app/main.cpp:90
#31 0x00000034d7d7904c in QCoreApplication::notifyInternal (this=0x7fff39c24e00, receiver=0x583d950, event=0x3ea0560) at kernel/qcoreapplication.cpp:876
#32 0x00000034d7d7cada in sendEvent (event=0x3ea0560, receiver=0x583d950) at kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0xa7e5b0) at kernel/qcoreapplication.cpp:1500
#34 0x00000034d7d7ce0c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1155
#35 0x000000000040a130 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.2.3/app/main.cpp:467

Possible duplicates by query: bug 293191, bug 292453, bug 292371, bug 292022, bug 290830.

Reported using DrKonqi
Comment 1 Milian Wolff 2012-02-26 19:47:01 UTC
can you reproduce this issue?

*** This bug has been marked as a duplicate of bug 292453 ***
Comment 2 Christopher Heiny 2012-02-27 16:42:14 UTC
It's happened a few times since upgrading to this version, but it's not reliably repeatable.  This occurrence was the first where I had the time and bandwidth available to pull the debug .rpms.  If it happens again, I'll update bug 292453 with any new info.
Comment 3 wodencafe 2012-04-08 12:55:09 UTC
Created attachment 70231 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

I was trying to close KDevelop. I think I right clicked and "Closed"  on the taskbar.

It was a C project.

-- Backtrace (Reduced):
#6  0x00007f703baef3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f703baf2b0b in __GI_abort () at abort.c:92
[...]
#9  0x00007f703bb336e6 in malloc_printerr (action=3, str=0x7f703bc19f90 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f703bb379cc in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f703baf4821 in __run_exit_handlers (status=0, listp=0x7f703be535a8, run_list_atexit=true) at exit.c:78