Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0)) KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.33.1-c2 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: Window appears in a half of a second and then crashed. Reproducible in valgrind (will attach the log). Console output: WARNING: deleting stale lockfile /home/nikita/.kde4/share/apps/kdevelop/sessions//{006d7ad9-a36c-4b5c-8eb3-0b5afc47b468}/lock WARNING: deleting stale lockfile /home/nikita/.kdevduchain/{006d7ad9-a36c-4b5c-8eb3-0b5afc47b468}/0/lock <unknown program name>(29975)/ KDevelop::allocateRepository: picked duchain directory "/home/nikita/.kdevduchain/{006d7ad9-a36c-4b5c-8eb3-0b5afc47b468}/0" <unknown program name>(29975)/ KDevelop::ItemRepositoryRegistry::open: current count of crashes: 1 Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdevelop(29975)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so" Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Undecodable sequence: \001b(hex)[?1034h QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&) error: "org.freedesktop.DBus.Error.AccessDenied" QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&) error: "org.freedesktop.DBus.Error.AccessDenied" QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&) error: "org.freedesktop.DBus.Error.AccessDenied" QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&) error: "org.freedesktop.DBus.Error.AccessDenied" kdevelop(29975)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic" QObject: Cannot create children for a parent that is in a different thread. (Parent is Cpp::MissingIncludeCompletionModel(0x4bf4f00), parent's thread is QThread(0x21bd860), current thread is QThread(0x4f9ad40) QObject: Cannot create children for a parent that is in a different thread. (Parent is Cpp::CodeCompletionModel(0x4fcdd30), parent's thread is QThread(0x21bd860), current thread is QThread(0x3e0a310) *** glibc detected *** /usr/bin/kdevelop.bin: double free or corruption (!prev): 0x00007f395800dd00 *** ======= Backtrace: ========= /lib/libc.so.6[0x7f397a590808] /lib/libc.so.6[0x7f397a595f63] /lib/libc.so.6(realloc+0xf1)[0x7f397a5963c1] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa8175e] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa8016b] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa8041f] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa812a6] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa74dd2] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa70aad] /usr/lib64/kde4/kdevcpplanguagesupport.so[0x7f395fa73f84] /usr/lib64/libthreadweaver.so.4[0x7f397dbf281a] /usr/lib64/libthreadweaver.so.4(_ZN12ThreadWeaver3Job7executeEPNS_6ThreadE+0xb1)[0x7f397dbf2abf] /usr/lib64/libthreadweaver.so.4[0x7f397dbf3adf] /usr/lib64/libthreadweaver.so.4[0x7f397dbf1dac] /usr/lib64/libthreadweaver.so.4(_ZN12ThreadWeaver6Thread3runEv+0x79)[0x7f397dbf2141] /usr/lib64/qt4/libQtCore.so.4[0x7f397c105401] /lib/libpthread.so.0[0x7f397be7a2a7] /lib/libc.so.6(clone+0x6d)[0x7f397a5ed8cd] ======= Memory map: ======== 00400000-0040c000 r-xp 00000000 08:11 1745004 /usr/bin/kdevelop.bin 0060b000-0060c000 r--p 0000b000 08:11 1745004 /usr/bin/kdevelop.bin 0060c000-0060d000 rw-p 0000c000 08:11 1745004 /usr/bin/kdevelop.bin 021b8000-05c73000 rw-p 00000000 00:00 0 [heap] 7f3956ffe000-7f3956fff000 ---p 00000000 00:00 0 ..... The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), 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 0x7f397f738740 (LWP 29975))] Thread 11 (Thread 0x7f396d4db910 (LWP 29976)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220 #1 0x00007f397c106205 in QWaitConditionPrivate::wait (this=0x2e0c668, mutex=0x2e0c670, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=0x2e0c668, mutex=0x2e0c670, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f3978e40127 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2e0c650) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/language/duchain/duchain.cpp:286 #4 0x00007f397c105401 in QThreadPrivate::start (arg=0x2e0c650) at thread/qthread_unix.cpp:248 #5 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f3967ded910 (LWP 29977)): #0 0x00007f397a5e4896 in *__GI___poll (fds=0x7f396800e6c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f3975adb0fb in g_main_context_poll (context=0x369e980, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904 #2 g_main_context_iterate (context=0x369e980, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586 #3 0x00007f3975adb30e in IA__g_main_context_iteration (context=0x369e980, may_block=1) at gmain.c:2654 #4 0x00007f397c20ac8b in QEventDispatcherGlib::processEvents (this=0x2e1e3c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #5 0x00007f397c1e3fb4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f397c1e42ff in QEventLoop::exec (this=0x7f3967ded000, flags=...) at kernel/qeventloop.cpp:201 #7 0x00007f397c102e0f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #8 0x00007f397c1c751a in QInotifyFileSystemWatcherEngine::run (this=0x369e4e0) at io/qfilesystemwatcher_inotify.cpp:248 #9 0x00007f397c105401 in QThreadPrivate::start (arg=0x369e4e0) at thread/qthread_unix.cpp:248 #10 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #11 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f395f299910 (LWP 29990)): #0 0x00007f397a5e4896 in *__GI___poll (fds=0x4686c10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f3975adb0fb in g_main_context_poll (context=0x7f396852ea00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904 #2 g_main_context_iterate (context=0x7f396852ea00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586 #3 0x00007f3975adb30e in IA__g_main_context_iteration (context=0x7f396852ea00, may_block=1) at gmain.c:2654 #4 0x00007f397c20ac8b in QEventDispatcherGlib::processEvents (this=0x4f52ab0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #5 0x00007f397c1e3fb4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f397c1e42ff in QEventLoop::exec (this=0x7f395f299040, flags=...) at kernel/qeventloop.cpp:201 #7 0x00007f397c102e0f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #8 0x00007f397c105401 in QThreadPrivate::start (arg=0x3e0a310) at thread/qthread_unix.cpp:248 #9 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #10 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () The current source language is "auto; currently c". Thread 8 (Thread 0x7f395ea98910 (LWP 29991)): #0 __pthread_mutex_unlock_usercnt (mutex=0x5033178, decr=1) at pthread_mutex_unlock.c:41 #1 0x00007f3975adab31 in IA__g_main_context_prepare (context=0x5033170, priority=0x7f395ea97f34) at gmain.c:2278 #2 0x00007f3975adae8c in g_main_context_iterate (context=0x5033170, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2571 #3 0x00007f3975adb30e in IA__g_main_context_iteration (context=0x5033170, may_block=1) at gmain.c:2654 #4 0x00007f397c20ac8b in QEventDispatcherGlib::processEvents (this=0x46886b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #5 0x00007f397c1e3fb4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f397c1e42ff in QEventLoop::exec (this=0x7f395ea98040, flags=...) at kernel/qeventloop.cpp:201 #7 0x00007f397c102e0f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #8 0x00007f397c105401 in QThreadPrivate::start (arg=0x4f9ad40) at thread/qthread_unix.cpp:248 #9 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #10 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f395e297910 (LWP 29992)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220 #1 0x00007f397c104ddf in thread_sleep (ti=0x7f395e297000) at thread/qthread_unix.cpp:398 #2 0x00007f397c104f9a in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424 #3 0x00007f395fa5bed4 in UIBlockTester::UIBlockTesterThread::run (this=0x7f3968291bd0) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpplanguagesupport.cpp:678 #4 0x00007f397c105401 in QThreadPrivate::start (arg=0x7f3968291bd0) at thread/qthread_unix.cpp:248 #5 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f395da96910 (LWP 29993)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f397a596e13 in _L_lock_9493 () from /lib/libc.so.6 #2 0x00007f397a595241 in *__GI___libc_free (mem=0x7f3958000020) at malloc.c:3714 #3 0x00007f397c1080e5 in QByteArray::resize (this=0x4b64758, size=128) at tools/qbytearray.cpp:1359 #4 0x00007f397c182974 in QRingBuffer::clear (this=0x7f395da94630, data=0x7f39685c3cc8 "#define _GNU_SOURCE 1\nINE__ 1\n", maxSize=<value optimized out>) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:262 #5 QRingBuffer::free (this=0x7f395da94630, data=0x7f39685c3cc8 "#define _GNU_SOURCE 1\nINE__ 1\n", maxSize=<value optimized out>) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:152 #6 QRingBuffer::readLine (this=0x7f395da94630, data=0x7f39685c3cc8 "#define _GNU_SOURCE 1\nINE__ 1\n", maxSize=<value optimized out>) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:429 #7 QIODevice::readLine (this=0x7f395da94630, data=0x7f39685c3cc8 "#define _GNU_SOURCE 1\nINE__ 1\n", maxSize=<value optimized out>) at io/qiodevice.cpp:1057 #8 0x00007f397c182f49 in QIODevice::readLine (this=0x7f395da94630, maxSize=2147483647) at io/qiodevice.cpp:1176 #9 0x00007f395fa7ff56 in CppTools::computeGccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:126 #10 0x00007f395fa8041f in CppTools::gccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:153 #11 0x00007f395fa812a6 in CppTools::setupStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:255 #12 0x00007f395fa74dd2 in CppUtils::standardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpputils.cpp:210 #13 0x00007f395fa70aad in PreprocessJob::createStandardEnvironment () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:91 #14 0x00007f395fa73f84 in PreprocessJob::run (this=0x46fd720) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:156 #15 0x00007f397dbf281a in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f395da95fa0, th=0x4bc0a50, job=0x46fd720) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:106 #16 0x00007f397dbf2abf in ThreadWeaver::Job::execute (this=0x46fd720, th=0x4bc0a50) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:135 #17 0x00007f397dbf3adf in ThreadWeaver::JobCollectionJobRunner::execute (this=0x441d940, t=0x4bc0a50) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/JobCollection.cpp:82 #18 0x00007f397dbf1dac in ThreadWeaver::ThreadRunHelper::run (this=0x7f395da96050, parent=0x2c12f30, th=0x4bc0a50) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:95 #19 0x00007f397dbf2141 in ThreadWeaver::Thread::run (this=0x4bc0a50) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142 #20 0x00007f397c105401 in QThreadPrivate::start (arg=0x4bc0a50) at thread/qthread_unix.cpp:248 #21 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #22 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #23 0x0000000000000000 in ?? () The current source language is "auto; currently asm". Thread 5 (Thread 0x7f395d295910 (LWP 29994)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f397a596e13 in _L_lock_9493 () from /lib/libc.so.6 #2 0x00007f397a595241 in *__GI___libc_free (mem=0x7f3958000020) at malloc.c:3714 #3 0x00007f3978f3627b in ~KDevVarLengthArray (this=<value optimized out>, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/util/kdevvarlengtharray.h:129 #4 ~IteratorPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/language/util/setrepository.cpp:351 #5 ~Iterator (this=<value optimized out>, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-util/kdevplatform-1.0.0/work/kdevplatform-1.0.0/language/util/setrepository.cpp:423 #6 0x00007f395f5bac8d in ~ConvenientIterator (this=0x7f3958004d00, macros=...) at /usr/include/kdevplatform/language/util/setrepository.h:36 #7 CppPreprocessEnvironment::merge (this=0x7f3958004d00, macros=...) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:104 #8 0x00007f395fa70ab8 in PreprocessJob::createStandardEnvironment () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:91 #9 0x00007f395fa73f84 in PreprocessJob::run (this=0x502e080) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:156 #10 0x00007f397dbf281a in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f395d294fa0, th=0x40359b0, job=0x502e080) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:106 #11 0x00007f397dbf2abf in ThreadWeaver::Job::execute (this=0x502e080, th=0x40359b0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:135 #12 0x00007f397dbf3adf in ThreadWeaver::JobCollectionJobRunner::execute (this=0x403cf60, t=0x40359b0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/JobCollection.cpp:82 #13 0x00007f397dbf1dac in ThreadWeaver::ThreadRunHelper::run (this=0x7f395d295050, parent=0x2c12f30, th=0x40359b0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:95 #14 0x00007f397dbf2141 in ThreadWeaver::Thread::run (this=0x40359b0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142 #15 0x00007f397c105401 in QThreadPrivate::start (arg=0x40359b0) at thread/qthread_unix.cpp:248 #16 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #17 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #18 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f395ca94910 (LWP 29995)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f397a596e13 in _L_lock_9493 () from /lib/libc.so.6 #2 0x00007f397a595241 in *__GI___libc_free (mem=0x7f3958000020) at malloc.c:3714 #3 0x00007f397c18b9ff in QProcessPrivate::_q_canReadStandardOutput (this=0x7f39580070c0) at io/qprocess.cpp:844 #4 0x00007f397c1c3a49 in QProcessPrivate::waitForFinished (this=0x7f39580070c0, msecs=4998) at io/qprocess_unix.cpp:1119 #5 0x00007f397c188eb2 in QProcess::waitForFinished (this=0x7f395ca92630, msecs=4998) at io/qprocess.cpp:1688 #6 0x00007f397f1cc21e in KProcess::execute (this=0x7f395ca92630, msecs=5000) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdecore/io/kprocess.cpp:322 #7 0x00007f395fa7fea0 in CppTools::computeGccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:123 #8 0x00007f395fa8041f in CppTools::gccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:153 #9 0x00007f395fa812a6 in CppTools::setupStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:255 #10 0x00007f395fa74dd2 in CppUtils::standardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpputils.cpp:210 #11 0x00007f395fa70aad in PreprocessJob::createStandardEnvironment () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:91 #12 0x00007f395fa73f84 in PreprocessJob::run (this=0x4b91ca0) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:156 #13 0x00007f397dbf281a in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f395ca93fa0, th=0x40378d0, job=0x4b91ca0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:106 #14 0x00007f397dbf2abf in ThreadWeaver::Job::execute (this=0x4b91ca0, th=0x40378d0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:135 #15 0x00007f397dbf3adf in ThreadWeaver::JobCollectionJobRunner::execute (this=0x4b8b5a0, t=0x40378d0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/JobCollection.cpp:82 #16 0x00007f397dbf1dac in ThreadWeaver::ThreadRunHelper::run (this=0x7f395ca94050, parent=0x2c12f30, th=0x40378d0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:95 #17 0x00007f397dbf2141 in ThreadWeaver::Thread::run (this=0x40378d0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142 #18 0x00007f397c105401 in QThreadPrivate::start (arg=0x40378d0) at thread/qthread_unix.cpp:248 #19 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #20 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #21 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3957fff910 (LWP 29996)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007f397c106227 in QWaitConditionPrivate::wait (this=0x2c12f58, mutex=0x2c91120, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=0x2c12f58, mutex=0x2c91120, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f397dbf12cf in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2c12f30, th=0x4029a80) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f397dbf3420 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2cf2600, th=0x4029a80) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f397dbf1ddc in ThreadWeaver::ThreadRunHelper::run (this=0x7f3957fff050, parent=0x2c12f30, th=0x4029a80) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87 #6 0x00007f397dbf2141 in ThreadWeaver::Thread::run (this=0x4029a80) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142 #7 0x00007f397c105401 in QThreadPrivate::start (arg=0x4029a80) at thread/qthread_unix.cpp:248 #8 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #9 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f39577fe910 (LWP 29997)): [KCrash Handler] #5 0x00007f397a54f315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f397a550811 in *__GI_abort () at abort.c:88 #7 0x00007f397a58b158 in __libc_message (do_abort=2, fmt=0x7f397a63dc38 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #8 0x00007f397a590808 in malloc_printerr (action=2, str=0x7f397a63de00 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6197 #9 0x00007f397a595f63 in _int_realloc (av=0x7f3958000020, oldp=0x7f395800dcf0, oldsize=2064, nb=4112) at malloc.c:5255 #10 0x00007f397a5963c1 in *__GI___libc_realloc (oldmem=0x7f395800dd00, bytes=4096) at malloc.c:3799 #11 0x00007f395fa8175e in QVector<rpp::pp_macro*>::realloc (this=0x7f395fce1038, asize=254, aalloc=510) at /usr/include/qt4/QtCore/qvector.h:479 #12 0x00007f395fa8016b in QVector<rpp::pp_macro*>::append () at /usr/include/qt4/QtCore/qvector.h:547 #13 CppTools::computeGccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:133 #14 0x00007f395fa8041f in CppTools::gccStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:153 #15 0x00007f395fa812a6 in CppTools::setupStandardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/setuphelpers.cpp:255 #16 0x00007f395fa74dd2 in CppUtils::standardMacros () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/cpputils.cpp:210 #17 0x00007f395fa70aad in PreprocessJob::createStandardEnvironment () at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:91 #18 0x00007f395fa73f84 in PreprocessJob::run (this=0x4b83210) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/languages/cpp/preprocessjob.cpp:156 #19 0x00007f397dbf281a in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f39577fdfa0, th=0x7f3958003a40, job=0x4b83210) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:106 #20 0x00007f397dbf2abf in ThreadWeaver::Job::execute (this=0x4b83210, th=0x7f3958003a40) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:135 #21 0x00007f397dbf3adf in ThreadWeaver::JobCollectionJobRunner::execute (this=0x4b7f670, t=0x7f3958003a40) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/JobCollection.cpp:82 #22 0x00007f397dbf1dac in ThreadWeaver::ThreadRunHelper::run (this=0x7f39577fe050, parent=0x2c12f30, th=0x7f3958003a40) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:95 #23 0x00007f397dbf2141 in ThreadWeaver::Thread::run (this=0x7f3958003a40) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142 #24 0x00007f397c105401 in QThreadPrivate::start (arg=0x7f3958003a40) at thread/qthread_unix.cpp:248 #25 0x00007f397be7a2a7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #26 0x00007f397a5ed8cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #27 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f397f738740 (LWP 29975)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f397a596e13 in _L_lock_9493 () from /lib/libc.so.6 #2 0x00007f397a595241 in *__GI___libc_free (mem=0x7f3958000020) at malloc.c:3714 #3 0x00007f397b573b04 in QList<QPolygonF>::free(QListData::Data*) () from /usr/lib64/qt4/libQtGui.so.4 #4 0x00007f397b601ee4 in QX11PaintEnginePrivate::fillPath (this=0x7f396852e060, path=..., gc_mode=QX11PaintEnginePrivate::BrushGC, transform=<value optimized out>) at painting/qpaintengine_x11.cpp:1756 #5 0x00007f397b60250b in QX11PaintEngine::drawPath (this=<value optimized out>, path=...) at painting/qpaintengine_x11.cpp:1767 #6 0x00007f397b568068 in QPainter::drawRoundedRect (this=0x7fff61bdc080, rect=..., xRadius=4, yRadius=<value optimized out>, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4136 #7 0x00007f3971662bfb in QPainter::drawRoundedRect (p=..., rect=<value optimized out>, size=<value optimized out>) at /usr/include/qt4/QtGui/qpainter.h:680 #8 OxygenStyleHelper::fillHole (p=..., rect=<value optimized out>, size=<value optimized out>) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/helper.cpp:529 #9 0x00007f39716927de in OxygenStyle::drawLineEditPrimitive (this=0x2aa9580, primitive=<value optimized out>, opt=0x7fff61bdbf60, r=..., pal=<value optimized out>, flags=<value optimized out>, p= 0x7fff61bdc080, widget=0x3931c20, kOpt=0x0) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/oxygen.cpp:2877 #10 0x00007f397168e7b6 in OxygenStyle::drawKStylePrimitive (this=0x2aa9580, widgetType=<value optimized out>, primitive=0, opt=0x7fff61bdbf60, r=..., palette=..., flags=..., p=0x7fff61bdc080, widget= 0x3931c20, kOpt=0x0) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/oxygen.cpp:756 #11 0x00007f397c999664 in KStyle::drawPrimitive (this=0x2aa9580, elem=QStyle::PE_PanelLineEdit, option=0x7fff61bdbf60, painter=0x7fff61bdc080, widget=0x3931c20) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kstyle.cpp:1108 #12 0x00007f397168f085 in OxygenStyle::drawPrimitive (this=0x2aa9580, element=128, option=0x7fff61bdbf60, p=0x7fff61bdc080, widget=0x3931c20) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/oxygen.cpp:482 #13 0x00007f397b7d3370 in QLineEdit::paintEvent (this=0x3931c20) at widgets/qlineedit.cpp:1854 #14 0x00007f397ca40fac in KLineEdit::paintEvent (this=0x3931c20, ev=0x7fff61bdcbc0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/widgets/klineedit.cpp:1676 #15 0x00007f397b46eab4 in QWidget::event (this=0x3931c20, event=0x7fff61bdcbc0) at kernel/qwidget.cpp:8144 #16 0x00007f397b7d2414 in QLineEdit::event (this=0x3931c20, e=0x7fff61bdcbc0) at widgets/qlineedit.cpp:1474 #17 0x00007f397ca44ac1 in KLineEdit::event (this=0x3931c20, ev=0x7fff61bdcbc0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/widgets/klineedit.cpp:1329 #18 0x00007f397b421466 in QApplicationPrivate::notify_helper (this=0x2a0ebe0, receiver=0x3931c20, e=0x7fff61bdcbc0) at kernel/qapplication.cpp:4300 #19 0x00007f397b427e50 in QApplication::notify (this=0x7fff61bdea30, receiver=0x3931c20, e=0x7fff61bdcbc0) at kernel/qapplication.cpp:4183 #20 0x00007f397c984774 in KApplication::notify (this=0x7fff61bdea30, receiver=0x3931c20, event=0x7fff61bdcbc0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302 #21 0x00007f397c1e52f4 in QCoreApplication::notifyInternal (this=0x7fff61bdea30, receiver=0x3931c20, event=0x7fff61bdcbc0) at kernel/qcoreapplication.cpp:704 #22 0x00007f397b4760f9 in QCoreApplication::sendSpontaneousEvent (this=0x3dd55b0, pdev=0x7fff61bddbb0, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #23 QWidgetPrivate::drawWidget (this=0x3dd55b0, pdev=0x7fff61bddbb0, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5339 #24 0x00007f397b476a5f in QWidgetPrivate::paintSiblingsRecursive (this=0x36ff090, pdev=0x7fff61bddbb0, siblings=..., index=2, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5452 #25 0x00007f397b475be5 in QWidgetPrivate::drawWidget (this=0x36ff090, pdev=0x7fff61bddbb0, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5388 #26 0x00007f397b476a5f in QWidgetPrivate::paintSiblingsRecursive (this=0x3722310, pdev=0x7fff61bddbb0, siblings=..., index=5, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5452 #27 0x00007f397b475be5 in QWidgetPrivate::drawWidget (this=0x3722310, pdev=0x7fff61bddbb0, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5388 #28 0x00007f397b476a5f in QWidgetPrivate::paintSiblingsRecursive (this=0x2bb6470, pdev=0x7fff61bddbb0, siblings=..., index=25, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5452 #29 0x00007f397b475be5 in QWidgetPrivate::drawWidget (this=0x2bb6470, pdev=0x7fff61bddbb0, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5388 #30 0x00007f397b476cc5 in QWidget::render (this=<value optimized out>, target=0x7fff61bddbb0, targetOffset=..., sourceRegion=<value optimized out>, renderFlags=...) at kernel/qwidget.cpp:4938 #31 0x00007f397b4f2584 in QPixmap::grabWidget (widget=0x2ba6450, rect=<value optimized out>) at image/qpixmap.cpp:1092 #32 0x00007f397168954a in Oxygen::TransitionWidget::grab (this=0x405c8d0, widget=0x80, rect=...) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/transitions/oxygentransitionwidget.cpp:86 #33 0x00007f3971685438 in Oxygen::LineEditData::timerEvent (this=0x405dc60, event=<value optimized out>) at /var/tmp/portage/kde-base/kstyles-4.4.3/work/kstyles-4.4.3/kstyles/oxygen/transitions/oxygenlineeditdata.cpp:87 #34 0x00007f397c1f379c in QObject::event (this=0x405dc60, e=0x80) at kernel/qobject.cpp:1204 #35 0x00007f397b421466 in QApplicationPrivate::notify_helper (this=0x2a0ebe0, receiver=0x405dc60, e=0x7fff61bde520) at kernel/qapplication.cpp:4300 #36 0x00007f397b427f14 in QApplication::notify (this=0x7fff61bdea30, receiver=0x405dc60, e=0x7fff61bde520) at kernel/qapplication.cpp:3704 #37 0x00007f397c984774 in KApplication::notify (this=0x7fff61bdea30, receiver=0x405dc60, event=0x7fff61bde520) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302 #38 0x00007f397c1e52f4 in QCoreApplication::notifyInternal (this=0x7fff61bdea30, receiver=0x405dc60, event=0x7fff61bde520) at kernel/qcoreapplication.cpp:704 #39 0x00007f397c20e3be in QCoreApplication::sendEvent (this=0x2a12870) at kernel/qcoreapplication.h:215 #40 QTimerInfoList::activateTimers (this=0x2a12870) at kernel/qeventdispatcher_unix.cpp:603 #41 0x00007f397c20af21 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #42 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #43 0x00007f3975ad8093 in g_main_dispatch (context=0x2a115f0) at gmain.c:1960 #44 IA__g_main_context_dispatch (context=0x2a115f0) at gmain.c:2513 #45 0x00007f3975adb18c in g_main_context_iterate (context=0x2a115f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591 #46 0x00007f3975adb30e in IA__g_main_context_iteration (context=0x2a115f0, may_block=1) at gmain.c:2654 #47 0x00007f397c20ac74 in QEventDispatcherGlib::processEvents (this=0x21bce70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #48 0x00007f397b4c2486 in QGuiEventDispatcherGlib::processEvents (this=0x7f3958000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #49 0x00007f397c1e3fb4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #50 0x00007f397c1e42ff in QEventLoop::exec (this=0x7fff61bde7d0, flags=...) at kernel/qeventloop.cpp:201 #51 0x00007f397c1e62de in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #52 0x0000000000408b15 in main (argc=1, argv=0x7fff61be0028) at /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0/app/main_internal.cpp:232 The current source language is "auto; currently c". The current source language is "auto; currently asm". This bug may be a duplicate of or related to bug 236434, bug 238011. Possible duplicates by query: bug 238011, bug 236434, bug 232804, bug 231142, bug 228333. Reported using DrKonqi
Created attachment 43834 [details] valgrind log
This is not the first time when this bug appears for me. What can help if you stuck in this crash cycle: 1. Move .kdev4 file from it's place. 2. Load kdevelop, it will complain about missing project. 3. Start a new session, close the one with your project, then close this new session. 4. Move project file back. 5. Load kdevelop, switch to your session.
The valgrind log is unfortunately useless, it doesn't contain any information about where the corruption occurs. Did you run kdevelop via KDEV_SESSION=blah valgrind --trace-origins=yes kdevelop.bin? *** This bug has been marked as a duplicate of bug 236434 ***