Bug 264901 - KDEVELOP crashes upon exit
Summary: KDEVELOP crashes upon exit
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 23:12 UTC by Ekkehard Blanz
Modified: 2011-12-26 17:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.57 KB, text/plain)
2011-12-26 17:04 UTC, matze_borag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ekkehard Blanz 2011-01-30 23:12:02 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I have a moderately complex Qt project, and Kdevelop crashes about 50% of the time upon exit.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
[Current thread is 1 (Thread 0xb780b710 (LWP 4859))]

Thread 5 (Thread 0xb49cbb70 (LWP 4860)):
#0  0x00bfb422 in __kernel_vsyscall ()
#1  0x00b15d33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00aac697 in _L_lock_9639 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00aaaec6 in *__GI___libc_free (mem=0x9620e58) at malloc.c:3736
#4  0x00727a5d in qFree (ptr=0x9620e58) at global/qmalloc.cpp:60
#5  0x0074b2d6 in QHashData::freeNode (this=0x9620e50, node=0xfffffe00) at tools/qhash.cpp:189
#6  0x0074b349 in QHashData::free_helper (this=0x93c5e38, node_delete=0x43f3410 <QHash<unsigned int, std::pair<timeval, bool> >::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:276
#7  0x043f13d0 in QHash<unsigned int, std::pair<timeval, bool> >::freeData () at /usr/include/qt4/QtCore/qhash.h:567
#8  QHash<unsigned int, std::pair<timeval, bool> >::operator= () at /usr/include/qt4/QtCore/qhash.h:593
#9  QHash<unsigned int, std::pair<timeval, bool> >::clear () at /usr/include/qt4/QtCore/qhash.h:573
#10 KDevelop::ModificationRevisionSet::clearCache () at ../../language/editor/modificationrevisionset.cpp:103
#11 0x0443d4f8 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x875c3c0) at ../../language/duchain/duchain.cpp:292
#12 0x0072d32e in QThreadPrivate::start (arg=0x875c3c0) at thread/qthread_unix.cpp:248
#13 0x005fc96e in start_thread (arg=0xb49cbb70) at pthread_create.c:300
#14 0x00b08a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb37feb70 (LWP 4862)):
#0  0x00bfb422 in __kernel_vsyscall ()
#1  0x00601015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00b159dd in __pthread_cond_wait (cond=0x87d4980, mutex=0x87d4968) at forward.c:139
#3  0x0072e287 in QWaitConditionPrivate::wait (this=0x87c3510, mutex=0x87c6250, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x87c3510, mutex=0x87c6250, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x06560870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87c34f8, th=0x87d3770) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0656338c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87d4a90, th=0x87d3770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0655f27b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87c34f8, th=0x87d3770) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x06563482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x87d4a90, th=0x87d3770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x065604d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87c34f8, th=0x87d3770, previous=0x87c81b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0656151e in ThreadWeaver::ThreadRunHelper::run (this=0xb37fe2f4, parent=0x87c34f8, th=0x87d3770) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x06561c3b in ThreadWeaver::Thread::run (this=0x87d3770) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x0072d32e in QThreadPrivate::start (arg=0x87d3770) at thread/qthread_unix.cpp:248
#13 0x005fc96e in start_thread (arg=0xb37feb70) at pthread_create.c:300
#14 0x00b08a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb021bb70 (LWP 4867)):
#0  0x00bfb422 in __kernel_vsyscall ()
#1  0x00b15d33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00aac697 in _L_lock_9639 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00aaaec6 in *__GI___libc_free (mem=0x89a59b0) at malloc.c:3736
#4  0x066a6fc6 in g_free () from /lib/libglib-2.0.so.0
#5  0x0669df5a in ?? () from /lib/libglib-2.0.so.0
#6  0x0085c0fd in ~QEventDispatcherGlib (this=0x89914f0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#7  0x0072ce9a in QThreadPrivate::finish (arg=0x944890) at thread/qthread_unix.cpp:284
#8  0x0072d336 in ~__pthread_cleanup_class (arg=0x944890) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0x944890) at thread/qthread_unix.cpp:253
#10 0x005fc96e in start_thread (arg=0xb021bb70) at pthread_create.c:300
#11 0x00b08a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb121db70 (LWP 4869)):
#0  0x00bfb422 in __kernel_vsyscall ()
#1  0x00b15d33 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x00aac697 in _L_lock_9639 () from /lib/tls/i686/cmov/libc.so.6
#3  0x00aaaec6 in *__GI___libc_free (mem=0x8d39b00) at malloc.c:3736
#4  0x00a00741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0x0085b504 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x872bae8, notifier=0xb121d2ec) at kernel/qeventdispatcher_glib.cpp:493
#6  0x0084a779 in QSocketNotifier::setEnabled (this=0xfffffe00, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x0085ba72 in socketNotifierSourceCheck (source=0x8d39c08) at kernel/qeventdispatcher_glib.cpp:92
#8  0x066a1799 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0x066a20ce in ?? () from /lib/libglib-2.0.so.0
#10 0x066a24b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x0085b5d5 in QEventDispatcherGlib::processEvents (this=0x872bae8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#12 0x0082e059 in QEventLoop::processEvents (this=0xb121d290, flags=) at kernel/qeventloop.cpp:149
#13 0x0082e4aa in QEventLoop::exec (this=0xb121d290, flags=...) at kernel/qeventloop.cpp:201
#14 0x0072a5a8 in QThread::exec (this=0x8cd2238) at thread/qthread.cpp:487
#15 0x0080dc1b in QInotifyFileSystemWatcherEngine::run (this=0x8cd2238) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x0072d32e in QThreadPrivate::start (arg=0x8cd2238) at thread/qthread_unix.cpp:248
#17 0x005fc96e in start_thread (arg=0xb121db70) at pthread_create.c:300
#18 0x00b08a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb780b710 (LWP 4859)):
[KCrash Handler]
#6  0x00bfb422 in __kernel_vsyscall ()
#7  0x00a65651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00a68a82 in *__GI_abort () at abort.c:92
#9  0x00a9c49d in __libc_message (do_abort=2, fmt=0xb70f98 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x00aa6591 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x94a2280) at malloc.c:6266
#11 0x00aa7e41 in _int_free (av=<value optimized out>, p=0x94a1fb8) at malloc.c:4956
#12 0x00aaaecd in *__GI___libc_free (mem=0x94a2238) at malloc.c:3738
#13 0x00727a5d in qFree (ptr=0x94a2238) at global/qmalloc.cpp:60
#14 0x007772b0 in QString::free (d=0x94a2238) at tools/qstring.cpp:1108
#15 0x00336459 in ~QString (this=0x8afdcd8, data=0x94a83d8) at /usr/include/qt4/QtCore/qstring.h:869
#16 QList<QString>::node_destruct (this=0x8afdcd8, data=0x94a83d8) at /usr/include/qt4/QtCore/qlist.h:404
#17 QList<QString>::free (this=0x8afdcd8, data=0x94a83d8) at /usr/include/qt4/QtCore/qlist.h:646
#18 0x00485666 in ~QList () at /usr/include/qt4/QtCore/qlist.h:621
#19 ~QStringList () at /usr/include/qt4/QtCore/qstringlist.h:67
#20 destroy () at ../../kdeui/shortcuts/kacceleratormanager.cpp:141
#21 0x00357bdb in ~KCleanUpGlobalStatic (this=0x5f5984, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kglobal.h:62
#22 0x00a6a1bf in __run_exit_handlers (status=0, listp=0xb91324, run_list_atexit=true) at exit.c:78
#23 0x00a6a22f in *__GI_exit (status=0) at exit.c:100
#24 0x00a51bde in __libc_start_main (main=0x804b5e0 <_start+240>, argc=1, ubp_av=0xbf8c9f24, init=0x80512d0 <__libc_csu_init>, fini=0x80512c0 <__libc_csu_fini>, rtld_fini=0xbc8030 <_dl_fini>, 
    stack_end=0xbf8c9f1c) at libc-start.c:258
#25 0x0804b511 in _start ()

This bug may be a duplicate of or related to bug 227116.

Possible duplicates by query: bug 263711, bug 262106, bug 251003, bug 250807, bug 250327.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-01-31 11:15:45 UTC
probably the old libc bug, you should update your system (btw KDev 4.0.0 is very outdated, please use 4.2 or at least 4.1.2).

bye
Comment 2 matze_borag 2011-12-26 17:04:48 UTC
Created attachment 67136 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
The crash appeared when i was exiting KDevelop

Last Notes before backtrace in Console:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x540001e
*** glibc detected *** kdevelop: double free or corruption (fasttop): 0x0968f0b8 ***

-- Backtrace (Reduced):
#8  0x07b9dc8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x07ba12b5 in __GI_abort () at abort.c:92
[...]
#11 0x07bdebc2 in malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0x968f0b8) at malloc.c:6283
#12 0x07bdf862 in _int_free (av=0x7ce9400, p=0x968f0b0) at malloc.c:4795
#13 0x07be294d in __GI___libc_free (mem=0x968f0b8) at malloc.c:3738