Bug 249503 - Kate crash when hitting F5 to reload document after searching
Summary: Kate crash when hitting F5 to reload document after searching
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 253939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-30 13:55 UTC by Christoph Feck
Modified: 2010-10-31 17:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test.bz2 which reproduces the bug 100% (33.13 KB, application/octet-stream)
2010-09-01 18:09 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2010-08-30 13:55:19 UTC
Application: kate (3.5.66)
KDE Platform Version: 4.5.66 (4.6 >= 20100825) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.1-0.1-desktop i686
Distribution: "openSUSE 11.3 (i586)"

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

Kate crash when hitting F5 to reload externally modified document. Today's trunk.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb5828710 (LWP 6903))]

Thread 4 (Thread 0xafa9bb70 (LWP 6904)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5e5a0b1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb6e59737 in QProcessManager::run (this=0xb70018ac) at /local/git/Qt/qt/src/corelib/io/qprocess_unix.cpp:245
#3  0xb6d74c7e in QThreadPrivate::start (arg=0xb70018ac) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:274
#4  0xb6ceeb25 in start_thread (arg=0xafa9bb70) at pthread_create.c:297
#5  0xb5e6146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaf29ab70 (LWP 6906)):
#0  0xb5aa822b in clock_gettime (clock_id=1, tp=0xaf299f90) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb6dd67c7 in do_gettime () at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:105
#2  0xb6dd6843 in qt_gettime () at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:119
#3  0xb6eb51f3 in QTimerInfoList::updateCurrentTime (this=0x8611d4c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#4  0xb6eb5559 in QTimerInfoList::timerWait (this=0x8611d4c, tm=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:442
#5  0xb6eb2625 in timerSourcePrepareHelper (src=0x8611d18, timeout=0xaf29a10c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#6  0xb6eb2790 in timerSourcePrepare (source=0x8611d18, timeout=0xaf29a10c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:169
#7  0xb59fc0c0 in IA__g_main_context_prepare (context=0x860f588, priority=0xaf29a17c) at gmain.c:2280
#8  0xb59fcf22 in g_main_context_iterate (context=0x860f588, block=1, dispatch=1, self=0x86124b8) at gmain.c:2571
#9  0xb59fd60e in IA__g_main_context_iteration (context=0x860f588, may_block=1) at gmain.c:2654
#10 0xb6eb3154 in QEventDispatcherGlib::processEvents (this=0x82ceee8, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:417
#11 0xb6e7c90d in QEventLoop::processEvents (this=0xaf29a298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#12 0xb6e7ca51 in QEventLoop::exec (this=0xaf29a298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#13 0xb6d725e0 in QThread::exec (this=0x8600378) at /local/git/Qt/qt/src/corelib/thread/qthread.cpp:490
#14 0xb6e5e514 in QInotifyFileSystemWatcherEngine::run (this=0x8600378) at /local/git/Qt/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6d74c7e in QThreadPrivate::start (arg=0x8600378) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:274
#16 0xb6ceeb25 in start_thread (arg=0xaf29ab70) at pthread_create.c:297
#17 0xb5e6146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xae972b70 (LWP 6907)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6cf3125 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb35a0c9e in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb3710760) at /local/git/Qt/qt/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb35a03e5 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb3710760) at /local/git/Qt/qt/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb6ceeb25 in start_thread (arg=0xae972b70) at pthread_create.c:297
#5  0xb5e6146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5828710 (LWP 6903)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5db97ff in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5dbb140 in abort () at abort.c:92
#10 0xb6d6a74b in qt_message_output (msgType=QtFatalMsg, buf=0x8dec448 "ASSERT: \"m_textLine\" in file /local/svn/kde/trunk/KDE/kdelibs/kate/render/katelinelayout.cpp, line 69")
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2259
#11 0xb6d6a8b6 in qt_message (msgType=QtFatalMsg, msg=0xb6ef5674 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfda74a4 "\270\234\317\257t\234\317\257E")
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2305
#12 0xb6d6ace2 in qFatal (msg=0xb6ef5674 "ASSERT: \"%s\" in file %s, line %d") at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2488
#13 0xb6d6a2f0 in qt_assert (assertion=0xafcf9cb8 "m_textLine", file=0xafcf9c74 "/local/svn/kde/trunk/KDE/kdelibs/kate/render/katelinelayout.cpp", line=69)
    at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2004
#14 0xafbfd177 in KateLineLayout::textLine (this=0x8ba4448, reloadForce=true) at /local/svn/kde/trunk/KDE/kdelibs/kate/render/katelinelayout.cpp:69
#15 0xafbf904f in KateLayoutCache::line (this=0x87f0018, realLine=4, virtualLine=4) at /local/svn/kde/trunk/KDE/kdelibs/kate/render/katelayoutcache.cpp:290
#16 0xafbf8e32 in KateLayoutCache::updateViewCache (this=0x87f0018, startPos=..., newViewLineCount=45, viewLinesScrolled=0) at /local/svn/kde/trunk/KDE/kdelibs/kate/render/katelayoutcache.cpp:265
#17 0xafc4b935 in KateViewInternal::doUpdateView (this=0x8702270, changed=true, viewLinesScrolled=0) at /local/svn/kde/trunk/KDE/kdelibs/kate/view/kateviewinternal.cpp:539
#18 0xafc4b7d6 in KateViewInternal::updateView (this=0x8702270, changed=true, viewLinesScrolled=0) at /local/svn/kde/trunk/KDE/kdelibs/kate/view/kateviewinternal.cpp:513
#19 0xafc57992 in KateViewInternal::clear (this=0x8702270) at /local/svn/kde/trunk/KDE/kdelibs/kate/view/kateviewinternal.cpp:3154
#20 0xafc42adb in KateView::clear (this=0x8563250) at /local/svn/kde/trunk/KDE/kdelibs/kate/view/kateview.cpp:1634
#21 0xafbb61b2 in KateDocument::closeUrl (this=0x86c9fd8) at /local/svn/kde/trunk/KDE/kdelibs/kate/document/katedocument.cpp:2429
#22 0xb4e72174 in KParts::ReadOnlyPart::openUrl (this=0x86c9fd8, url=...) at /local/svn/kde/trunk/KDE/kdelibs/kparts/part.cpp:543
#23 0xafbbdd52 in KateDocument::documentReload (this=0x86c9fd8) at /local/svn/kde/trunk/KDE/kdelibs/kate/document/katedocument.cpp:3880
#24 0xafc401a0 in KateView::reloadFile (this=0x8563250) at /local/svn/kde/trunk/KDE/kdelibs/kate/view/kateview.cpp:1040
#25 0xafc35e50 in KateView::qt_metacall (this=0x8563250, _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0xbfda7ae8) at /local/build/KDE/kdelibs/kate/kateview.moc:436
#26 0xb6e86242 in QMetaObject::metacall (object=0x8563250, cl=QMetaObject::InvokeMetaMethod, idx=151, argv=0xbfda7ae8) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#27 0xb6e99171 in QMetaObject::activate (sender=0x86becb0, m=0xb6cc86f8, local_signal_index=1, argv=0xbfda7ae8) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3272
#28 0xb61fe70e in QAction::triggered (this=0x86becb0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#29 0xb61fdba3 in QAction::activate (this=0x86becb0, event=QAction::Trigger) at /local/git/Qt/qt/src/gui/kernel/qaction.cpp:1256
#30 0xb61fd922 in QAction::event (this=0x86becb0, e=0xbfda8050) at /local/git/Qt/qt/src/gui/kernel/qaction.cpp:1182
#31 0xb754aeff in KAction::event (this=0x86becb0, event=0xbfda8050) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/actions/kaction.cpp:131
#32 0xb620cf1c in QApplicationPrivate::notify_helper (this=0x80bedf8, receiver=0x86becb0, e=0xbfda8050) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4399
#33 0xb620a7c8 in QApplication::notify (this=0xbfda8ffc, receiver=0x86becb0, e=0xbfda8050) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3801
#34 0xb76330c2 in KApplication::notify (this=0xbfda8ffc, receiver=0x86becb0, event=0xbfda8050) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#35 0xb6e7ebaf in QCoreApplication::notifyInternal (this=0xbfda8ffc, receiver=0x86becb0, event=0xbfda8050) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#36 0xb61fec55 in QCoreApplication::sendEvent (receiver=0x86becb0, event=0xbfda8050) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#37 0xb624967e in QShortcutMap::dispatchEvent (this=0x80beea4, e=0xbfda859c) at /local/git/Qt/qt/src/gui/kernel/qshortcutmap.cpp:879
#38 0xb6247f3e in QShortcutMap::tryShortcutEvent (this=0x80beea4, o=0x8702270, e=0xbfda859c) at /local/git/Qt/qt/src/gui/kernel/qshortcutmap.cpp:364
#39 0xb620aa00 in QApplication::notify (this=0xbfda8ffc, receiver=0x8702270, e=0xbfda859c) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3843
#40 0xb76330c2 in KApplication::notify (this=0xbfda8ffc, receiver=0x8702270, event=0xbfda859c) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#41 0xb6e7ebaf in QCoreApplication::notifyInternal (this=0xbfda8ffc, receiver=0x8702270, event=0xbfda859c) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:732
#42 0xb620f7cf in QCoreApplication::sendSpontaneousEvent (receiver=0x8702270, event=0xbfda859c) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:218
#43 0xb620d27f in qt_sendSpontaneousEvent (receiver=0x8702270, event=0xbfda859c) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:5393
#44 0xb62d14ac in QKeyMapper::sendKeyEvent (keyWidget=0x8702270, grab=false, type=QEvent::KeyPress, code=16777268, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=71, 
    nativeVirtualKey=65474, nativeModifiers=0) at /local/git/Qt/qt/src/gui/kernel/qkeymapper_x11.cpp:1867
#45 0xb62d11d2 in QKeyMapperPrivate::translateKeyEvent (this=0x80e6948, keyWidget=0x8702270, event=0xbfda8cd0, grab=false) at /local/git/Qt/qt/src/gui/kernel/qkeymapper_x11.cpp:1837
#46 0xb629e902 in QApplication::x11ProcessEvent (this=0xbfda8ffc, event=0xbfda8cd0) at /local/git/Qt/qt/src/gui/kernel/qapplication_x11.cpp:3429
#47 0xb62d31fa in x11EventSourceDispatch (s=0x80c1bb0, callback=0, user_data=0x0) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#48 0xb59fcb49 in g_main_dispatch (context=0x80c0718) at gmain.c:1960
#49 IA__g_main_context_dispatch (context=0x80c0718) at gmain.c:2513
#50 0xb59fd350 in g_main_context_iterate (context=0x80c0718, block=1, dispatch=1, self=0x80bdf88) at gmain.c:2591
#51 0xb59fd60e in IA__g_main_context_iteration (context=0x80c0718, may_block=1) at gmain.c:2654
#52 0xb6eb3134 in QEventDispatcherGlib::processEvents (this=0x80bde30, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#53 0xb62d3550 in QGuiEventDispatcherGlib::processEvents (this=0x80bde30, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#54 0xb6e7c90d in QEventLoop::processEvents (this=0xbfda8f6c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#55 0xb6e7ca51 in QEventLoop::exec (this=0xbfda8f6c, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#56 0xb6e7f29a in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#57 0xb620a3fa in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3675
#58 0xb336dae6 in kdemain (argc=2, argv=0x80a9cb0) at /local/svn/kde/trunk/KDE/kdesdk/kate/app/katemain.cpp:377
#59 0x0804dd65 in launch (argc=2, _name=0x809cca4 "/local/kde4/bin/kate", args=0x809ccbc "\001", cwd=0x0, envc=1, envs=0x809cccd "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x809ccd1 "duo;1283163471;178177;5110_TIME132948545") at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:727
#60 0x0804edfa in handle_launcher_request (sock=8, who=0x8053278 "launcher") at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1219
#61 0x0804f53b in handle_requests (waitForPid=0) at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1412
#62 0x08050e35 in main (argc=4, argv=0xbfda9c34, envp=0xbfda9c48) at /local/svn/kde/trunk/KDE/kdelibs/kinit/kinit.cpp:1898

Possible duplicates by query: bug 215745, bug 210037, bug 200989, bug 173152.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-09-01 13:09:14 UTC
The document does not need to be modified. But when you used "Find ..." before, it crashes on hitting F5.
Comment 2 Milian Wolff 2010-09-01 16:40:53 UTC
works for me, can you please attach the file and the exact steps (what to search for, whether to close search, ...) so I could try to reproduce it?
Comment 3 Milian Wolff 2010-09-01 17:25:22 UTC
can reproduce in KDevelop though:

Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0xb2db4920 (LWP 30567))]

Thread 15 (Thread 0xb09cab70 (LWP 30568)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a61482 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb54b4114 in __pthread_cond_timedwait (cond=0x8feb8b0, mutex=0x8feb898, abstime=0xb09ca2e0) at forward.c:152
#3  0xb61c6f2f in QWaitConditionPrivate::wait (this=0x8ff6fcc, mutex=0x8ff6fd0, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x8ff6fcc, mutex=0x8ff6fd0, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb4e746ca in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8ff6fc0) at /home/milianw/projects/kde4/kdevplatform/language/duchain/duchain.cpp:282
#6  0xb61c5fae in QThreadPrivate::start (arg=0x8ff6fc0) at thread/qthread_unix.cpp:248
#7  0xb4a5c955 in start_thread (arg=0xb09cab70) at pthread_create.c:300
#8  0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0xaf6ccb70 (LWP 30569)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90a04c0, th=0x907ceb8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x908dd18, th=0x907ceb8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90a04c0, th=0x907ceb8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x908dd18, th=0x907ceb8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90a04c0, th=0x907ceb8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb7082471 in ThreadWeaver::WorkingHardState::applyForWork (this=0x908dd18, th=0x907ceb8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90a04c0, th=0x907ceb8, previous=0x90f84e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xaf6cc304, parent=0x90a04c0, th=0x907ceb8) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb7080c0b in ThreadWeaver::Thread::run (this=0x907ceb8) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb61c5fae in QThreadPrivate::start (arg=0x907ceb8) at thread/qthread_unix.cpp:248
#15 0xb4a5c955 in start_thread (arg=0xaf6ccb70) at pthread_create.c:300
#16 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xaea00b70 (LWP 30571)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90a04c0, th=0x907dcc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x908dd18, th=0x907dcc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90a04c0, th=0x907dcc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x908dd18, th=0x907dcc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90a04c0, th=0x907dcc0, previous=0xad003458) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xaea00304, parent=0x90a04c0, th=0x907dcc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb7080c0b in ThreadWeaver::Thread::run (this=0x907dcc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb61c5fae in QThreadPrivate::start (arg=0x907dcc0) at thread/qthread_unix.cpp:248
#13 0xb4a5c955 in start_thread (arg=0xaea00b70) at pthread_create.c:300
#14 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xae1ffb70 (LWP 30572)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a61482 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb54b4114 in __pthread_cond_timedwait (cond=0x90fba38, mutex=0x90fba20, abstime=0xae1ff2b0) at forward.c:152
#3  0xb61c6f2f in QWaitConditionPrivate::wait (this=0x90fb984, mutex=0x90fb980, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x90fb984, mutex=0x90fb980, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0xb61baf5b in QThreadPoolThread::run (this=0x90f0250) at concurrent/qthreadpool.cpp:140
#6  0xb61c5fae in QThreadPrivate::start (arg=0x90f0250) at thread/qthread_unix.cpp:248
#7  0xb4a5c955 in start_thread (arg=0xae1ffb70) at pthread_create.c:300
#8  0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xacfffb70 (LWP 30575)):
#0  0xb4a14e16 in *__GI_clock_gettime (clock_id=-1264480268, tp=0xacffefc8) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb62eb1cb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0xb62f0425 in QTimerInfoList::updateCurrentTime (this=0x910c5f4) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb62f046a in QTimerInfoList::timerWait (this=0x910c5f4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb62ee2d8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xacfff0dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb62ee365 in timerSourcePrepare (source=0x0, timeout=0xb4a18ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb49857ca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb4985be9 in ?? () from /lib/libglib-2.0.so.0
#8  0xb49861b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb62ee0cf in QEventDispatcherGlib::processEvents (this=0x90f5a48, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb62c0b49 in QEventLoop::processEvents (this=0xacfff2a0, flags=) at kernel/qeventloop.cpp:149
#11 0xb62c0f9a in QEventLoop::exec (this=0xacfff2a0, flags=...) at kernel/qeventloop.cpp:201
#12 0xb61c3619 in QThread::exec (this=0x90fd510) at thread/qthread.cpp:487
#13 0xb62a098b in QInotifyFileSystemWatcherEngine::run (this=0x90fd510) at io/qfilesystemwatcher_inotify.cpp:248
#14 0xb61c5fae in QThreadPrivate::start (arg=0x90fd510) at thread/qthread_unix.cpp:248
#15 0xb4a5c955 in start_thread (arg=0xacfffb70) at pthread_create.c:300
#16 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xac7feb70 (LWP 30576)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x90a7540, mutex=0x90a7528) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90a04d8, mutex=0x8ddc570, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90a04c0, th=0xad00ef30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x908dd18, th=0xad00ef30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90a04c0, th=0xad00ef30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x908dd18, th=0xad00ef30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90a04c0, th=0xad00ef30, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xac7fe304, parent=0x90a04c0, th=0xad00ef30) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb7080c0b in ThreadWeaver::Thread::run (this=0xad00ef30) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb61c5fae in QThreadPrivate::start (arg=0xad00ef30) at thread/qthread_unix.cpp:248
#13 0xb4a5c955 in start_thread (arg=0xac7feb70) at pthread_create.c:300
#14 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 9 (Thread 0xabffdb70 (LWP 30577)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a61482 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb54b4114 in __pthread_cond_timedwait (cond=0x90fba38, mutex=0x90fba20, abstime=0xabffd2b0) at forward.c:152
#3  0xb61c6f2f in QWaitConditionPrivate::wait (this=0x90fb984, mutex=0x90fb980, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x90fb984, mutex=0x90fb980, time=30000) at thread/qwaitcondition_unix.cpp:159
#5  0xb61baf5b in QThreadPoolThread::run (this=0x910a500) at concurrent/qthreadpool.cpp:140
#6  0xb61c5fae in QThreadPrivate::start (arg=0x910a500) at thread/qthread_unix.cpp:248
#7  0xb4a5c955 in start_thread (arg=0xabffdb70) at pthread_create.c:300
#8  0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xaaa10b70 (LWP 30645)):
#0  0xb54b4295 in pthread_mutex_unlock (mutex=0xad01837c) at forward.c:184
#1  0xb49857b8 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0xb4985be9 in ?? () from /lib/libglib-2.0.so.0
#3  0xb49861b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb62ee0cf in QEventDispatcherGlib::processEvents (this=0x8dc9b28, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0xb62c0b49 in QEventLoop::processEvents (this=0xaaa102c0, flags=) at kernel/qeventloop.cpp:149
#6  0xb62c0f9a in QEventLoop::exec (this=0xaaa102c0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb61c3619 in QThread::exec (this=0x97a1da0) at thread/qthread.cpp:487
#8  0xb4f8a6b7 in KDevelop::CompletionWorkerThread::run (this=0x97a1da0) at /home/milianw/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#9  0xb61c5fae in QThreadPrivate::start (arg=0x97a1da0) at thread/qthread_unix.cpp:248
#10 0xb4a5c955 in start_thread (arg=0xaaa10b70) at pthread_create.c:300
#11 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xab211b70 (LWP 30646)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb5499916 in *__GI___poll (fds=0xb551dff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb499306b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4985dac in ?? () from /lib/libglib-2.0.so.0
#4  0xb49861b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb62ee0cf in QEventDispatcherGlib::processEvents (this=0x930f8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb62c0b49 in QEventLoop::processEvents (this=0xab2112c0, flags=) at kernel/qeventloop.cpp:149
#7  0xb62c0f9a in QEventLoop::exec (this=0xab2112c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb61c3619 in QThread::exec (this=0x9798168) at thread/qthread.cpp:487
#9  0xb4f8a6b7 in KDevelop::CompletionWorkerThread::run (this=0x9798168) at /home/milianw/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:80
#10 0xb61c5fae in QThreadPrivate::start (arg=0x9798168) at thread/qthread_unix.cpp:248
#11 0xb4a5c955 in start_thread (arg=0xab211b70) at pthread_create.c:300
#12 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa7e55b70 (LWP 30657)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a61482 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb54b4114 in __pthread_cond_timedwait (cond=0xa7e55248, mutex=0xa7e55278, abstime=0xa7e552c0) at forward.c:152
#3  0xb61c58b1 in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#4  0xb61c59f3 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424
#5  0xa8edc2ea in UIBlockTester::UIBlockTesterThread::run (this=0xb0007a40) at /home/milianw/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#6  0xb61c5fae in QThreadPrivate::start (arg=0xb0007a40) at thread/qthread_unix.cpp:248
#7  0xb4a5c955 in start_thread (arg=0xa7e55b70) at pthread_create.c:300
#8  0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa60acb70 (LWP 30672)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0xb53743ac, mutex=0xb5374394) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0xb53743ac, mutex=0xb5374394) at forward.c:139
#3  0xb5296597 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb536f2c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0xb52965e1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb536f2c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0xb4a5c955 in start_thread (arg=0xa60acb70) at pthread_create.c:300
#6  0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa4bffb70 (LWP 30693)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ecaad8, th=0x9729e48) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8ecdc60, th=0x9729e48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ecaad8, th=0x9729e48) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ecdc60, th=0x9729e48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ecaad8, th=0x9729e48, previous=0xa3209908) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xa4bff304, parent=0x8ecaad8, th=0x9729e48) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb7080c0b in ThreadWeaver::Thread::run (this=0x9729e48) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb61c5fae in QThreadPrivate::start (arg=0x9729e48) at thread/qthread_unix.cpp:248
#13 0xb4a5c955 in start_thread (arg=0xa4bffb70) at pthread_create.c:300
#14 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa43feb70 (LWP 30694)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ecaad8, th=0x9729300) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8ecdc60, th=0x9729300) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ecaad8, th=0x9729300) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ecdc60, th=0x9729300) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ecaad8, th=0x9729300, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb7082471 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ecdc60, th=0x9729300) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ecaad8, th=0x9729300, previous=0xa32e9fe8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xa43fe304, parent=0x8ecaad8, th=0x9729300) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb7080c0b in ThreadWeaver::Thread::run (this=0x9729300) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb61c5fae in QThreadPrivate::start (arg=0x9729300) at thread/qthread_unix.cpp:248
#15 0xb4a5c955 in start_thread (arg=0xa43feb70) at pthread_create.c:300
#16 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa3bfdb70 (LWP 30695)):
#0  0xb778f424 in __kernel_vsyscall ()
#1  0xb4a60f7f in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at pthread_cond_wait.c:153
#2  0xb54b40bd in __pthread_cond_wait (cond=0x8ecda40, mutex=0x8ecda28) at forward.c:139
#3  0xb61c6fa7 in QWaitConditionPrivate::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8ecaaf0, mutex=0x8ecdbc8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb707f840 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8ecaad8, th=0xad012aa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb708235c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8ecdc60, th=0xad012aa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb707e24b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8ecaad8, th=0xad012aa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb7082452 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ecdc60, th=0xad012aa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb707f4a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8ecaad8, th=0xad012aa0, previous=0xa32eb0d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70804ee in ThreadWeaver::ThreadRunHelper::run (this=0xa3bfd304, parent=0x8ecaad8, th=0xad012aa0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb7080c0b in ThreadWeaver::Thread::run (this=0xad012aa0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb61c5fae in QThreadPrivate::start (arg=0xad012aa0) at thread/qthread_unix.cpp:248
#13 0xb4a5c955 in start_thread (arg=0xa3bfdb70) at pthread_create.c:300
#14 0xb54a710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb2db4920 (LWP 30567)):
[KCrash Handler]
#6  0xb778f424 in __kernel_vsyscall ()
#7  0xb5405751 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5408b82 in *__GI_abort () at abort.c:92
#9  0xb61bcfa4 in qt_message_output (msgType=QtFatalMsg, buf=0x957f100 "ASSERT: \"m_textLine\" in file /home/milianw/projects/kde4/kate/part/render/katelinelayout.cpp, line 69")
    at global/qglobal.cpp:2266
#10 0xb61bd15a in qt_message (msgType=<value optimized out>, msg=0xb632affc "ASSERT: \"%s\" in file %s, line %d", ap=0xbf849674 "\030\222,\246\324\221,\246E") at global/qglobal.cpp:2312
#11 0xb61bd269 in qFatal (msg=0xb632affc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2495
#12 0xb61bd2f5 in qt_assert (assertion=0xa62c9218 "m_textLine", file=0xa62c91d4 "/home/milianw/projects/kde4/kate/part/render/katelinelayout.cpp", line=69) at global/qglobal.cpp:2011
#13 0xa61bc92f in KateLineLayout::textLine (this=0xaa0c42f8, reloadForce=true) at /home/milianw/projects/kde4/kate/part/render/katelinelayout.cpp:69
#14 0xa61b8611 in KateLayoutCache::line (this=0x9b23f58, realLine=1, virtualLine=1) at /home/milianw/projects/kde4/kate/part/render/katelayoutcache.cpp:290
#15 0xa61b83f4 in KateLayoutCache::updateViewCache (this=0x9b23f58, startPos=..., newViewLineCount=65, viewLinesScrolled=0) at /home/milianw/projects/kde4/kate/part/render/katelayoutcache.cpp:265
#16 0xa6215f72 in KateViewInternal::tagLines (this=0x9b29b80, start=..., end=..., realCursors=true) at /home/milianw/projects/kde4/kate/part/view/kateviewinternal.cpp:1948
#17 0xa6215d3e in KateViewInternal::tagLines (this=0x9b29b80, start=1, end=1, realLines=true) at /home/milianw/projects/kde4/kate/part/view/kateviewinternal.cpp:1918
#18 0xa6205111 in KateView::tagLines (this=0xa9f83d40, start=1, end=1, realLines=true) at /home/milianw/projects/kde4/kate/part/view/kateview.cpp:1619
#19 0xa617a6b3 in KateDocument::tagLines (this=0xa63bcba8, start=1, end=1) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:3570
#20 0xa61714b6 in KateDocument::clearMarks (this=0xa63bcba8) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:1821
#21 0xa61747af in KateDocument::closeUrl (this=0xa63bcba8) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:2412
#22 0xb70f2b86 in KParts::ReadOnlyPart::openUrl (this=0xa63bcba8, url=...) at ../../kparts/part.cpp:537
#23 0xa617c3e6 in KateDocument::documentReload (this=0xa63bcba8) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:3880
#24 0xa62028b4 in KateView::reloadFile (this=0xa9f83d40) at /home/milianw/projects/kde4/kate/part/view/kateview.cpp:1040
#25 0xa61f7118 in KateView::qt_metacall (this=0xa9f83d40, _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0xbf849dd8) at /home/milianw/projects/.build/kde4/kate/part/kateview.moc:436
#26 0xb62c780a in QMetaObject::metacall (object=0xa9f83d40, cl=30567, idx=151, argv=0xbf849dd8) at kernel/qmetaobject.cpp:237
#27 0xb62d61db in QMetaObject::activate (sender=0xab5cf090, m=0xb6132a38, local_signal_index=1, argv=0xbf849dd8) at kernel/qobject.cpp:3295
#28 0xb5804cc9 in QAction::triggered (this=0xab5cf090, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#29 0xb5806ebc in QAction::activate (this=0xab5cf090, event=QAction::Trigger) at kernel/qaction.cpp:1255
#30 0xb5808788 in QAction::event (this=0x6, e=0x0) at kernel/qaction.cpp:1181
#31 0xb65479e3 in KAction::event (this=0xab5cf090, event=0xbf84a328) at ../../kdeui/actions/kaction.cpp:129
#32 0xb580b5cc in QApplicationPrivate::notify_helper (this=0x8c11710, receiver=0xab5cf090, e=0xbf84a328) at kernel/qapplication.cpp:4302
#33 0xb581215e in QApplication::notify (this=0xbf84b308, receiver=0xab5cf090, e=0xbf84a328) at kernel/qapplication.cpp:3706
#34 0xb6632b4a in KApplication::notify (this=0xbf84b308, receiver=0xab5cf090, event=0xbf84a328) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x0804b5bf in KDevelopApplication::notify (this=0xbf84b308, receiver=0xab5cf090, event=0xbf84a328) at /home/milianw/projects/kde4/kdevelop/app/main.cpp:87
#36 0xb62c252b in QCoreApplication::notifyInternal (this=0xbf84b308, receiver=0xab5cf090, event=0xbf84a328) at kernel/qcoreapplication.cpp:726
#37 0xb584d39d in QCoreApplication::sendEvent (this=0x8c117bc, e=0xbf84a7d4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QShortcutMap::dispatchEvent (this=0x8c117bc, e=0xbf84a7d4) at kernel/qshortcutmap.cpp:879
#39 0xb584f18e in QShortcutMap::tryShortcutEvent (this=0x8c117bc, o=0x9b29b80, e=0xbf84a7d4) at kernel/qshortcutmap.cpp:364
#40 0xb5813f43 in QApplication::notify (this=0xbf84b308, receiver=0x9b29b80, e=0xbf84a7d4) at kernel/qapplication.cpp:3748
#41 0xb6632b4a in KApplication::notify (this=0xbf84b308, receiver=0x9b29b80, event=0xbf84a7d4) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x0804b5bf in KDevelopApplication::notify (this=0xbf84b308, receiver=0x9b29b80, event=0xbf84a7d4) at /home/milianw/projects/kde4/kdevelop/app/main.cpp:87
#43 0xb62c252b in QCoreApplication::notifyInternal (this=0xbf84b308, receiver=0x9b29b80, event=0xbf84a7d4) at kernel/qcoreapplication.cpp:726
#44 0xb580c3ae in QCoreApplication::sendSpontaneousEvent (receiver=0x9b29b80, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 qt_sendSpontaneousEvent (receiver=0x9b29b80, event=0x6) at kernel/qapplication.cpp:5281
#46 0xb58c4c70 in QKeyMapper::sendKeyEvent (keyWidget=0x9b29b80, grab=false, type=QEvent::KeyPress, code=16777268, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=71, nativeVirtualKey=65474, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1875
#47 0xb58c7150 in QKeyMapperPrivate::translateKeyEvent (this=0x8c36e30, keyWidget=0x9b29b80, event=0xbf84ae70, grab=<value optimized out>) at kernel/qkeymapper_x11.cpp:1845
#48 0xb589b507 in QApplication::x11ProcessEvent (this=0xbf84b308, event=0xbf84ae70) at kernel/qapplication_x11.cpp:3406
#49 0xb58ca3e2 in x11EventSourceDispatch (s=0x8c14940, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0xb49822f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0xb4985fd8 in ?? () from /lib/libglib-2.0.so.0
#52 0xb49861b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0xb62ee095 in QEventDispatcherGlib::processEvents (this=0x8c116f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#54 0xb58c9f45 in QGuiEventDispatcherGlib::processEvents (this=0x8c116f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0xb62c0b49 in QEventLoop::processEvents (this=0xbf84b164, flags=) at kernel/qeventloop.cpp:149
#56 0xb62c0f9a in QEventLoop::exec (this=0xbf84b164, flags=...) at kernel/qeventloop.cpp:201
#57 0xb62c61cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#58 0xb580b667 in QApplication::exec () at kernel/qapplication.cpp:3581
#59 0x08050fdc in main (argc=3, argv=0xbf84baa4) at /home/milianw/projects/kde4/kdevelop/app/main.cpp:402
Comment 4 Milian Wolff 2010-09-01 17:48:41 UTC
part of bt full:
#6  0xb6a102f5 in qt_assert (assertion=0xa7159218 "m_textLine", file=0xa71591d4 "/home/milianw/projects/kde4/kate/part/render/katelinelayout.cpp", line=69)
    at global/qglobal.cpp:2011
No locals.
#7  0xa704c92f in KateLineLayout::textLine (this=0x93040c0, reloadForce=true) at /home/milianw/projects/kde4/kate/part/render/katelinelayout.cpp:69
No locals.
#8  0xa7048611 in KateLayoutCache::line (this=0x8d14220, realLine=1, virtualLine=1) at /home/milianw/projects/kde4/kate/part/render/katelayoutcache.cpp:290
        l = {d = 0x93040c0}
        l = {d = 0xa718bab0}
#9  0xa70483f4 in KateLayoutCache::updateViewCache (this=0x8d14220, startPos=[0, 0], newViewLineCount=65, viewLinesScrolled=0)
    at /home/milianw/projects/kde4/kate/part/render/katelayoutcache.cpp:265
---Type <return> to continue, or q <return> to quit---
        virtualLine = 1
        i = 0
        oldViewLineCount = 65
        realLine = 1
        _viewLine = 0
        l = {d = 0x900ed20}
#10 0xa70a5f72 in KateViewInternal::tagLines (this=0x8d26210, start=[1, 0], end=[1, -1], realCursors=true)
    at /home/milianw/projects/kde4/kate/part/view/kateviewinternal.cpp:1948
        ret = 182
#11 0xa70a5d3e in KateViewInternal::tagLines (this=0x8d26210, start=1, end=1, realLines=true)
    at /home/milianw/projects/kde4/kate/part/view/kateviewinternal.cpp:1918
No locals.
#12 0xa7095111 in KateView::tagLines (this=0x8d41a68, start=1, end=1, realLines=true) at /home/milianw/projects/kde4/kate/part/view/kateview.cpp:1619
No locals.
#13 0xa700a6b3 in KateDocument::tagLines (this=0xab7af790, start=1, end=1) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:3570
        view = 0x8d41a68
        _container_ = {c = {{d = 0x8d8efb8, e = 0x8d8efb8}}, brk = 0, i = {i = 0x8d8e5f0}, e = {i = 0x8d8efb8}}
#14 0xa70014b6 in KateDocument::clearMarks (this=0xab7af790) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:1821
        it = {i = 0x8f0fc78}
        mark = {line = 1, type = 64}
#15 0xa70047af in KateDocument::closeUrl (this=0xab7af790) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:2412
No locals.
#16 0xb7945b86 in KParts::ReadOnlyPart::openUrl (this=0xab7af790, url=...) at ../../kparts/part.cpp:537
        args = {d = {d = 0x8cf9790}}
#17 0xa700c3e6 in KateDocument::documentReload (this=0xab7af790) at /home/milianw/projects/kde4/kate/part/document/katedocument.cpp:3880
        tmp = QList<KateDocumentTmpMark> = {
          [0] = {line = "#include <QObject>", mark = {line = 1, type = 64}}
        }
        byUser = false
        oldMode = "C++"
        hl_mode = "C++"
        oldActiveView = 0x8d41a68
        cursorPositions = {{d = 0xa137c28, p = 0xa137c28}}
---Type <return> to continue, or q <return> to quit---
        it = {i = 0x8ba84c8}
#18 0xa70928b4 in KateView::reloadFile (this=0x8d41a68) at /home/milianw/projects/kde4/kate/part/view/kateview.cpp:1040
No locals.
#19 0xa7087118 in KateView::qt_metacall (this=0x8d41a68, _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0xbfffceb8)
    at /home/milianw/projects/.build/kde4/kate/part/kateview.moc:436
No locals.

~~~~~~~~~

also note:
(gdb) print m_doc->m_buffer->count()
$9 = 1

and in KateLayoutCache::updateViewCache:
(gdb) print l->d->viewLineCount()
$15 = 1
Comment 5 Christoph Cullmann 2010-09-01 17:52:32 UTC
Hmm, does that happen with the 4.5 branch katepart, too? Else I might have broken that some days ago, which might be bad, but not as bad as if KDE 4.5 has this issue :(
Can*t reproduce that here atm, therefor any hint would be approciated.
Comment 6 Milian Wolff 2010-09-01 17:53:20 UTC
ok, sorry to have hijacked this thread, but it is clearMarks in closeUrl being called after the buffer was cleared for me.

so, setting to waiting for info again with the same question as above.

will fix kate for my crash for now.
Comment 7 Christoph Cullmann 2010-09-01 17:55:42 UTC
Hmm, I think that may be a result of my removing of edit history, perhaps the view layout cache is now cleared to late or so, will take a look :(
Still hope that it might be a regression of the changes of this or last week. Then no normal user would have this problem at least.
Comment 8 Christoph Feck 2010-09-01 18:09:39 UTC
Created attachment 51183 [details]
test.bz2 which reproduces the bug 100%

Steps to reproduce (with a clean kwriterc):

* kwrite test.bz2
* Ctrl+F "pim" Esc
* F5
Comment 9 Christoph Feck 2010-09-01 18:11:15 UTC
I am running trunk r1170577 and the regression is since the commits r1169214 or after. I guess this means they are not in 4.5 :)
Comment 10 Christoph Cullmann 2010-09-01 19:28:10 UTC
Guess Milian's fix is the right one, that worked just by accident before I guess.
Comment 11 Milian Wolff 2010-09-01 19:59:02 UTC
does my patch also fix Christoph's behavior? He doesn't have clearMarks in his bt after all. I first thought it would be the same crash but I doubt it now.

Maybe it's also required to clear() the view + selection before the buffer?
Comment 12 Christoph Feck 2010-09-22 22:33:41 UTC
May I ask what additional information you need to proceed? I am experiencing this crash nearly daily, and I can easily reproduce using the steps in comment #8.
Comment 13 Christoph Feck 2010-10-23 17:32:10 UTC
It still is not clear what additional information I need to provide. Reopening so it does not get lost.
Comment 14 Milian Wolff 2010-10-31 13:38:40 UTC
*** Bug 253939 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Cullmann 2010-10-31 16:59:50 UTC
SVN commit 1191604 by cullmann:

mwolff:
    fix: never try to call line() for a non-existing document line, which would assert
    
BUG: 249503
    
add test, please review and make sure this is the correct fix


 M  +4 -0      render/katelayoutcache.cpp  
 M  +11 -0     tests/CMakeLists.txt  
 A             tests/kateview_test.cpp   [License: LGPL (v2+)]
 A             tests/kateview_test.h   [License: LGPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1191604
Comment 16 Christoph Feck 2010-10-31 17:10:55 UTC
Thanks Christoph, cannot reproduce the crash anymore after your changes.
Comment 17 Christoph Cullmann 2010-10-31 17:17:28 UTC
I would say: thanks Milian :P I just merged that ;)