Bug 262108 - KDevelop crashes on closing
Summary: KDevelop crashes on closing
Status: RESOLVED DUPLICATE of bug 238155
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 20:12 UTC by Alexey Chernov
Modified: 2011-01-06 14:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2011-01-04 20:12:11 UTC
Application: kdevelop (4.1.81)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36.1 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
On closing KDevelop with opened project it suddenly crashed. Appears not every time (the first time after 3 days of using 4.2 beta 2).

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7fb6035f9760 (LWP 2964))]

Thread 7 (Thread 0x7fb5ddd42710 (LWP 2965)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fb5ff080ab8 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x34cdbc0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x34cdbc0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb5fb512122 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x34cdba0) at /usr/src/packages/kdevplatform-1.1.81/language/duchain/duchain.cpp:286
#4  0x00007fb5ff07fe07 in QThreadPrivate::start (arg=0x34cdba0) at thread/qthread_unix.cpp:285
#5  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fb5d35cd710 (LWP 2985)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5ff080b53 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb601b19271 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7fb5d4036470, th=0x7fb5d4024d60)
    at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb601b1d480 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7fb5d40365c0, th=0x7fb5d4024d60)
    at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb601b1b9c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5d35cce30, parent=0x7fb5d4036470, th=0x7fb5d4024d60)
    at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb601b1bac4 in ThreadWeaver::Thread::run (this=0x7fb5d4024d60) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb5ff07fe07 in QThreadPrivate::start (arg=0x7fb5d4024d60) at thread/qthread_unix.cpp:285
#8  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fb5c2ee3710 (LWP 3211)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5fc232705 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb5fc2327a9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb5fc5581d4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fb5c134f710 (LWP 3261)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5f6e897bd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb5f6e898c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fb5d3fff710 (LWP 5182)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5ff080b53 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb601b19271 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7fb5d4036470, th=0x766cb10)
    at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb601b1d480 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7fb5d40365c0, th=0x766cb10) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb601b1d499 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7fb5d40365c0, th=0x766cb10) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb601b1b9c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5d3ffee30, parent=0x7fb5d4036470, th=0x766cb10) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb601b1bac4 in ThreadWeaver::Thread::run (this=0x766cb10) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb5ff07fe07 in QThreadPrivate::start (arg=0x766cb10) at thread/qthread_unix.cpp:285
#9  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb5d2dcc710 (LWP 5183)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5ff080b53 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fb5d4039990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb601b19271 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7fb5d4036470, th=0x467f300)
    at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb601b1d480 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7fb5d40365c0, th=0x467f300) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb601b1b9c4 in ThreadWeaver::ThreadRunHelper::run (this=0x7fb5d2dcbe30, parent=0x7fb5d4036470, th=0x467f300) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb601b1bac4 in ThreadWeaver::Thread::run (this=0x467f300) at /usr/src/packages/kde4/4.5.4/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb5ff07fe07 in QThreadPrivate::start (arg=0x467f300) at thread/qthread_unix.cpp:285
#8  0x00007fb5feddcaca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007fb5fd2be58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb6035f9760 (LWP 2964)):
[KCrash Handler]
#6  0x00007fb5fd210315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fb5fd21199f in *__GI_abort () at abort.c:92
#8  0x00007fb5fd24d5f2 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007fb5fd253075 in malloc_printerr (action=3, str=0x7fb5fd315c38 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6264
#10 0x00007fb5fd25926c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007fb5c8942dc4 in ~Stream (this=0x7fb5c8b63cc0, __in_chrg=<value optimized out>) at /usr/src/packages/kdevelop-4.1.81/languages/cpp/parser/rpp/pp-stream.cpp:121
#12 0x00007fb5fd213662 in __run_exit_handlers (status=0) at exit.c:78
#13 *__GI_exit (status=0) at exit.c:100
#14 0x00007fb5fd1fbb74 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=0x7fff14ff6998) at libc-start.c:258
#15 0x0000000000405039 in _start () at ../sysdeps/x86_64/elf/start.S:113

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

Possible duplicates by query: bug 238155.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-01-06 12:41:20 UTC
duplicate and without a valgrind log I don't know how we are supposed to fix it...

*** This bug has been marked as a duplicate of bug 238155 ***
Comment 2 Alexey Chernov 2011-01-06 13:42:43 UTC
hmm, sorry.. but is there any way to speed up running through valgrind? it goes far more slowly than normal work. if it's slower just a little bit I could run it with valgrind everytime in test purposes.
Comment 3 Milian Wolff 2011-01-06 14:24:55 UTC
no, not possible. valgrind is just slow sadly.