Bug 234228 - KDevelop crash on exit
Summary: KDevelop crash on exit
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 06:22 UTC by Branan
Modified: 2010-04-13 08:25 UTC (History)
0 users

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 Branan 2010-04-13 06:22:52 UTC
Application: kdevelop (3.9.99 (using KDevPlatform 0.9.99))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r6_BOKRUG x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
None of KDevelop, KDE, or Qt are built with the debug USE flag.

It doesn't seem to crash if I just open, let the background parsing finish, then close. It requires some amount more interaction, although I haven't been able to narrow it down very far yet.

The project I was working on is available at http://code.google.com/p/agecreator/, if that would be helpful at all.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fc123527740 (LWP 5729))]

Thread 6 (Thread 0x7fc11029a910 (LWP 5775)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc11fe23ad7 in QWaitConditionPrivate::wait (this=0x1bb6a98, mutex=0x1bb6aa0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x1bb6a98, mutex=0x1bb6aa0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc11c89186e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1bb6a80) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/language/duchain/duchain.cpp:286
#4  0x00007fc11fe22c15 in QThreadPrivate::start (arg=0x1bb6a80) at thread/qthread_unix.cpp:248
#5  0x00007fc11fb942a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fc11e28d8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc1077f4910 (LWP 5809)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc11fe23af9 in QWaitConditionPrivate::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc121995654 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2445070, th=0x1bb1030)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc121997edb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19514c0, th=0x1bb1030)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc121997ef4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x19514c0, th=0x1bb1030)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc12199635f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc1077f4050, parent=0x2445070, th=0x1bb1030)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fc121996799 in ThreadWeaver::Thread::run (this=0x1bb1030) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fc11fe22c15 in QThreadPrivate::start (arg=0x1bb1030) at thread/qthread_unix.cpp:248
#9  0x00007fc11fb942a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007fc11e28d8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7fc0ffee4910 (LWP 5903)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc11d44ec06 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc11d72c220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fc11d44ec49 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fc11d73a2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fc11fb942a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fc11e28d8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc106ff3910 (LWP 11353)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc11fe23af9 in QWaitConditionPrivate::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc121995654 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2445070, th=0x8917520)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc121997edb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19514c0, th=0x8917520)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc12199635f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc106ff3050, parent=0x2445070, th=0x8917520)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc121996799 in ThreadWeaver::Thread::run (this=0x8917520) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc11fe22c15 in QThreadPrivate::start (arg=0x8917520) at thread/qthread_unix.cpp:248
#8  0x00007fc11fb942a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007fc11e28d8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc0f8b53910 (LWP 11354)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc11fe23af9 in QWaitConditionPrivate::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2445098, mutex=0x197f580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc121995654 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2445070, th=0x8b047a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc121997edb in ThreadWeaver::WorkingHardState::applyForWork (this=0x19514c0, th=0x8b047a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc12199635f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc0f8b53050, parent=0x2445070, th=0x8b047a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc121996799 in ThreadWeaver::Thread::run (this=0x8b047a0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc11fe22c15 in QThreadPrivate::start (arg=0x8b047a0) at thread/qthread_unix.cpp:248
#8  0x00007fc11fb942a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007fc11e28d8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc123527740 (LWP 5729)):
[KCrash Handler]
#5  0x00007fc11e1ef315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fc11e1f0811 in *__GI_abort () at abort.c:88
#7  0x00007fc11e22b158 in __libc_message (do_abort=2, fmt=0x7fc11e2ddc38 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#8  0x00007fc11e230808 in malloc_printerr (action=2, str=0x7fc11e2dae44 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6197
#9  0x00007fc11e230aca in malloc_consolidate (av=0x7fc0f4000020) at malloc.c:5075
#10 0x00007fc11e232078 in _int_free (av=0x7fc0f4000020, p=0x7fc0f414b990) at malloc.c:4948
#11 0x00007fc11e23524c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
#12 0x00007fc11c8b2c2f in KDevelop::TemporaryDataManager<KDevVarLengthArray<KDevelop::DeclarationId, 10>, true>::~TemporaryDataManager() () from /usr/lib64/libkdevplatformlanguage.so.1
#13 0x00007fc11c8acc47 in destroy () at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/language/duchain/topducontext.cpp:123
#14 0x00007fc11e1f1ea5 in __run_exit_handlers (status=0, listp=0x7fc11e5104a8, run_list_atexit=true) at exit.c:78
#15 0x00007fc11e1f1ef5 in *__GI_exit (status=5729) at exit.c:100
#16 0x00007fc11e1dba2d in __libc_start_main (main=0x404820 <main>, argc=1, ubp_av=0x7ffff6fadd98, init=0x409b10 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7ffff6fadd88) at libc-start.c:252
#17 0x0000000000404729 in _start ()
The current source language is "auto; currently c".

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

Possible duplicates by query: bug 232942, bug 232461, bug 208881.

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-04-13 08:25:18 UTC

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