Bug 232252

Summary: crashed on close
Product: [Applications] kdevelop Reporter: Nikita Melnichenko <open-development>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikita Melnichenko 2010-03-26 18:18:08 UTC
Application: kdevelop (3.9.99 (using KDevPlatform 0.9.99))
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.1-c1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Just closed it. I had two open projects, custom makefile based.

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

Thread 4 (Thread 0x7f8987e49910 (LWP 25590)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f8997665205 in QWaitConditionPrivate::wait (this=0x229b388, mutex=0x229b390, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x229b388, mutex=0x229b390, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f899439ee07 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x229b370) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:286
#4  0x00007f8997664401 in QThreadPrivate::start (arg=0x229b370) at thread/qthread_unix.cpp:248
#5  0x00007f89973d92a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f8995b4c8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f897bbea910 (LWP 25593)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f8995af5e13 in _L_lock_9493 () from /lib/libc.so.6
#2  0x00007f8995af4241 in *__GI___libc_free (mem=0x7f8995dd0e60) at malloc.c:3714
#3  0x00007f899776a9f8 in ~QEventDispatcherGlib (this=0x2e01f20, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:389
#4  0x00007f8997664081 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#5  0x00007f8997664409 in ~__pthread_cleanup_class (arg=0x7f8997a54f20) at /usr/include/pthread.h:535
#6  QThreadPrivate::start (arg=0x7f8997a54f20) at thread/qthread_unix.cpp:253
#7  0x00007f89973d92a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f8995b4c8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f8973bd4910 (LWP 25609)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f8994f3821a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f8995210200) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f8994f3824f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f899521e2cc) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f89973d92a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f8995b4c8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f899aca4740 (LWP 25589)):
[KCrash Handler]
#5  0x00007f8995aef911 in malloc_consolidate (av=0x7f8995dd0e60) at malloc.c:5075
#6  0x00007f8995af1078 in _int_free (av=0x7f8995dd0e60, p=0x44bb5f0) at malloc.c:4948
#7  0x00007f8995af424c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
#8  0x00007f899435e0d4 in KDevelop::ItemRepository<KDevelop::FileModificationPair, KDevelop::FileModificationPairRequest, true, false, 0u, 1048576u>::close (this=0x7f89946f9500, doStore=false)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/repositories/itemrepository.h:2411
#9  0x00007f8994444a0a in KDevelop::ItemRepositoryRegistry::unRegisterRepository (this=0x16b9930, repository=0x7f89946f9500)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/repositories/itemrepository.cpp:175
#10 0x00007f89943621e4 in ~ItemRepository (this=0x7f89946f9500, __in_chrg=<value optimized out>)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/repositories/itemrepository.h:1324
#11 0x00007f8995ab0ea5 in __run_exit_handlers (status=0, listp=0x7f8995dcf4a8, run_list_atexit=true) at exit.c:78
#12 0x00007f8995ab0ef5 in *__GI_exit (status=-1780674976) at exit.c:100
#13 0x00007f8995a9aa2d in __libc_start_main (main=0x4047f6 <main>, argc=1, ubp_av=0x7fff9669e568, init=0x409950 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff9669e558) at libc-start.c:252
#14 0x0000000000404729 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-03-26 19:52:12 UTC

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