Bug 303542

Summary: Kdevelop crashed after running git checkout COMMIT in external terminal
Product: [Applications] kdevelop Reporter: zohn.joidberg
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: matej
Priority: NOR    
Version: 4.3.1   
Target Milestone: 4.3.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description zohn.joidberg 2012-07-15 09:57:17 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I switched to another commit of my git branch.
Kdevelop had the corresponding project open and was using the project's cmake file.

The branch I switched too also had a CMakeLists.txt.

[Since this is a public git repository, I can even tell you exactly which commits :) :
Repository: https://bitbucket.org/Knitter/puzzlemoppet
I was at commit 32bec2e9c5dee804cdf0cc15f4ab16a54b4fc4c9 and did:
$ git checkout 02592bcc3792e085e3b26e9734197a73a0b2244c
]

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7e522f3780 (LWP 6771))]

Thread 12 (Thread 0x7f7e37a61700 (LWP 6772)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f7e5079543f in wait (time=1000, this=0x369be30) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x36c59e0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7e4c8ae63b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x36c59c0) at ../../language/duchain/duchain.cpp:282
#4  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x36c59c0) at thread/qthread_unix.cpp:298
#5  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e37a61700) at pthread_create.c:308
#6  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f7e1f8a7700 (LWP 6775)):
#0  0x00007f7e4a51d747 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7e4a51df5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e508c3426 in QEventDispatcherGlib::processEvents (this=0x7f7e180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e50892ed7 in QEventLoop::exec (this=0x7f7e1f8a6dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e50791fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e508729ff in QInotifyFileSystemWatcherEngine::run (this=0x424e750) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x424e750) at thread/qthread_unix.cpp:298
#9  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e1f8a7700) at pthread_create.c:308
#10 0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f7e1e643700 (LWP 6776)):
#0  0x00007f7e4f474b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e4a51e036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e508c3426 in QEventDispatcherGlib::processEvents (this=0x7f7e100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e50892ed7 in QEventLoop::exec (this=0x7f7e1e642e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e50791fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x428ff80) at thread/qthread_unix.cpp:298
#8  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e1e643700) at pthread_create.c:308
#9  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f7e17fff700 (LWP 6777)):
#0  0x00007f7e4f474b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e4a51e036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e508c3426 in QEventDispatcherGlib::processEvents (this=0x7f7e0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e50892ed7 in QEventLoop::exec (this=0x7f7e17ffee00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e50791fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x42db030) at thread/qthread_unix.cpp:298
#8  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e17fff700) at pthread_create.c:308
#9  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f7e1da15700 (LWP 6782)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7e384be222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f7e384be259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e1da15700) at pthread_create.c:308
#4  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7e1cc7f700 (LWP 6796)):
#0  0x00007f7e4f4730bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f7e4a5588cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e4a51dba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e4a51dfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7e508c3426 in QEventDispatcherGlib::processEvents (this=0x7f7e040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7e50892ed7 in QEventLoop::exec (this=0x7f7e1cc7edd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7e50791fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f7e508729ff in QInotifyFileSystemWatcherEngine::run (this=0x61dcc50) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f7e50794fcb in QThreadPrivate::start (arg=0x61dcc50) at thread/qthread_unix.cpp:298
#11 0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e1cc7f700) at pthread_create.c:308
#12 0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7e167a9700 (LWP 6951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7e47642dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7e47642f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e167a9700) at pthread_create.c:308
#4  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f7e16faa700 (LWP 6959)):
#0  0x00007f7e4f474b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e4a51e036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e508c3426 in QEventDispatcherGlib::processEvents (this=0x7f7dfc394520, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e50892ed7 in QEventLoop::exec (this=0x7f7e16fa9e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e50791fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x57eca70) at thread/qthread_unix.cpp:298
#8  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e16faa700) at pthread_create.c:308
#9  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7e03fff700 (LWP 7095)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7e507954db in wait (time=18446744073709551615, this=0x279fc80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2737720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7e480390eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279e730, th=0x63c0480) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7e4803b9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x26bf390, th=0x63c0480) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7e4803a84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7e03ffee20, parent=0x279e730, th=0x63c0480) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7e4803a8db in ThreadWeaver::Thread::run (this=0x63c0480) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f7e50794fcb in QThreadPrivate::start (arg=0x63c0480) at thread/qthread_unix.cpp:298
#8  0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e03fff700) at pthread_create.c:308
#9  0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7e037fe700 (LWP 7096)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7e507954db in wait (time=18446744073709551615, this=0x279fc80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2737720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7e480390eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279e730, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7e4803b9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x26bf390, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7e4803b9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26bf390, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7e4803b9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26bf390, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7e4803b9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26bf390, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7e4803a84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7e037fde20, parent=0x279e730, th=0x7f7db8002b60) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f7e4803a8db in ThreadWeaver::Thread::run (this=0x7f7db8002b60) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f7e50794fcb in QThreadPrivate::start (arg=0x7f7db8002b60) at thread/qthread_unix.cpp:298
#11 0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e037fe700) at pthread_create.c:308
#12 0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7e14e83700 (LWP 7156)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7e507954db in wait (time=18446744073709551615, this=0x7f7e0866b8f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f7e087fa450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7e50791314 in QSemaphore::acquire (this=0x7f7e14e81c60, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f7e5089bd65 in QMetaMethod::invoke (this=<optimized out>, object=0x2654840, connectionType=Qt::BlockingQueuedConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1715
#5  0x00007f7e5089e210 in QMetaObject::invokeMethod (obj=0x2654840, member=<optimized out>, type=Qt::BlockingQueuedConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#6  0x00007f7e4ce98132 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::BlockingQueuedConnection, member=0x7f7e4ceacf3a "dataChanged", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#7  KDevelop::ProjectBaseItem::setText (this=<optimized out>, text=...) at ../../project/projectmodel.cpp:337
#8  0x00007f7e4ce981df in KDevelop::ProjectBaseItem::setUrl (this=0x7f7e087f9070, url=...) at ../../project/projectmodel.cpp:447
#9  0x00007f7e4ce9bd1f in setUrl (url=..., this=0x7f7e087f9070) at ../../project/projectmodel.cpp:819
#10 KDevelop::ProjectFileItem::setUrl (this=0x7f7e087f9070, url=...) at ../../project/projectmodel.cpp:808
#11 0x00007f7e4ce9c012 in KDevelop::ProjectFileItem::ProjectFileItem (this=0x7f7e087f9070, project=0x6546500, file=..., parent=0x7f7e0881a140) at ../../project/projectmodel.cpp:690
#12 0x00007f7e175ecce7 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#13 0x00007f7e175edf5b in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#14 0x00007f7e4ce9f8d4 in import (folder=<optimized out>, this=0x6406370) at ../../project/importprojectjob.cpp:53
#15 import (folder=<optimized out>, this=0x6406370) at ../../project/importprojectjob.cpp:57
#16 KDevelop::ImportProjectJobPrivate::import (this=0x6406370, folder=<optimized out>) at ../../project/importprojectjob.cpp:57
#17 0x00007f7e4ce9f426 in run (this=0x75762d0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
#18 QtConcurrent::RunFunctionTask<void>::run (this=0x75762d0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125
#19 0x00007f7e507884f2 in QThreadPoolThread::run (this=0x7048420) at concurrent/qthreadpool.cpp:107
#20 0x00007f7e50794fcb in QThreadPrivate::start (arg=0x7048420) at thread/qthread_unix.cpp:298
#21 0x00007f7e4e7e3e9a in start_thread (arg=0x7f7e14e83700) at pthread_create.c:308
#22 0x00007f7e4f4804bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7e522f3780 (LWP 6771)):
[KCrash Handler]
#6  0x00007f7e4f3c4445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7e4f3c7bab in __GI_abort () at abort.c:91
#8  0x00007f7e4f401e2e in __libc_message (do_abort=2, fmt=0x7f7e4f50a0d0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f7e4f40c626 in malloc_printerr (action=3, str=0x7f7e4f50a2c0 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f7e507df612 in QString::free (d=0x7f7e08611900) at tools/qstring.cpp:1235
#11 0x00007f7e4ce97c86 in ~QString (this=0x7fffbb56cf80, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:880
#12 lessThan (item=0x7f7e087b2a00, this=0x7f7e087f9070) at ../../project/projectmodel.cpp:377
#13 KDevelop::ProjectBaseItem::lessThan (this=0x7f7e087f9070, item=0x7f7e087b2a00) at ../../project/projectmodel.cpp:365
#14 0x00007f7e501c4505 in QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add (this=0x6192a30, proxy_to_source=..., source_items=..., source_parent=..., orient=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:614
#15 0x00007f7e501c4a7c in QSortFilterProxyModelPrivate::insert_source_items (this=0x6192a30, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=false) at itemviews/qsortfilterproxymodel.cpp:673
#16 0x00007f7e501c9d0a in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x6192a30, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1165
#17 0x00007f7e508ad446 in QObject::event (this=0x6192a00, e=<optimized out>) at kernel/qobject.cpp:1195
#18 0x00007f7e4fc16894 in notify_helper (e=0x7f7e087ff460, receiver=0x6192a00, this=0x22c5750) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x22c5750, receiver=0x6192a00, e=0x7f7e087ff460) at kernel/qapplication.cpp:4531
#20 0x00007f7e4fc1b713 in QApplication::notify (this=0x7fffbb56de30, receiver=0x6192a00, e=0x7f7e087ff460) at kernel/qapplication.cpp:4420
#21 0x00007f7e5109f9e6 in KApplication::notify (this=0x7fffbb56de30, receiver=0x6192a00, event=0x7f7e087ff460) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f7e50893e9c in QCoreApplication::notifyInternal (this=0x7fffbb56de30, receiver=0x6192a00, event=0x7f7e087ff460) at kernel/qcoreapplication.cpp:876
#23 0x00007f7e50897c6a in sendEvent (event=0x7f7e087ff460, receiver=0x6192a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x228f670) at kernel/qcoreapplication.cpp:1500
#25 0x00007f7e508c2f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f7e4a51dd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7e4a51e0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f7e4a51e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f7e508c33bf in QEventDispatcherGlib::processEvents (this=0x2290b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f7e4fcbed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f7e50892c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f7e50892ed7 in QEventLoop::exec (this=0x7fffbb56dc10, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f7e50897f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0x000000000040a259 in ?? ()
#36 0x00007f7e4f3af76d in __libc_start_main (main=0x404ba0, argc=1, ubp_av=0x7fffbb56fce8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbb56fcd8) at libc-start.c:226
#37 0x000000000040a9b1 in _start ()

This bug may be a duplicate of or related to bug 297119, bug 293191.

Possible duplicates by query: bug 302750, bug 302666, bug 302581, bug 302042, bug 301155.

Reported using DrKonqi
Comment 1 Matěj Laitl 2012-07-25 09:02:11 UTC
Created attachment 72752 [details]
New crash information added by DrKonqi

kdevelop (4.4.60) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:
Changed files (incl. CMakeLists.txt) of a project currently opened using KDevelop.

The assertion text in .xsession-errors is:
*** glibc detected *** kdevelop: double free or corruption (fasttop): 0x00007f4d69dfd580 ***

- Versions
kdevplatform: v1.3.1-272-g569aa69
kdevelop: v4.3.1-262-g5f9644a

I have a Qt build with debugging assertions enabled, dunno if it is necessary to reproduce.

-- Backtrace (Reduced):
#9  0x00007f4d9167e6b6 in malloc_printerr (action=3, str=0x7f4d91759ad8 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:6283
[...]
#11 0x00007f4d92b3791e in QString::free (d=0x7f4d69dfd580) at tools/qstring.cpp:1235
#12 0x00007f4d8f37453a in ~QString (this=0x7fff49f8c640, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qstring.h:880
#13 KDevelop::ProjectBaseItem::lessThan (this=0x7f4d69dcc5f0, item=<optimized out>) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/projectmodel.cpp:380
#14 0x00007f4d924b2462 in QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add (this=0x2e55b90, proxy_to_source=..., source_items=..., source_parent=..., orient=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:614
Comment 2 Milian Wolff 2012-08-06 14:25:27 UTC

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