Bug 328400

Summary: Kate crashes when selecting text
Product: [Applications] kate Reporter: innspg
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 3.9.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description innspg 2013-12-03 21:19:07 UTC
Application: kate (3.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-43-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
  I was selecting text and want to go faster; Instead of using the shift and pageUP/pageDN keys, I used CRTL-SHIFT and the directional key, and ooops

- Unusual behavior I noticed:
  prior to the crash, kate became very slow at saving files

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fae325fe780 (LWP 20779))]

Thread 3 (Thread 0x7fae1d4c4700 (LWP 20780)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fae201a9cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fae201a9d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fae2f538e9a in start_thread (arg=0x7fae1d4c4700) at pthread_create.c:308
#4  0x00007fae31ef73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fae1a787700 (LWP 21218)):
#0  0x00007fae31ee9ffd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fae2f0a615f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fae2f069914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fae2f069d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fae2f069ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fae2fe31c16 in QEventDispatcherGlib::processEvents (this=0x7fae0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fae2fe022bf in QEventLoop::processEvents (this=this@entry=0x7fae1a786dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fae2fe02548 in QEventLoop::exec (this=0x7fae1a786dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fae2fd03b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fae2fde29af in QInotifyFileSystemWatcherEngine::run (this=0x30573d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fae2fd06aec in QThreadPrivate::start (arg=0x30573d0) at thread/qthread_unix.cpp:338
#11 0x00007fae2f538e9a in start_thread (arg=0x7fae1a787700) at pthread_create.c:308
#12 0x00007fae31ef73fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fae325fe780 (LWP 20779)):
[KCrash Handler]
#6  0x0000419032000001 in ?? ()
#7  0x00007fae2078ecfe in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=835, view=0x2e23af0, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#8  0x00007fae2081ef99 in KateRenderer::decorationsForLine (this=this@entry=0x28bd790, textLine=..., line=835, selectionsOnly=selectionsOnly@entry=false, completionHighlight=0x2e5b878, completionHighlight@entry=0x0, completionSelected=completionSelected@entry=false) at ../../part/render/katerenderer.cpp:333
#9  0x00007fae20820229 in KateRenderer::layoutLine (this=0x28bd790, lineLayout=..., maxwidth=521, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:895
#10 0x00007fae20824900 in KateLayoutCache::line (this=this@entry=0x2e204e0, realLine=realLine@entry=835, virtualLine=virtualLine@entry=835) at ../../part/render/katelayoutcache.cpp:299
#11 0x00007fae2082593c in KateLayoutCache::updateViewCache (this=0x2e204e0, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270
#12 0x00007fae20871b56 in doUpdateView (viewLinesScrolled=0, changed=<optimized out>, this=0x2e23500) at ../../part/view/kateviewinternal.cpp:554
#13 KateViewInternal::doUpdateView (this=0x2e23500, changed=<optimized out>, viewLinesScrolled=0) at ../../part/view/kateviewinternal.cpp:534
#14 0x00007fae20871dbc in KateViewInternal::updateView (this=0x2e23500, changed=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/view/kateviewinternal.cpp:528
#15 0x00007fae20860d56 in KateView::visibleRange (this=0x2e23af0) at ../../part/view/kateview.cpp:2742
#16 0x00007fae208b947d in KateOnTheFlyChecker::textRemoved (this=0x2019fa0, document=<optimized out>, range=...) at ../../part/spellcheck/ontheflycheck.cpp:251
#17 0x00007fae208bf008 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./ontheflycheck.moc:88
#18 KateOnTheFlyChecker::qt_static_metacall (_o=0x2019fa0, _c=840681280, _id=59225328, _a=0x7fae321bc748 <main_arena+8>) at ./ontheflycheck.moc:81
#19 0x00007fae2fe18f5f in QMetaObject::activate (sender=0x20180b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff97b4be10) at kernel/qobject.cpp:3547
#20 0x00007fae2c68a147 in KTextEditor::Document::textRemoved (this=<optimized out>, _t1=0x20180b0, _t2=...) at ./document.moc:208
#21 0x00007fae207ea322 in KateDocument::editRemoveLines (this=<optimized out>, from=<optimized out>, to=905) at ../../part/document/katedocument.cpp:1387
#22 0x00007fae207eac5e in KateDocument::removeText (this=0x20180b0, _range=..., block=<optimized out>) at ../../part/document/katedocument.cpp:711
#23 0x00007fae2080c83b in KateScriptDocument::removeText (this=0x2358a20, from=..., to=...) at ../../part/script/katescriptdocument.cpp:498
#24 0x00007fae2078a817 in KateScriptDocument::qt_static_metacall (_o=0x2358a20, _id=<optimized out>, _a=0x7fff97b4c760, _c=<optimized out>) at moc_katescriptdocument.cpp:293
#25 0x00007fae2078b04b in KateScriptDocument::qt_metacall (this=0x2358a20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff97b4c760) at moc_katescriptdocument.cpp:468
#26 0x00007fae202187d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#27 0x00007fae2021a12d in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#28 0x00007fae2021a359 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#29 0x00007fae2011c1d0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#30 0x00007fae200f92c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#31 0x00007fae321e9c2f in ?? ()
#32 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 315993, bug 315745, bug 315160, bug 313759, bug 313427.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-12-03 22:13:09 UTC

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