Bug 250369 - Kdevelop master (4.2) crashes in conjunction with Kate from 4.5.1
Summary: Kdevelop master (4.2) crashes in conjunction with Kate from 4.5.1
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 250436 250622 250851 251499 251600 251727 252364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-06 16:10 UTC by Leandro Santiago da Silva
Modified: 2010-09-28 13:40 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.84 KB, text/plain)
2010-09-08 10:07 UTC, Felix Tiede
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Santiago da Silva 2010-09-06 16:10:45 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-19-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I've created a new comment block /* */. 
When I tried to write some texts into it (the comment block), kdevelop crashed.

I'm using kdevelop (and cia) from master branch, updated today (6th Sep)

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2e9f710 (LWP 27966))]

Thread 11 (Thread 0xafac9b70 (LWP 27968)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb606b342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb60e2a8f in QWaitConditionPrivate::wait (this=0xa097144, mutex=0xa097148, time=1000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0xa097144, mutex=0xa097148, time=1000) at thread/qwaitcondition_unix.cpp:160
#4  0xb4d372d6 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa097138) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:283
#5  0xb60e1f39 in QThreadPrivate::start (arg=0xa097138) at thread/qthread_unix.cpp:266
#6  0xb606696e in start_thread (arg=0xafac9b70) at pthread_create.c:300
#7  0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xaf0d0b70 (LWP 27969)):
#0  0xb606be59 in __pthread_getspecific (key=1) at pthread_getspecific.c:27
#1  0xb4812f35 in ?? () from /usr/lib/libgthread-2.0.so.0
#2  0xb47a2792 in g_thread_self () from /lib/libglib-2.0.so.0
#3  0xb477a2b2 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#4  0xb477be5e in ?? () from /lib/libglib-2.0.so.0
#5  0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0xb621182f in QEventDispatcherGlib::processEvents (this=0x9f225c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0xb61e1a99 in QEventLoop::processEvents (this=0xaf0d0290, flags=) at kernel/qeventloop.cpp:149
#8  0xb61e1f1a in QEventLoop::exec (this=0xaf0d0290, flags=...) at kernel/qeventloop.cpp:201
#9  0xb60dec5e in QThread::exec (this=0xa173738) at thread/qthread.cpp:490
#10 0xb61c09ab in QInotifyFileSystemWatcherEngine::run (this=0xa173738) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb60e1f39 in QThreadPrivate::start (arg=0xa173738) at thread/qthread_unix.cpp:266
#12 0xb606696e in start_thread (arg=0xaf0d0b70) at pthread_create.c:300
#13 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xab9d0b70 (LWP 28010)):
#0  0xb480ae16 in *__GI_clock_gettime (clock_id=-1266618380, tp=0xab9cffa0) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb613d48b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb6213965 in QTimerInfoList::updateCurrentTime (this=0xa41ce4c) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb62139aa in QTimerInfoList::timerWait (this=0xa41ce4c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6211a38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xab9d00cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6211ac5 in timerSourcePrepare (source=0x0, timeout=0xb480eff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb477baca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb477bee9 in ?? () from /lib/libglib-2.0.so.0
#9  0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb621182f in QEventDispatcherGlib::processEvents (this=0xa2b8990, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb61e1a99 in QEventLoop::processEvents (this=0xab9d02a0, flags=) at kernel/qeventloop.cpp:149
#12 0xb61e1f1a in QEventLoop::exec (this=0xab9d02a0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb60dec5e in QThread::exec (this=0x9db5c50) at thread/qthread.cpp:490
#14 0xb4e24b11 in KDevelop::CompletionWorkerThread::run (this=0x9db5c50) at /home/tenchi/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#15 0xb60e1f39 in QThreadPrivate::start (arg=0x9db5c50) at thread/qthread_unix.cpp:266
#16 0xb606696e in start_thread (arg=0xab9d0b70) at pthread_create.c:300
#17 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xab1cfb70 (LWP 28014)):
#0  0xb477a0f2 in g_main_context_release () from /lib/libglib-2.0.so.0
#1  0xb477c0e3 in ?? () from /lib/libglib-2.0.so.0
#2  0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb621182f in QEventDispatcherGlib::processEvents (this=0xa47cb10, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0xb61e1a99 in QEventLoop::processEvents (this=0xab1cf290, flags=) at kernel/qeventloop.cpp:149
#5  0xb61e1f1a in QEventLoop::exec (this=0xab1cf290, flags=...) at kernel/qeventloop.cpp:201
#6  0xb60dec5e in QThread::exec (this=0xa0bca40) at thread/qthread.cpp:490
#7  0xb61c09ab in QInotifyFileSystemWatcherEngine::run (this=0xa0bca40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb60e1f39 in QThreadPrivate::start (arg=0xa0bca40) at thread/qthread_unix.cpp:266
#9  0xb606696e in start_thread (arg=0xab1cfb70) at pthread_create.c:300
#10 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa7a12b70 (LWP 28190)):
#0  0xb480ae16 in *__GI_clock_gettime (clock_id=-1266618380, tp=0xa7a11fa0) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb613d48b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb6213965 in QTimerInfoList::updateCurrentTime (this=0xa838c84) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb62139aa in QTimerInfoList::timerWait (this=0xa838c84, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6211a38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa7a120cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6211ac5 in timerSourcePrepare (source=0x0, timeout=0xb480eff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb477baca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb477bee9 in ?? () from /lib/libglib-2.0.so.0
#9  0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb621182f in QEventDispatcherGlib::processEvents (this=0xa833d08, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb61e1a99 in QEventLoop::processEvents (this=0xa7a122a0, flags=) at kernel/qeventloop.cpp:149
#12 0xb61e1f1a in QEventLoop::exec (this=0xa7a122a0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb60dec5e in QThread::exec (this=0xa833500) at thread/qthread.cpp:490
#14 0xb4e24b11 in KDevelop::CompletionWorkerThread::run (this=0xa833500) at /home/tenchi/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#15 0xb60e1f39 in QThreadPrivate::start (arg=0xa833500) at thread/qthread_unix.cpp:266
#16 0xb606696e in start_thread (arg=0xa7a12b70) at pthread_create.c:300
#17 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa7211b70 (LWP 28191)):
#0  0xb480ae16 in *__GI_clock_gettime (clock_id=-1266618380, tp=0xa7210fa0) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb613d48b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb6213965 in QTimerInfoList::updateCurrentTime (this=0xa838b7c) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb62139aa in QTimerInfoList::timerWait (this=0xa838b7c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6211a38 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa72110cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6211ac5 in timerSourcePrepare (source=0x0, timeout=0xb480eff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb477baca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb477bee9 in ?? () from /lib/libglib-2.0.so.0
#9  0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb621182f in QEventDispatcherGlib::processEvents (this=0xa831868, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb61e1a99 in QEventLoop::processEvents (this=0xa72112a0, flags=) at kernel/qeventloop.cpp:149
#12 0xb61e1f1a in QEventLoop::exec (this=0xa72112a0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb60dec5e in QThread::exec (this=0xa8368f0) at thread/qthread.cpp:490
#14 0xb4e24b11 in KDevelop::CompletionWorkerThread::run (this=0xa8368f0) at /home/tenchi/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#15 0xb60e1f39 in QThreadPrivate::start (arg=0xa8368f0) at thread/qthread_unix.cpp:266
#16 0xb606696e in start_thread (arg=0xa7211b70) at pthread_create.c:300
#17 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa620db70 (LWP 28192)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb606b342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb60e147e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0xb60e15d3 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442
#4  0xa7b88c06 in UIBlockTester::UIBlockTesterThread::run (this=0xa4c7de8) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#5  0xb60e1f39 in QThreadPrivate::start (arg=0xa4c7de8) at thread/qthread_unix.cpp:266
#6  0xb606696e in start_thread (arg=0xa620db70) at pthread_create.c:300
#7  0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa596eb70 (LWP 28264)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb5333ce6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0xb536344c in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0xb4d7ec3c in KDevelop::DUChainLock::lockForWrite (this=0xa09967c, timeout=0) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainlock.cpp:201
#4  0xb4d7ec9e in KDevelop::DUChainWriteLocker::lock (this=0xa596d968) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainlock.cpp:299
#5  0xb4d7ed50 in DUChainWriteLocker (this=0xa596d968, duChainLock=0xa09967c, timeout=0) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainlock.cpp:284
#6  0xa7aadc5f in ContextBuilder::buildContexts (this=0xa596daf4, file=..., node=0x9f650020, includes=0xa596e154, updateContext=..., removeOldImports=false)
    at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:452
#7  0xa7ac45f6 in DeclarationBuilder::buildDeclarations (this=0xa596daf4, file=..., node=0x9f650020, includes=0xa596e154, updateContext=..., removeOldImports=<value optimized out>)
    at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:91
#8  0xa7b9a6ef in CPPInternalParseJob::run (this=0xaa61ea70) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cppparsejob.cpp:639
#9  0xb70cb164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa596e23c, th=0xa9f3b00, job=0xaa61ea70) at ../../../threadweaver/Weaver/Job.cpp:106
#10 0xb70cb4c1 in ThreadWeaver::Job::execute (this=0xaa61ea70, th=0xa9f3b00) at ../../../threadweaver/Weaver/Job.cpp:135
#11 0xb70cce93 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xaa75cf78, t=0xa9f3b00) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#12 0xb70ca18a in ThreadWeaver::ThreadRunHelper::run (this=0xa596e2f4, parent=0x9f665d0, th=0xa9f3b00) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0xb70ca8db in ThreadWeaver::Thread::run (this=0xa9f3b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb60e1f39 in QThreadPrivate::start (arg=0xa9f3b00) at thread/qthread_unix.cpp:266
#15 0xb606696e in start_thread (arg=0xa596eb70) at pthread_create.c:300
#16 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa516db70 (LWP 28265)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb606b342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb60e2a8f in QWaitConditionPrivate::wait (this=0xcf0a3c0, mutex=0xcf0a3bc, time=1000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0xcf0a3c0, mutex=0xcf0a3bc, time=1000) at thread/qwaitcondition_unix.cpp:160
#4  0xa7b9d1fc in CPPParseJob::includePaths (this=0xcf0a340) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cppparsejob.cpp:242
#5  0xa7b9d307 in CPPParseJob::mergeDefines (this=0xcf0a340, env=...) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/cppparsejob.cpp:205
#6  0xa7ba2eee in PreprocessJob::run (this=0xbfa64c8) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/preprocessjob.cpp:156
#7  0xb70cb164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa516d1fc, th=0xa4a6ef0, job=0xbfa64c8) at ../../../threadweaver/Weaver/Job.cpp:106
#8  0xb70cb4c1 in ThreadWeaver::Job::execute (this=0xbfa64c8, th=0xa4a6ef0) at ../../../threadweaver/Weaver/Job.cpp:135
#9  0xb70cce93 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xb86d440, t=0xa4a6ef0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#10 0xb70cd89e in ThreadWeaver::JobCollection::execute (this=0xcf0a340, t=0xa4a6ef0) at ../../../threadweaver/Weaver/JobCollection.cpp:228
#11 0xb70ca18a in ThreadWeaver::ThreadRunHelper::run (this=0xa516d2f4, parent=0x9f665d0, th=0xa4a6ef0) at ../../../threadweaver/Weaver/Thread.cpp:95
#12 0xb70ca8db in ThreadWeaver::Thread::run (this=0xa4a6ef0) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0xb60e1f39 in QThreadPrivate::start (arg=0xa4a6ef0) at thread/qthread_unix.cpp:266
#14 0xb606696e in start_thread (arg=0xa516db70) at pthread_create.c:300
#15 0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xad2ffb70 (LWP 28447)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb606b015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb511a827 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb52191a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb511a871 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb52191a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb606696e in start_thread (arg=0xad2ffb70) at pthread_create.c:300
#5  0xb5369a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb2e9f710 (LWP 27966)):
[KCrash Handler]
#7  Kate::TextHistory::Entry::transformCursor (this=0x1, cursorLine=@0xbfeff768, cursorColumn=@0xbfeff76c, moveOnInsert=false) at ../../kate/buffer/katetexthistory.cpp:212
#8  0xabbd1ce1 in Kate::TextHistory::transformCursor (this=0xaadc90c, line=@0xbfeff768, column=@0xbfeff76c, insertBehavior=KTextEditor::MovingCursor::StayOnInsert, fromRevision=-1, toRevision=5)
    at ../../kate/buffer/katetexthistory.cpp:348
#9  0xabc277a7 in KateDocument::transformCursor (this=0xaad8368, line=@0xbfeff768, column=@0xbfeff76c, insertBehavior=KTextEditor::MovingCursor::StayOnInsert, fromRevision=-4294967295, toRevision=1)
    at ../../kate/document/katedocument.cpp:4973
#10 0xb4d041a6 in KDevelop::DocumentChangeTracker::transformBetweenRevisions (this=0xaadad58, cursor=..., fromRevision=-1, toRevision=5, behavior=KTextEditor::MovingCursor::StayOnInsert)
    at /home/tenchi/projects/kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:296
#11 0xb4d042e0 in KDevelop::DocumentChangeTracker::transformToRevision (this=0xaadad58, cursor=..., toRevision=1, behavior=KTextEditor::MovingCursor::StayOnInsert)
    at /home/tenchi/projects/kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:309
#12 0xb4d7d1cb in KDevelop::DUChainBase::transformToLocalRevision (this=0xbabbfd8, cursor=...) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainbase.cpp:184
#13 0xb4da2c33 in KDevelop::DUChainUtils::declarationInLine (_cursor=..., ctx=0xbabbfd8) at /home/tenchi/projects/kdevelop/kdevplatform/language/duchain/duchainutils.cpp:323
#14 0xa7c02df9 in AdaptDefinitionSignatureAssistant (this=0xbf6ecc8, view=0xaae0ba0, inserted=...) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/codegen/signatureassistant.cpp:67
#15 0xa7bffe91 in Cpp::StaticCodeAssistant::eventuallyStartAssistant (this=0xa84ed10, document=..., range=...) at /home/tenchi/projects/kdevelop/kdevelop/languages/cpp/codegen/codeassistant.cpp:100
#16 0xa7c00552 in Cpp::StaticCodeAssistant::qt_metacall (this=0xa84ed10, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xa415ec50)
    at /home/tenchi/projects/kdevelop/kdevelop/kdevelop/languages/cpp/codeassistant.moc:96
#17 0xb61e8d4a in QMetaObject::metacall (object=0xa84ed10, cl=4294967295, idx=12, argv=0xa415ec50) at kernel/qmetaobject.cpp:237
#18 0xb61f4226 in QMetaCallEvent::placeMetaCall (this=0xa04e3cb0, object=0xa84ed10) at kernel/qobject.cpp:534
#19 0xb61f5ac2 in QObject::event (this=0xa84ed10, e=0x0) at kernel/qobject.cpp:1219
#20 0xb56c877c in QApplicationPrivate::notify_helper (this=0x9dcf4f8, receiver=0xa84ed10, e=0xa04e3cb0) at kernel/qapplication.cpp:4396
#21 0xb56ce7ce in QApplication::notify (this=0xbff00558, receiver=0xa84ed10, e=0xa04e3cb0) at kernel/qapplication.cpp:3798
#22 0xb657da9a in KApplication::notify (this=0xbff00558, receiver=0xa84ed10, event=0xa04e3cb0) at ../../kdeui/kernel/kapplication.cpp:310
#23 0x08050a2c in KDevelopApplication::notify (this=0xbff00558, receiver=0xa84ed10, event=0xa04e3cb0) at /home/tenchi/projects/kdevelop/kdevelop/app/main.cpp:87
#24 0xb61e2feb in QCoreApplication::notifyInternal (this=0xbff00558, receiver=0xa84ed10, event=0xa04e3cb0) at kernel/qcoreapplication.cpp:732
#25 0xb61e624b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9db46d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9db46d8) at kernel/qcoreapplication.cpp:1373
#27 0xb61e640d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#28 0xb6211d04 in QCoreApplication::sendPostedEvents (s=0x9dd18f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x9dd18f0) at kernel/qeventdispatcher_glib.cpp:277
#30 0xb47785e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0xb477c2d8 in ?? () from /lib/libglib-2.0.so.0
#32 0xb477c4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0xb62117f5 in QEventDispatcherGlib::processEvents (this=0x9db4268, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#34 0xb5789de5 in QGuiEventDispatcherGlib::processEvents (this=0x9db4268, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb61e1a99 in QEventLoop::processEvents (this=0xbff003a4, flags=) at kernel/qeventloop.cpp:149
#36 0xb61e1f1a in QEventLoop::exec (this=0xbff003a4, flags=...) at kernel/qeventloop.cpp:201
#37 0xb61e64cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0xb56c75a7 in QApplication::exec () at kernel/qapplication.cpp:3672
#39 0x080506fb in main (argc=1, argv=0xbff00c44) at /home/tenchi/projects/kdevelop/kdevelop/app/main.cpp:402

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-07 17:59:51 UTC
*** Bug 250436 has been marked as a duplicate of this bug. ***
Comment 2 Milian Wolff 2010-09-07 18:01:00 UTC
afaik KDevelop master won't work reliably with KDE 4.5.1. Please wait for KDE 4.5.2, or use KDevelop 4.1 branches in the meantime. Alternatively, compile Kate from sources: http://kate-editor.org/get-it/

TODO: Add runtime check for that version.
Comment 3 Felix Tiede 2010-09-08 10:07:20 UTC
Created attachment 51418 [details]
New crash information added by DrKonqi

kdevelop (4.1.60) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3

- What I was doing when the application crashed:

Added an APIDOC comment to a header file.
Kate is 4.5.1, compiled from sources.

-- Backtrace (Reduced):
#7  0x00007f4971b1e2d1 in Kate::TextHistory::transformCursor(int&, int&, KTextEditor::MovingCursor::InsertBehavior, long long, long long) () from /usr/lib/libkatepartinterfaces.so.4
#8  0x00007f498eea73a5 in KDevelop::DocumentChangeTracker::transformBetweenRevisions (this=0x2635210, cursor=..., fromRevision=-1, toRevision=11, behavior=KTextEditor::MovingCursor::StayOnInsert)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/backgroundparser/documentchangetracker.cpp:296
#9  0x00007f498eea740d in KDevelop::DocumentChangeTracker::transformToRevision (this=0x2635210, cursor=..., toRevision=11, behavior=KTextEditor::MovingCursor::StayOnInsert)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/backgroundparser/documentchangetracker.cpp:309
#10 0x00007f498ef02814 in KDevelop::DUChainBase::transformToLocalRevision (this=0x3611ca0, cursor=...)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainbase.cpp:184
#11 0x00007f498ef1f1cc in KDevelop::DUChainUtils::declarationInLine (_cursor=..., ctx=0x3611ca0)
    at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainutils.cpp:323
Comment 4 Felix Tiede 2010-09-08 10:48:18 UTC
Additionally, git branch master from two days ago worked quite well.
Comment 5 Milian Wolff 2010-09-08 14:26:11 UTC
Felix, please read my comment above instead of adding any more useless information to this report. You are running the bleeding edge, and now have to bleed for that, sorry.
Comment 6 Milian Wolff 2010-09-09 14:14:52 UTC
*** Bug 250622 has been marked as a duplicate of this bug. ***
Comment 7 Milian Wolff 2010-09-13 10:38:58 UTC
*** Bug 250851 has been marked as a duplicate of this bug. ***
Comment 8 Milian Wolff 2010-09-17 19:44:14 UTC
*** Bug 251600 has been marked as a duplicate of this bug. ***
Comment 9 Milian Wolff 2010-09-20 13:43:24 UTC
*** Bug 251727 has been marked as a duplicate of this bug. ***
Comment 10 Milian Wolff 2010-09-25 19:32:49 UTC
*** Bug 252364 has been marked as a duplicate of this bug. ***
Comment 11 Milian Wolff 2010-09-25 23:22:58 UTC
*** Bug 251499 has been marked as a duplicate of this bug. ***
Comment 12 Milian Wolff 2010-09-28 13:40:48 UTC
kde 4.5.2 is going to be released soon and many distros backported the fix, as well as us having educated the users.

closing the bug