<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>234228</bug_id>
          
          <creation_ts>2010-04-13 06:22:52 +0000</creation_ts>
          <short_desc>KDevelop crash on exit</short_desc>
          <delta_ts>2010-04-13 08:25:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kdevelop</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>206775</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Branan">branan</reporter>
          <assigned_to>kdevelop-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>948987</commentid>
    <comment_count>0</comment_count>
    <who name="Branan">branan</who>
    <bug_when>2010-04-13 06:22:52 +0000</bug_when>
    <thetext>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&apos;t seem to crash if I just open, let the background parsing finish, then close. It requires some amount more interaction, although I haven&apos;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 &quot;auto; currently c&quot;.
[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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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 &quot;auto; currently asm&quot;.

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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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 &quot;*** glibc detected *** %s: %s: 0x%s ***\n&quot;) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#8  0x00007fc11e230808 in malloc_printerr (action=2, str=0x7fc11e2dae44 &quot;corrupted double-linked list&quot;, ptr=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at malloc.c:3716
#12 0x00007fc11c8b2c2f in KDevelop::TemporaryDataManager&lt;KDevVarLengthArray&lt;KDevelop::DeclarationId, 10&gt;, true&gt;::~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 &lt;main&gt;, argc=1, ubp_av=0x7ffff6fadd98, init=0x409b10 &lt;__libc_csu_init&gt;, fini=&lt;value optimized out&gt;, rtld_fini=&lt;value optimized out&gt;, 
    stack_end=0x7ffff6fadd88) at libc-start.c:252
#17 0x0000000000404729 in _start ()
The current source language is &quot;auto; currently c&quot;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>948999</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2010-04-13 08:25:18 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 206775 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>