Bug 251003

Summary: KDev crashes every time on exit
Product: [Applications] kdevelop Reporter: nekem28
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nekem28 2010-09-12 20:56:12 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
It just crashes when I exit, I dont do any particular thing, just open it and close it...

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f00a7c05710 (LWP 5243)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f00c1c5b692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x187bf50, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x187bf50, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00bd6e206e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x187bf30) at ../../language/duchain/duchain.cpp:286
#4  0x00007f00c1c5a775 in QThreadPrivate::start (arg=0x187bf30) at thread/qthread_unix.cpp:248
#5  0x00007f00c069c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f00c09996fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f009e2a8710 (LWP 5244)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00c1c5b72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x16235a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16235a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00b8b19026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x210b9a0, th=0x209fe90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00b8b1b6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15e2c10, th=0x209fe90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00b8b19bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f009e2a7e00, parent=0x210b9a0, th=0x209fe90) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00b8b1a168 in ThreadWeaver::Thread::run (this=0x209fe90) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f00c1c5a775 in QThreadPrivate::start (arg=0x209fe90) at thread/qthread_unix.cpp:248
#8  0x00007f00c069c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f00c09996fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f009d061710 (LWP 5246)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f00c09323ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f00c0930e48 in *__GI___libc_free (mem=0x7f00a0000020) at malloc.c:3736
#3  0x00007f00bb0791ba in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f00c1d79013 in ~QEventDispatcherGlib (this=0x7f00a0024510, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#5  0x00007f00c1c5a364 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#6  0x00007f00c1c5a77d in ~__pthread_cleanup_class (arg=0x7f00c2062f20) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x7f00c2062f20) at thread/qthread_unix.cpp:253
#8  0x00007f00c069c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f00c09996fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f009daa7710 (LWP 5379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00b9de22a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f00ba0c0220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f00b9de22e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f00ba0ce2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f00c069c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f00c09996fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f00c34b9760 (LWP 5240)):
[KCrash Handler]
#5  0x00007f00c08e6a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f00c08ea5c0 in *__GI_abort () at abort.c:92
#7  0x00007f00c09204fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f00c092a5b6 in malloc_printerr (action=3, str=0x7f00c09fa922 "corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007f00c092aa61 in malloc_consolidate (av=<value optimized out>) at malloc.c:5150
#10 0x00007f00c092d460 in _int_free (av=0x7f00a0000020, p=0x7f00a0291450) at malloc.c:5015
#11 0x00007f00c0930e53 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007f00bd6bf9a1 in KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, true, 0u, 1048576u>::close (this=0x7f00a005cc20, doStore=false)
    at ../../language/duchain/repositories/itemrepository.h:2411
#13 0x00007f00bd7951fe in KDevelop::ItemRepositoryRegistry::unRegisterRepository (this=0xb64dc0, repository=0x7f00a005cc20) at ../../language/duchain/repositories/itemrepository.cpp:175
#14 0x00007f00bd6bc628 in ~ItemRepository (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../language/duchain/repositories/itemrepository.h:1324
#15 ~CodeModelPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../language/duchain/codemodel.cpp:154
#16 ~CodeModel (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../language/duchain/codemodel.cpp:169
#17 0x00007f00c08ec262 in __run_exit_handlers (status=0) at exit.c:78
#18 *__GI_exit (status=0) at exit.c:100
#19 0x00007f00c08d1c54 in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff13be3228) at libc-start.c:258
#20 0x0000000000404399 in _start ()

Possible duplicates by query: bug 250807, bug 250327, bug 245488, bug 242755, bug 240316.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-13 10:31:40 UTC

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