Bug 324810 - KDevelop crash on 'git revert'
Summary: KDevelop crash on 'git revert'
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.5.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-11 20:30 UTC by Julius Schwartzenberg
Modified: 2013-10-08 06:21 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 Julius Schwartzenberg 2013-09-11 20:30:59 UTC
Application: kdevelop (4.5.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.8.0-30-generic x86_64
Distribution: Ubuntu 13.04

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

I chose git revert on a file which I didn't edit yet, but just to be sure of that. Then KDevelop crashes. It happened twice.

The crash can be reproduced every time.

-- 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 0x7fe0722757c0 (LWP 2592))]

Thread 13 (Thread 0x7fe055d8d700 (LWP 2599)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe06ffbe0a7 in wait (time=1000, this=0x31272e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x3105d48, mutex=mutex@entry=0x3105d50, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe06be81afb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3105d30) at ../../language/duchain/duchain.cpp:282
#4  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x3105d30) at thread/qthread_unix.cpp:338
#5  0x00007fe06ddb1f8e in start_thread (arg=0x7fe055d8d700) at pthread_create.c:311
#6  0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 12 (Thread 0x7fe043311700 (LWP 2602)):
#0  0x00007fe0690c45d8 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe069084493 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe069085188 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe0700e9036 in QEventDispatcherGlib::processEvents (this=0x7fe03c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fe043310d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fe043310d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe06ffbb410 in QThread::exec (this=this@entry=0x3dbb120) at thread/qthread.cpp:542
#8  0x00007fe07009aedf in QInotifyFileSystemWatcherEngine::run (this=0x3dbb120) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x3dbb120) at thread/qthread_unix.cpp:338
#10 0x00007fe06ddb1f8e in start_thread (arg=0x7fe043311700) at pthread_create.c:311
#11 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7fe0420b2700 (LWP 2603)):
#0  0x00007fe0690c45e0 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe069084b39 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe06908514c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe0700e9036 in QEventDispatcherGlib::processEvents (this=0x7fe0340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fe0420b1dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fe0420b1dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe06ffbb410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x3e0b2e0) at thread/qthread_unix.cpp:338
#9  0x00007fe06ddb1f8e in start_thread (arg=0x7fe0420b2700) at pthread_create.c:311
#10 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7fe0418b1700 (LWP 2604)):
#0  0x00007fe0690824ab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe06908489f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0690850fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe0700e9036 in QEventDispatcherGlib::processEvents (this=0x7fe0380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fe0418b0dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fe0418b0dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe06ffbb410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x21d2730) at thread/qthread_unix.cpp:338
#9  0x00007fe06ddb1f8e in start_thread (arg=0x7fe0418b1700) at pthread_create.c:311
#10 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7fe0410b0700 (LWP 2609)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe06b1f6b27 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fe06b1f6b59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fe06ddb1f8e in start_thread (arg=0x7fe0410b0700) at pthread_create.c:311
#4  0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7fdfb2dbb700 (LWP 2621)):
#0  0x00007fffc17fe8d2 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fdfb0c4a700 (LWP 2674)):
#0  0x00007fe0690851de in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0700e9036 in QEventDispatcherGlib::processEvents (this=0x7fdfa4002b00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fdfb0c49d90, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fdfb0c49d90, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fe06ffbb410 in QThread::exec (this=this@entry=0x5e8cf30) at thread/qthread.cpp:542
#6  0x00007fe07009aedf in QInotifyFileSystemWatcherEngine::run (this=0x5e8cf30) at io/qfilesystemwatcher_inotify.cpp:256
#7  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x5e8cf30) at thread/qthread_unix.cpp:338
#8  0x00007fe06ddb1f8e in start_thread (arg=0x7fdfb0c4a700) at pthread_create.c:311
#9  0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7fdfab7fe700 (LWP 2682)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe065c46575 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe065c465c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe06ddb1f8e in start_thread (arg=0x7fdfab7fe700) at pthread_create.c:311
#4  0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fdfaaffd700 (LWP 2760)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe06598c9f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe065c74cde in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe06ddb1f8e in start_thread (arg=0x7fdfaaffd700) at pthread_create.c:311
#4  0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fdfaa3fc700 (LWP 2765)):
#0  0x00007fe0690c435c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe0690c45b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0690847d5 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe0690850fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe0700e9036 in QEventDispatcherGlib::processEvents (this=0x7fdf9c002f00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fdfaa3fbdc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fdfaa3fbdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fe06ffbb410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x4e63eb0) at thread/qthread_unix.cpp:338
#10 0x00007fe06ddb1f8e in start_thread (arg=0x7fdfaa3fc700) at pthread_create.c:311
#11 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fdfa97be700 (LWP 2916)):
#0  0x00007fe06ecb5b6d in write () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe0690c376f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0700bdd42 in QCoreApplication::postEvent (receiver=0x219d210, event=event@entry=0x7fdfa5d61050, priority=priority@entry=0) at kernel/qcoreapplication.cpp:1392
#3  0x00007fe0700bde07 in QCoreApplication::postEvent (receiver=<optimized out>, event=event@entry=0x7fdfa5d61050) at kernel/qcoreapplication.cpp:1304
#4  0x00007fe0700cf415 in queued_activate (argv=0x7fdfa97b9f30, c=0x64f5b00, signal=9, sender=0x59b2030) at kernel/qobject.cpp:3423
#5  QMetaObject::activate (sender=sender@entry=0x59b2030, m=m@entry=0x7fe06c1fae40 <KDevelop::ParseJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fdfa97b9f30) at kernel/qobject.cpp:3499
#6  0x00007fe06be525d4 in KDevelop::ParseJob::progress (this=this@entry=0x59b2030, _t1=_t1@entry=0x59b2030, _t2=0.453333348, _t3=...) at ./parsejob.moc:136
#7  0x00007fe04289037f in CPPParseJob::includedFileParsed (this=0x59b2030) at ../../../languages/cpp/cppparsejob.cpp:160
#8  0x00007fe042894236 in CPPInternalParseJob::run (this=0x7fdfa4020aa0) at ../../../languages/cpp/cppparsejob.cpp:867
#9  0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x7fdfa400a4e0, _fileName=..., type=<optimized out>, sourceLine=22, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#10 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa97bb2b0, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#11 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa97bb2b0, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#12 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa97bb2b0, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#13 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa97bb2b0, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#14 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa97bb2b0, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#15 0x00007fe04289a8ae in PreprocessJob::run (this=0x7fdfa400a4e0) at ../../../languages/cpp/preprocessjob.cpp:245
#16 0x00007fe0428907ee in CPPParseJob::parseForeground (this=this@entry=0x7fdfa400a070) at ../../../languages/cpp/cppparsejob.cpp:181
#17 0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x64e9e90, _fileName=..., type=<optimized out>, sourceLine=19, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#18 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa97bcc50, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#19 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa97bcc50, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#20 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa97bcc50, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#21 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa97bcc50, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#22 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa97bcc50, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#23 0x00007fe04289a8ae in PreprocessJob::run (this=0x64e9e90) at ../../../languages/cpp/preprocessjob.cpp:245
#24 0x00007fe06695aeca in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fdfa97bdd60, th=th@entry=0x6436df0, job=job@entry=0x64e9e90) at ../../../threadweaver/Weaver/Job.cpp:106
#25 0x00007fe06695b041 in ThreadWeaver::Job::execute (this=0x64e9e90, th=0x6436df0) at ../../../threadweaver/Weaver/Job.cpp:135
#26 0x00007fe06695ce93 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x64aca20, t=0x6436df0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#27 0x00007fe06695a7bb in ThreadWeaver::Thread::run (this=0x6436df0) at ../../../threadweaver/Weaver/Thread.cpp:108
#28 0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x6436df0) at thread/qthread_unix.cpp:338
#29 0x00007fe06ddb1f8e in start_thread (arg=0x7fdfa97be700) at pthread_create.c:311
#30 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fdfa8fbd700 (LWP 2917)):
#0  0x00007fe06ecb5b6d in write () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe0690c376f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0700bdd42 in QCoreApplication::postEvent (receiver=receiver@entry=0x7fe071be4500 <KDevelop::ForegroundLock::relock()::releaser>, event=event@entry=0x7fdfac65f6c0, priority=priority@entry=0) at kernel/qcoreapplication.cpp:1392
#3  0x00007fe0700bde07 in QCoreApplication::postEvent (receiver=receiver@entry=0x7fe071be4500 <KDevelop::ForegroundLock::relock()::releaser>, event=event@entry=0x7fdfac65f6c0) at kernel/qcoreapplication.cpp:1304
#4  0x00007fe0700c2ca5 in QMetaMethod::invoke (this=this@entry=0x7fdfa8fb56d0, object=object@entry=0x7fe071be4500 <KDevelop::ForegroundLock::relock()::releaser>, connectionType=2896985232, connectionType@entry=Qt::QueuedConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1703
#5  0x00007fe0700c4eac in QMetaObject::invokeMethod (obj=obj@entry=0x7fe071be4500 <KDevelop::ForegroundLock::relock()::releaser>, member=member@entry=0x7fe0719d8225 "doInternalSlot", type=type@entry=Qt::QueuedConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#6  0x00007fe0719ce1c0 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::QueuedConnection, member=0x7fe0719d8225 "doInternalSlot", obj=0x7fe071be4500 <KDevelop::ForegroundLock::relock()::releaser>) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#7  KDevelop::ForegroundLock::relock (this=0x7fdfa8fb5b2f) at ../../interfaces/foregroundlock.cpp:186
#8  0x00007fe06be5392f in KDevelop::ParseJob::translateDUChainToRevision (this=0x7fdfacbce7b0, context=0x7fdfa5164490) at ../../language/backgroundparser/parsejob.cpp:422
#9  0x00007fe04289252d in CPPInternalParseJob::run (this=0x7fdfac41fff0) at ../../../languages/cpp/cppparsejob.cpp:441
#10 0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x7fdfac12e2a0, _fileName=..., type=<optimized out>, sourceLine=45, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#11 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa8fb6f70, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#12 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa8fb6f70, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#13 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa8fb6f70, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#14 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa8fb6f70, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#15 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa8fb6f70, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#16 0x00007fe04289a8ae in PreprocessJob::run (this=0x7fdfac12e2a0) at ../../../languages/cpp/preprocessjob.cpp:245
#17 0x00007fe0428907ee in CPPParseJob::parseForeground (this=this@entry=0x7fdfac09f760) at ../../../languages/cpp/cppparsejob.cpp:181
#18 0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x7fdfac0c6aa0, _fileName=..., type=<optimized out>, sourceLine=0, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#19 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa8fb8910, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#20 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa8fb8910, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#21 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa8fb8910, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#22 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa8fb8910, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#23 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa8fb8910, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#24 0x00007fe04289a8ae in PreprocessJob::run (this=0x7fdfac0c6aa0) at ../../../languages/cpp/preprocessjob.cpp:245
#25 0x00007fe0428907ee in CPPParseJob::parseForeground (this=this@entry=0x7fdfac053340) at ../../../languages/cpp/cppparsejob.cpp:181
#26 0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x7fdfac00c160, _fileName=..., type=<optimized out>, sourceLine=44, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#27 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa8fba2b0, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#28 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa8fba2b0, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#29 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa8fba2b0, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#30 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa8fba2b0, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#31 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa8fba2b0, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#32 0x00007fe04289a8ae in PreprocessJob::run (this=0x7fdfac00c160) at ../../../languages/cpp/preprocessjob.cpp:245
#33 0x00007fe0428907ee in CPPParseJob::parseForeground (this=this@entry=0x7fdfac00c820) at ../../../languages/cpp/cppparsejob.cpp:181
#34 0x00007fe042899363 in PreprocessJob::sourceNeeded (this=0x64ee190, _fileName=..., type=<optimized out>, sourceLine=23, skipCurrentPath=<optimized out>) at ../../../languages/cpp/preprocessjob.cpp:581
#35 0x00007fe04265162c in rpp::pp::handle_include (this=this@entry=0x7fdfa8fbbc50, skip_current_path=<optimized out>, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:219
#36 0x00007fe042651b87 in rpp::pp::handle_directive (this=this@entry=0x7fdfa8fbbc50, directive=directive@entry=400248, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:137
#37 0x00007fe042652210 in rpp::pp::operator() (this=this@entry=0x7fdfa8fbbc50, input=..., output=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:272
#38 0x00007fe042652445 in rpp::pp::processFileInternal (this=this@entry=0x7fdfa8fbbc50, fileName=..., fileContents=..., result=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:98
#39 0x00007fe0426524e6 in rpp::pp::processFile (this=this@entry=0x7fdfa8fbbc50, fileName=..., data=...) at ../../../../../languages/cpp/parser/rpp/pp-engine.cpp:85
#40 0x00007fe04289a8ae in PreprocessJob::run (this=0x64ee190) at ../../../languages/cpp/preprocessjob.cpp:245
#41 0x00007fe06695aeca in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fdfa8fbcd60, th=th@entry=0x64ec430, job=job@entry=0x64ee190) at ../../../threadweaver/Weaver/Job.cpp:106
#42 0x00007fe06695b041 in ThreadWeaver::Job::execute (this=0x64ee190, th=0x64ec430) at ../../../threadweaver/Weaver/Job.cpp:135
#43 0x00007fe06695ce93 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x64fbac0, t=0x64ec430) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#44 0x00007fe06695a7bb in ThreadWeaver::Thread::run (this=0x64ec430) at ../../../threadweaver/Weaver/Thread.cpp:108
#45 0x00007fe06ffbdbec in QThreadPrivate::start (arg=0x64ec430) at thread/qthread_unix.cpp:338
#46 0x00007fe06ddb1f8e in start_thread (arg=0x7fdfa8fbd700) at pthread_create.c:311
#47 0x00007fe06ecc3e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fe0722757c0 (LWP 2592)):
[KCrash Handler]
#6  QObject::property (this=0x0, name=name@entry=0x7fe06c24bae1 "urls") at kernel/qobject.cpp:3733
#7  0x00007fe06c22f844 in KDevelop::VcsPluginHelper::delayedModificationWarningOn (this=0x3b4a370) at ../../vcs/vcspluginhelper.cpp:274
#8  0x00007fe06c231625 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./vcspluginhelper.moc:85
#9  KDevelop::VcsPluginHelper::qt_static_metacall (_o=0x3b4a370, _c=QMetaObject::InvokeMetaMethod, _id=1814346465, _a=0x7fffc17d8e00) at ./vcspluginhelper.moc:65
#10 0x00007fe0700cf0ef in QMetaObject::activate (sender=0x4f8f8b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#11 0x00007fe0700d43ec in QObject::event (this=0x4f8f8b0, e=<optimized out>) at kernel/qobject.cpp:1156
#12 0x00007fe06f4608ec in QApplicationPrivate::notify_helper (this=this@entry=0x1de7030, receiver=receiver@entry=0x4f8f8b0, e=e@entry=0x7fffc17d94f0) at kernel/qapplication.cpp:4567
#13 0x00007fe06f46325b in QApplication::notify (this=this@entry=0x7fffc17d9b50, receiver=receiver@entry=0x4f8f8b0, e=e@entry=0x7fffc17d94f0) at kernel/qapplication.cpp:4428
#14 0x00007fe070641916 in KApplication::notify (this=0x7fffc17d9b50, receiver=0x4f8f8b0, event=0x7fffc17d94f0) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fe0700ba63e in QCoreApplication::notifyInternal (this=0x7fffc17d9b50, receiver=0x4f8f8b0, event=event@entry=0x7fffc17d94f0) at kernel/qcoreapplication.cpp:946
#16 0x00007fe0700ebb72 in sendEvent (event=0x7fffc17d94f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QTimerInfoList::activateTimers (this=0x1de7790) at kernel/qeventdispatcher_unix.cpp:622
#18 0x00007fe0700e89a4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#19 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#20 0x00007fe0700e89c1 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#21 0x00007fe069084f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fe069085248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe069085304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe0700e9016 in QEventDispatcherGlib::processEvents (this=0x1d2ab00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007fe06f50613e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fe0700b938f in QEventLoop::processEvents (this=this@entry=0x7fffc17d9770, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fe0700b9618 in QEventLoop::exec (this=this@entry=0x7fffc17d9770, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007fe0700becf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#29 0x00007fe06f45effc in QApplication::exec () at kernel/qapplication.cpp:3828
#30 0x000000000040dcbf in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:522

Reported using DrKonqi
Comment 1 Aleix Pol 2013-09-12 00:29:42 UTC
Git commit 37fd40ec5e7b9ff4ae9c92d1599d4eb29b5f45b5 by Aleix Pol.
Committed on 12/09/2013 at 00:26.
Pushed by apol into branch 'master'.

Make sure delayedModificationWarningOn() is always called as a slot

Also remove weird tricks of storing the caller in a slot. Use the sender
method, so that we can more easily know what object we're talking about.

I've never had this crash, but the backtrace seems obvious.

M  +11   -9    vcs/vcspluginhelper.cpp
M  +3    -0    vcs/vcspluginhelper.h

http://commits.kde.org/kdevplatform/37fd40ec5e7b9ff4ae9c92d1599d4eb29b5f45b5
Comment 2 Kevin Funk 2013-10-08 06:21:20 UTC
Git commit e17407617a0b9c90537cb06d061dd826bee862bc by Kevin Funk, on behalf of Aleix Pol.
Committed on 12/09/2013 at 00:26.
Pushed by kfunk into branch '1.5'.

Make sure delayedModificationWarningOn() is always called as a slot

Also remove weird tricks of storing the caller in a slot. Use the sender
method, so that we can more easily know what object we're talking about.

I've never had this crash, but the backtrace seems obvious.

Backport from master.

M  +9    -9    vcs/vcspluginhelper.cpp
M  +3    -0    vcs/vcspluginhelper.h

http://commits.kde.org/kdevplatform/e17407617a0b9c90537cb06d061dd826bee862bc