Bug 219726 - KDevelop crashed on startup
Summary: KDevelop crashed on startup
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 20:40 UTC by Yuriy Kozlov
Modified: 2009-12-22 23:13 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 Yuriy Kozlov 2009-12-22 20:40:34 UTC
Application that crashed: kdevelop
Version of the application: 3.9.97 (using KDevPlatform 0.9.97)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I had two projects with several files open.  I closed KDevelop.  I reopened it and it crashed.

Using build from trunk from today.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f6dce33e750 (LWP 30103))]

Thread 10 (Thread 0x7f6dba33e910 (LWP 30104)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f6dcac95822 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21f35a0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21f35a0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6dc75e38fe in KDevelop::DUChainPrivate::CleanupThread::run (this=0x21f3580) at /data/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x21f3580) at thread/qthread_unix.cpp:244
#5  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6db01d2910 (LWP 30105)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f6dcac95822 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ad7880, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ad7880, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6dcac8af59 in QThreadPoolThread::run (this=0x2ad7a30) at concurrent/qthreadpool.cpp:140
#4  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x2ad7a30) at thread/qthread_unix.cpp:244
#5  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f6daf1d0910 (LWP 30108)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f6dcac95822 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ad7880, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ad7880, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6dcac8af59 in QThreadPoolThread::run (this=0x2b5b1c0) at concurrent/qthreadpool.cpp:140
#4  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x2b5b1c0) at thread/qthread_unix.cpp:244
#5  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6da3fab910 (LWP 30308)):
#0  0x00007f6dc548e0b2 in __pthread_mutex_lock (mutex=0x3cf5c58) at pthread_mutex_lock.c:61
#1  0x00007f6dc43b4de5 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f6dc43b5181 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f6dc43b56b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f6dcadb1476 in QEventDispatcherGlib::processEvents (this=0x21bd5e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f6dcad86982 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f6dcad86d5c in QEventLoop::exec (this=0x7f6da3fab040, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f6dcac91ee9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x34edf10) at thread/qthread_unix.cpp:244
#9  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6da37aa910 (LWP 30309)):
#0  0x00007f6dc548e0b2 in __pthread_mutex_lock (mutex=0x34ee1e8) at pthread_mutex_lock.c:61
#1  0x00007f6dc43b532a in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6dc43b56b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6dcadb1476 in QEventDispatcherGlib::processEvents (this=0x2a73dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f6dcad86982 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6dcad86d5c in QEventLoop::exec (this=0x7f6da37aa040, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6dcac91ee9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x34cb930) at thread/qthread_unix.cpp:244
#8  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7f6da2fa9910 (LWP 30310)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f6dcac94033 in QMutexPrivate::wait (this=0x7f6db49b6790, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f6dcac8fc05 in QMutex::lock (this=0x7f6db4025028) at thread/qmutex.cpp:205
#3  0x00007f6da88d9b83 in UIBlockTester::UIBlockTesterThread::run (this=0x7f6db4025000) at /data/kdevelop/languages/cpp/cpplanguagesupport.cpp:673
#4  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x7f6db4025000) at thread/qthread_unix.cpp:244
#5  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6da2765910 (LWP 30311)):
[KCrash Handler]
#5  0x00007f6dc926e4b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f6dc9271f50 in *__GI_abort () at abort.c:92
#7  0x00007f6dc92a6c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f6dc92b0dd6 in malloc_printerr (action=3, str=0x7f6dc9372710 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f6dc92b617b in _int_realloc (av=0x7f6da4000020, oldp=0x7f6da40597f0, oldsize=6, nb=<value optimized out>) at malloc.c:5275
#10 0x00007f6dc92b65b0 in *__GI___libc_realloc (oldmem=0x7f6da4059800, bytes=4096) at malloc.c:3799
#11 0x00007f6da88ff5e9 in QVector<rpp::pp_macro*>::realloc (this=0x7f6da8b6e1a8, asize=254, aalloc=510) at /usr/include/qt4/QtCore/qvector.h:462
#12 0x00007f6da88ff834 in QVector<rpp::pp_macro*>::append (this=0x7f6da8b6e1a8, t=<value optimized out>) at /usr/include/qt4/QtCore/qvector.h:528
#13 0x00007f6da88fe74c in CppTools::computeGccStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:133
#14 0x00007f6da88fe949 in CppTools::gccStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:153
#15 0x00007f6da88feca9 in CppTools::setupStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:238
#16 0x00007f6da88f5a19 in CppUtils::standardMacros () at /data/kdevelop/languages/cpp/cpputils.cpp:178
#17 0x00007f6da88f11c5 in PreprocessJob::createStandardEnvironment () at /data/kdevelop/languages/cpp/preprocessjob.cpp:91
#18 0x00007f6da88f151d in PreprocessJob::run (this=0x216eaf0) at /data/kdevelop/languages/cpp/preprocessjob.cpp:156
#19 0x00007f6dcc7bb75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6da2764fa0, th=0x2b5a6a0, job=0x216eaf0) at ../../../threadweaver/Weaver/Job.cpp:106
#20 0x00007f6dcc7bba5e in ThreadWeaver::Job::execute (this=0x216eaf0, th=0x2b5a6a0) at ../../../threadweaver/Weaver/Job.cpp:135
#21 0x00007f6dcc7bcd83 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x31da3c0, t=0x2b5a6a0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#22 0x00007f6dcc7baa2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6da2765050, parent=0x202bd10, th=0x2b5a6a0) at ../../../threadweaver/Weaver/Thread.cpp:95
#23 0x00007f6dcc7baeb8 in ThreadWeaver::Thread::run (this=0x2b5a6a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#24 0x00007f6dcac94905 in QThreadPrivate::start (arg=0x2b5a6a0) at thread/qthread_unix.cpp:244
#25 0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f6da1f64910 (LWP 30312)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f6dcac958bb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x205dc90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x205dc90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6dcc7ba326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x202bd10, th=0x7f6da401fb80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6dcc7bc45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2063020, th=0x7f6da401fb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6dcc7baa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6da1f64050, parent=0x202bd10, th=0x7f6da401fb80) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6dcc7baeb8 in ThreadWeaver::Thread::run (this=0x7f6da401fb80) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6dcac94905 in QThreadPrivate::start (arg=0x7f6da401fb80) at thread/qthread_unix.cpp:244
#8  0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f6da1763910 (LWP 30313)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6dc92b7a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f6dc92b5701 in *__GI___libc_free (mem=0x7f6da4000020) at malloc.c:3714
#3  0x00007f6da88fe858 in CppTools::computeGccStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:125
#4  0x00007f6da88fe949 in CppTools::gccStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:153
#5  0x00007f6da88feca9 in CppTools::setupStandardMacros () at /data/kdevelop/languages/cpp/setuphelpers.cpp:238
#6  0x00007f6da88f5a19 in CppUtils::standardMacros () at /data/kdevelop/languages/cpp/cpputils.cpp:178
#7  0x00007f6da88f11c5 in PreprocessJob::createStandardEnvironment () at /data/kdevelop/languages/cpp/preprocessjob.cpp:91
#8  0x00007f6da88f151d in PreprocessJob::run (this=0x3d080d0) at /data/kdevelop/languages/cpp/preprocessjob.cpp:156
#9  0x00007f6dcc7bb75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6da1762fa0, th=0x7f6da4049490, job=0x3d080d0) at ../../../threadweaver/Weaver/Job.cpp:106
#10 0x00007f6dcc7bba5e in ThreadWeaver::Job::execute (this=0x3d080d0, th=0x7f6da4049490) at ../../../threadweaver/Weaver/Job.cpp:135
#11 0x00007f6dcc7bcd83 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3d06090, t=0x7f6da4049490) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#12 0x00007f6dcc7baa2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6da1763050, parent=0x202bd10, th=0x7f6da4049490) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x00007f6dcc7baeb8 in ThreadWeaver::Thread::run (this=0x7f6da4049490) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f6dcac94905 in QThreadPrivate::start (arg=0x7f6da4049490) at thread/qthread_unix.cpp:244
#15 0x00007f6dc548ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007f6dc931a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f6dce33e750 (LWP 30103)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6dc92b7a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f6dc92b5701 in *__GI___libc_free (mem=0x7f6da4000020) at malloc.c:3714
#3  0x00007f6dc92d0ae7 in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435
#4  0x00007f6dc92d0df0 in __tzset () at tzset.c:592
#5  0x00007f6dcaca2366 in QDateTime::currentDateTime () at tools/qdatetime.cpp:2888
#6  0x00007f6da88d995a in UIBlockTester::timer (this=0x7f6db4024ff0) at /data/kdevelop/languages/cpp/cpplanguagesupport.cpp:702
#7  0x00007f6da88d99c0 in UIBlockTester::qt_metacall (this=0x7f6db4024ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /data/kdevelop/build/languages/cpp/cpplanguagesupport.moc:72
#8  0x00007f6dcad9b07a in QMetaObject::activate (sender=0x7f6db49b6ed0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3398
#9  0x00007f6dcad97983 in QObject::event (this=0x7f6db49b6ed0, e=0x7fffdc520650) at kernel/qobject.cpp:1210
#10 0x00007f6dc9f1102c in QApplicationPrivate::notify_helper (this=0x1e061a0, receiver=0x7f6db49b6ed0, e=0x7fffdc520650) at kernel/qapplication.cpp:4277
#11 0x00007f6dc9f1776d in QApplication::notify (this=0x7fffdc520a50, receiver=0x7f6db49b6ed0, e=0x7fffdc520650) at kernel/qapplication.cpp:4166
#12 0x00007f6dcb533ab6 in KApplication::notify (this=0x7fffdc520a50, receiver=0x7f6db49b6ed0, event=0x7fffdc520650) at ../../kdeui/kernel/kapplication.cpp:302
#13 0x00007f6dcad8804c in QCoreApplication::notifyInternal (this=0x7fffdc520a50, receiver=0x7f6db49b6ed0, event=0x7fffdc520650) at kernel/qcoreapplication.cpp:704
#14 0x00007f6dcadb4b22 in QCoreApplication::sendEvent (this=0x1e09ee0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QTimerInfoList::activateTimers (this=0x1e09ee0) at kernel/qeventdispatcher_unix.cpp:603
#16 0x00007f6dcadb1758 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#17 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#18 0x00007f6dc43b1bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f6dc43b5588 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f6dc43b56b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f6dcadb1423 in QEventDispatcherGlib::processEvents (this=0x15c9580, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#22 0x00007f6dc9fb61de in QGuiEventDispatcherGlib::processEvents (this=0x7f6da4000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#23 0x00007f6dcad86982 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f6dcad86d5c in QEventLoop::exec (this=0x7fffdc5208f0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f6dcad8aa8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#26 0x0000000000405666 in main (argc=<value optimized out>, argv=<value optimized out>) at /data/kdevelop/app/main.cpp:209

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-12-22 23:13:35 UTC
Please report this to your distribution, this is a bug (race-condition) in libc2.10's malloc-checking and the related error-printing. The libc-bugnumber is mentioned in the original report.

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