Bug 261111 - kdevelop crash on close (libc, double free or corruption fasttop)
Summary: kdevelop crash on close (libc, double free or corruption fasttop)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 263134 279840 280512 295206 295352 297376 306471 308571 312214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-23 23:54 UTC by Giorgos Tsiapaliokas
Modified: 2018-11-30 03:48 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.69 KB, text/plain)
2011-01-17 13:22 UTC, Eric Thiele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Tsiapaliokas 2010-12-23 23:54:41 UTC
Application: kdevelop (4.1.1)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
i closed the kdevelop application

- Unusual behavior I noticed:
when i log in into the kde,kdevelop always open,even if i have closed it before the last shutdown.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f060fffa710 (LWP 12900)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f0621d92d81 in wait (this=<value optimized out>, mutex=0xa9dd60, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xa9dd60, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f061e5f219e in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa9dd40) at /var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/duchain.cpp:286
#4  0x00007f0621d9272e in QThreadPrivate::start (arg=0xa9dd40) at thread/qthread_unix.cpp:285
#5  0x00007f0620814d5c in start_thread (arg=0x7f060fffa710) at pthread_create.c:301
#6  0x00007f0620afc5cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f060eab8710 (LWP 12902)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f0620aa43e2 in _L_lock_9802 () from /lib/libc.so.6
#2  0x00007f0620aa27b1 in __libc_free (mem=0x7f0620d92e80) at malloc.c:3736
#3  0x00007f0621ea593e in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xa989b0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:392
#4  0x00007f0621ea5979 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0xa989b0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:394
#5  0x00007f0621d91a94 in QThreadPrivate::finish (arg=0x7f06221acf60) at thread/qthread_unix.cpp:321
#6  0x00007f0621d92736 in ~__pthread_cleanup_class (arg=0x7f06221acf60) at /usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7f06221acf60) at thread/qthread_unix.cpp:243
#8  0x00007f0620814d5c in start_thread (arg=0x7f060eab8710) at pthread_create.c:301
#9  0x00007f0620afc5cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f0603add710 (LWP 12992)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f06103985a4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f06106b0180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f06103985d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f06106be254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0620814d5c in start_thread (arg=0x7f0603add710) at pthread_create.c:301
#4  0x00007f0620afc5cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f06235e2760 (LWP 12899)):
[KCrash Handler]
#6  0x00007f0620a5d7c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0620a5ec46 in abort () at abort.c:92
#8  0x00007f0620a98473 in __libc_message (do_abort=2, fmt=0x7f0620b57c40 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f0620a9d906 in malloc_printerr (action=3, str=0x7f0620b57f78 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f0620aa27bc in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f0620a603b1 in __run_exit_handlers (status=0, listp=0x7f0620d914a8, run_list_atexit=true) at exit.c:78
#12 0x00007f0620a60405 in exit (status=12899) at exit.c:100
#13 0x00007f0620a49ce4 in __libc_start_main (main=0x404570 <main(int, char**)>, argc=1, ubp_av=0x7fffc2cbe818, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffc2cbe808) at libc-start.c:258
#14 0x0000000000403fd9 in _start ()

Possible duplicates by query: bug 255982, bug 255512, bug 255312, bug 255043, bug 254668.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-01-14 14:00:32 UTC
*** Bug 263134 has been marked as a duplicate of this bug. ***
Comment 2 Milian Wolff 2011-01-14 14:01:36 UTC
if you can reproduce this, please run kdevelop through valgrind:

valgrind --log-file=/tmp/kdevelop.memcheck.log --track-origins=yes --num-callers=50 kdevelop

and attach the log file here.
Comment 3 Eric Thiele 2011-01-17 13:22:12 UTC
Created attachment 56120 [details]
New crash information added by DrKonqi

kdevelop (4.2.60) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1

- What I was doing when the application crashed:

just closed kdevelop

will try to reproduce with "valgrind --log-file=/tmp/kdevelop.memcheck.log --track-origins=yes --num-callers=50 kdevelop
"

-- Backtrace (Reduced):
#8  0x00007f8d4df891ca in __libc_message (do_abort=2, fmt=0x7f8d4e048fd8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#9  0x00007f8d4df8e77d in malloc_printerr (action=3, str=0x7f8d4e049310 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f8d4df9352c in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f8d4df513c9 in __run_exit_handlers (status=0, listp=0x7f8d4e2854c8, run_list_atexit=true) at exit.c:78
#12 0x00007f8d4df51415 in exit (status=22942) at exit.c:100
Comment 4 Milian Wolff 2011-08-11 08:21:46 UTC
*** Bug 279840 has been marked as a duplicate of this bug. ***
Comment 5 Milian Wolff 2011-08-27 16:09:42 UTC
*** Bug 280512 has been marked as a duplicate of this bug. ***
Comment 6 Milian Wolff 2012-03-29 15:29:16 UTC
*** Bug 295206 has been marked as a duplicate of this bug. ***
Comment 7 Milian Wolff 2012-04-08 16:11:15 UTC
*** Bug 297376 has been marked as a duplicate of this bug. ***
Comment 8 Olivier.jg 2012-10-26 22:52:53 UTC
*** Bug 306471 has been marked as a duplicate of this bug. ***
Comment 9 André Stein 2012-11-05 10:10:22 UTC
I had a situation where kdevelop crashed quite reproducebly (I had a project open and 2 extra source files). So I could gather some valgrind output (beware it's a RelWithDebInfo build so some uninitialised reads might be false alarms).


BACKTRACE:

Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff676cb5780 (LWP 5633))]

Thread 10 (Thread 0x7ff66ccc9700 (LWP 5634)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007ff68748bfa7 in wait (time=1000, this=0x2311950) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2318a00, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff68336587b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x23189e0) at /home/stone/build/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007ff68748baec in QThreadPrivate::start (arg=0x23189e0) at thread/qthread_unix.cpp:338
#5  0x00007ff685287e9a in start_thread (arg=0x7ff66ccc9700) at pthread_create.c:308
#6  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff657fff700 (LWP 5636)):
#0  0x00007ff68618e023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff687566fe2 in QProcessManager::run (this=0x7ff6878e0520 <processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007ff68748baec in QThreadPrivate::start (arg=0x7ff6878e0520 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007ff685287e9a in start_thread (arg=0x7ff657fff700) at pthread_create.c:308
#4  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff64f551700 (LWP 5638)):
#0  0x00007ff686189303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff68050ed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff68050eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6875b6c16 in QEventDispatcherGlib::processEvents (this=0x7ff6480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff6875872bf in QEventLoop::processEvents (this=this@entry=0x7ff64f550dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff687587548 in QEventLoop::exec (this=0x7ff64f550dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff687488b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff6875679af in QInotifyFileSystemWatcherEngine::run (this=0x1319430) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff68748baec in QThreadPrivate::start (arg=0x1319430) at thread/qthread_unix.cpp:338
#9  0x00007ff685287e9a in start_thread (arg=0x7ff64f551700) at pthread_create.c:308
#10 0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff64cd8d700 (LWP 5645)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff6826cecd7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff6829dc660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff6826ced09 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff685287e9a in start_thread (arg=0x7ff64cd8d700) at pthread_create.c:308
#4  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff63ffff700 (LWP 5646)):
#0  0x00007ff686189303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff68050ed84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff68050eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6875b6c16 in QEventDispatcherGlib::processEvents (this=0x7ff6380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ff6875872bf in QEventLoop::processEvents (this=this@entry=0x7ff63fffedd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff687587548 in QEventLoop::exec (this=0x7ff63fffedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff687488b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ff6875679af in QInotifyFileSystemWatcherEngine::run (this=0x4fc78f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff68748baec in QThreadPrivate::start (arg=0x4fc78f0) at thread/qthread_unix.cpp:338
#9  0x00007ff685287e9a in start_thread (arg=0x7ff63ffff700) at pthread_create.c:308
#10 0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff63cf9c700 (LWP 5792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff67d1a2b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff67d1a2c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff685287e9a in start_thread (arg=0x7ff63cf9c700) at pthread_create.c:308
#4  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff63d79d700 (LWP 5794)):
#0  0x00007fff8123365e in clock_gettime ()
#1  0x00007ff68471315d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ff6874e19c4 in do_gettime (frac=0x7ff63d79cb88, sec=0x7ff63d79cb80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ff6875b741d in QTimerInfoList::updateCurrentTime (this=0x7ff62801d0a0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ff6875b6655 in timerSourceCheckHelper (src=0x7ff62801d040) at kernel/qeventdispatcher_glib.cpp:150
#6  timerSourceCheckHelper (src=0x7ff62801d040) at kernel/qeventdispatcher_glib.cpp:144
#7  0x00007ff68050e88c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ff68050ed22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff68050eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ff6875b6c16 in QEventDispatcherGlib::processEvents (this=0x7ff6281d3e30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007ff6875872bf in QEventLoop::processEvents (this=this@entry=0x7ff63d79ce00, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007ff687587548 in QEventLoop::exec (this=0x7ff63d79ce00, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007ff687488b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007ff68748baec in QThreadPrivate::start (arg=0x2fa3880) at thread/qthread_unix.cpp:338
#15 0x00007ff685287e9a in start_thread (arg=0x7ff63d79d700) at pthread_create.c:308
#16 0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff62e798700 (LWP 5913)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff68748c04b in wait (time=18446744073709551615, this=0x6873e90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x68745e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff67ddef0e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x6874380, th=0x6874a10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff67ddf192b in ThreadWeaver::WorkingHardState::applyForWork (this=0x6874670, th=0x6874a10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff67ddf079f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff62e797e00, parent=0x6874380, th=th@entry=0x6874a10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff67ddf082b in ThreadWeaver::Thread::run (this=0x6874a10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff68748baec in QThreadPrivate::start (arg=0x6874a10) at thread/qthread_unix.cpp:338
#8  0x00007ff685287e9a in start_thread (arg=0x7ff62e798700) at pthread_create.c:308
#9  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff62df97700 (LWP 5914)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff68748c04b in wait (time=18446744073709551615, this=0x6873e90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x68745e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff67ddef0e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x6874380, th=0x38d52f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff67ddf192b in ThreadWeaver::WorkingHardState::applyForWork (this=0x6874670, th=0x38d52f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff67ddf079f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff62df96e00, parent=0x6874380, th=th@entry=0x38d52f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff67ddf082b in ThreadWeaver::Thread::run (this=0x38d52f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff68748baec in QThreadPrivate::start (arg=0x38d52f0) at thread/qthread_unix.cpp:338
#8  0x00007ff685287e9a in start_thread (arg=0x7ff62df97700) at pthread_create.c:308
#9  0x00007ff686194cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff676cb5780 (LWP 5633)):
[KCrash Handler]
#6  0x00007ff6884dedd4 in QDeclarativeItem::~QDeclarativeItem (this=0x5557af0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007ff6884a26ee in ~QDeclarativeElement (this=0x5557af0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x5557af0, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#9  0x00007ff68759d468 in QObject::event (this=0x5557af0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007ff68692fe9c in QApplicationPrivate::notify_helper (this=this@entry=0xef3750, receiver=receiver@entry=0x5557af0, e=e@entry=0x54b1890) at kernel/qapplication.cpp:4562
#11 0x00007ff68693430a in QApplication::notify (this=0x7fff81219850, receiver=0x5557af0, e=0x54b1890) at kernel/qapplication.cpp:4423
#12 0x00007ff687b091d6 in KApplication::notify (this=0x7fff81219850, receiver=0x5557af0, event=0x54b1890) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007ff68758856e in QCoreApplication::notifyInternal (this=0x7fff81219850, receiver=receiver@entry=0x5557af0, event=event@entry=0x54b1890) at kernel/qcoreapplication.cpp:915
#14 0x00007ff68758c3f1 in sendEvent (event=0x54b1890, receiver=0x5557af0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0xe40670) at kernel/qcoreapplication.cpp:1539
#16 0x00007ff68758c673 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1432
#17 0x00007ff68758c73f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1194
#18 0x000000000040d93e in main (argc=<optimized out>, argv=<optimized out>) at /home/stone/build/kdevelop/app/main.cpp:503


VALGRIND OUTPUT:

==10474== Memcheck, a memory error detector
==10474== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==10474== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==10474== Command: kdevelop
==10474== Parent PID: 9978
==10474== 
==10474== Conditional jump or move depends on uninitialised value(s)
==10474==    at 0xAA9A022: KDevelop::ProjectChangesModel::jobUnregistered(KJob*) (qlist.h:885)
==10474==    by 0x6C4EF5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x530ED61: KDevelop::IRunController::jobUnregistered(KJob*) (iruncontroller.moc:136)
==10474==    by 0x55C4395: KDevelop::RunController::unregisterJob(KJob*) (runcontroller.cpp:584)
==10474==    by 0x55C109D: KDevelop::RunController::finished(KJob*) (runcontroller.cpp:633)
==10474==    by 0x55C7864: KDevelop::RunController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (runcontroller.moc:73)
==10474==    by 0x6C4EF5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x4F55CBE: KJob::finished(KJob*) (kjob.moc:187)
==10474==    by 0x4F55F04: KJob::emitResult() (kjob.cpp:316)
==10474==    by 0xAA9C833: KDevelop::DVcsJob::jobIsReady() (dvcsjob.cpp:295)
==10474==    by 0xAA9C8F9: KDevelop::DVcsJob::slotProcessExited(int, QProcess::ExitStatus) (dvcsjob.cpp:251)
==10474==    by 0x6C4EF5E: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==  Uninitialised value was created by a heap allocation
==10474==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10474==    by 0xAA85F3A: KDevelop::VcsJob::VcsJob(QObject*, KDevelop::OutputJob::OutputJobVerbosity) (vcsjob.cpp:33)
==10474==    by 0xAA9C3AF: KDevelop::DVcsJob::DVcsJob(QDir const&, KDevelop::IPlugin*, KDevelop::OutputJob::OutputJobVerbosity) (dvcsjob.cpp:65)
==10474==    by 0x333CFE4B: GitPlugin::GitPlugin(QObject*, QList<QVariant> const&) (gitplugin.cpp:192)
==10474==    by 0x333DA856: QObject* KPluginFactory::createInstance<GitPlugin, QObject>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:477)
==10474==    by 0x5034184: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:203)
==10474==    by 0x558F20B: KDevelop::PluginController::loadPluginInternal(QString const&) (kpluginfactory.h:531)
==10474==    by 0x55927F1: KDevelop::PluginController::initialize() (plugincontroller.cpp:268)
==10474==    by 0x55959F5: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:267)
==10474==    by 0x5597693: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:331)
==10474==    by 0x40C920: main (main.cpp:385)
==10474== 
==10474== Warning: set address range perms: large range [0x454a1000, 0x854a1000) (defined)
==10474== Invalid write of size 8
==10474==    at 0xBA6D284: QTJSC::JIT::unlinkCall(QTJSC::CallLinkInfo*) (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBA199D7: QTJSC::CodeBlock::unlinkCallers() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAD887B: QTJSC::JSFunction::~JSFunction() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB0141: QTJSC::Heap::freeBlocks() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB038B: QTJSC::Heap::destroy() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB825BF: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB82C38: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0x6C4FFFB: QObject::~QObject() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x5C2D494: QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtDeclarative.so.4.8.3)
==10474==    by 0x5C2D6C8: QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtDeclarative.so.4.8.3)
==10474==    by 0x6C4FFFB: QObject::~QObject() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x5C288B8: QDeclarativeEngine::~QDeclarativeEngine() (in /usr/lib/x86_64-linux-gnu/libQtDeclarative.so.4.8.3)
==10474==  Address 0x34ea0400 is not stack'd, malloc'd or (recently) free'd
==10474== 
==10474== Invalid read of size 4
==10474==    at 0x6700670: startFromKdeinit(int, char const**) (kcrash.cpp:781)
==10474==    by 0x6701175: KCrash::startProcess(int, char const**, bool) (kcrash.cpp:537)
==10474==    by 0x6701580: KCrash::defaultCrashHandler(int) (kcrash.cpp:435)
==10474==    by 0x7F7749F: ??? (in /lib/x86_64-linux-gnu/libc-2.15.so)
==10474==    by 0xBA6D283: QTJSC::JIT::unlinkCall(QTJSC::CallLinkInfo*) (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBA199D7: QTJSC::CodeBlock::unlinkCallers() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAD887B: QTJSC::JSFunction::~JSFunction() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB0141: QTJSC::Heap::freeBlocks() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB038B: QTJSC::Heap::destroy() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB825BF: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB82C38: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0x6C4FFFB: QObject::~QObject() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==  Address 0x1781dc90 is 0 bytes inside a block of size 3 alloc'd
==10474==    at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10474==    by 0x67005D0: startFromKdeinit(int, char const**) (kcrash.cpp:660)
==10474==    by 0x6701175: KCrash::startProcess(int, char const**, bool) (kcrash.cpp:537)
==10474==    by 0x6701580: KCrash::defaultCrashHandler(int) (kcrash.cpp:435)
==10474==    by 0x7F7749F: ??? (in /lib/x86_64-linux-gnu/libc-2.15.so)
==10474==    by 0xBA6D283: QTJSC::JIT::unlinkCall(QTJSC::CallLinkInfo*) (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBA199D7: QTJSC::CodeBlock::unlinkCallers() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAD887B: QTJSC::JSFunction::~JSFunction() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB0141: QTJSC::Heap::freeBlocks() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBAB038B: QTJSC::Heap::destroy() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB825BF: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474==    by 0xBB82C38: QScriptEnginePrivate::~QScriptEnginePrivate() (in /usr/lib/x86_64-linux-gnu/libQtScript.so.4.8.3)
==10474== 
==10474== Thread 9:
==10474== Invalid read of size 2
==10474==    at 0x6C67493: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0xDC2888B: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28D21: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28EA3: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0x6C67C15: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C382BE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C38547: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B39B0F: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C189AE: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B3CAEB: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x8F0AE99: start_thread (pthread_create.c:308)
==10474==    by 0x8034CBC: clone (clone.S:112)
==10474==  Address 0x3e15ef96 is 6 bytes inside a block of size 16 free'd
==10474==    at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10474==    by 0x6C67492: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0xDC2888B: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28D21: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28EA3: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0x6C67C15: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C382BE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C38547: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B39B0F: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C189AE: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B3CAEB: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x8F0AE99: start_thread (pthread_create.c:308)
==10474== 
==10474== Invalid read of size 2
==10474==    at 0x6C6749B: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0xDC2888B: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28D21: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28EA3: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0x6C67C15: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C382BE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C38547: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B39B0F: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C189AE: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B3CAEB: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x8F0AE99: start_thread (pthread_create.c:308)
==10474==    by 0x8034CBC: clone (clone.S:112)
==10474==  Address 0x3e15ef94 is 4 bytes inside a block of size 16 free'd
==10474==    at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10474==    by 0x6C67492: socketNotifierSourceCheck(_GSource*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0xDC2888B: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28D21: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0xDC28EA3: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3400.1)
==10474==    by 0x6C67C15: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C382BE: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C38547: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B39B0F: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6C189AE: QInotifyFileSystemWatcherEngine::run() (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x6B3CAEB: QThreadPrivate::start(void*) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.3)
==10474==    by 0x8F0AE99: start_thread (pthread_create.c:308)
==10474== 
==10474== 
==10474== HEAP SUMMARY:
==10474==     in use at exit: 80,169,138 bytes in 217,926 blocks
==10474==   total heap usage: 2,968,761 allocs, 2,750,835 frees, 677,397,672 bytes allocated
==10474== 
==10474== LEAK SUMMARY:
==10474==    definitely lost: 23,152 bytes in 80 blocks
==10474==    indirectly lost: 95,382 bytes in 2,424 blocks
==10474==      possibly lost: 2,750,315 bytes in 45,794 blocks
==10474==    still reachable: 77,300,289 bytes in 169,628 blocks
==10474==         suppressed: 0 bytes in 0 blocks
==10474== Rerun with --leak-check=full to see details of leaked memory
==10474== 
==10474== For counts of detected and suppressed errors, rerun with: -v
==10474== ERROR SUMMARY: 13 errors from 5 contexts (suppressed: 2 from 2)
Comment 10 Olivier.jg 2012-11-05 11:28:07 UTC
Thanks for the Valgrind report, but unfortunately that's a different bug, which has actually been fixed in git master and should be fixed in 4.4.1
Comment 11 André Stein 2012-11-05 11:41:26 UTC
This is from git master compiled today morning..
Comment 12 Olivier.jg 2012-11-05 11:44:04 UTC
That's not good... another QDeclarative crash. Could you file another report with this information?
Comment 13 André Stein 2012-11-05 11:52:38 UTC
Done: https://bugs.kde.org/show_bug.cgi?id=309580
Comment 14 Milian Wolff 2012-11-09 20:28:54 UTC
*** Bug 308571 has been marked as a duplicate of this bug. ***
Comment 15 Milian Wolff 2012-11-09 20:30:12 UTC
*** Bug 295352 has been marked as a duplicate of this bug. ***
Comment 16 Milian Wolff 2012-12-27 14:19:40 UTC
*** Bug 312214 has been marked as a duplicate of this bug. ***
Comment 17 Andrew Crouthamel 2018-10-31 04:08:55 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 18 Bug Janitor Service 2018-11-15 10:34:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 Bug Janitor Service 2018-11-30 03:48:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!