Application: kate (3.8.3) KDE Platform Version: 4.8.3 (4.8.3) Qt Version: 4.8.1 Operating System: Linux 3.2.0-25-generic x86_64 Distribution: Ubuntu 12.04 LTS -- Information about the crash: Sorted by priority: * It crashed when I try to input the second [ on a line like following (\t = tab) by pressing keys on my keybord: \t--[[ TODO: local CO_N_ST = 0.1 -- 1 line comment with 2 numbers * There was no closing pattern (and also no more opening patterns) for the multi line comment until the very end. * After a lua-variable declaration and another lua-function, I had a line of "------..." for a visual seperation, which might or might not be important for this bug. * Nothing was collapsed (code folding) * The following code had some "variable = array[i]" and "array[i] = value" - both contains brackets. The crash can be reproduced some of the time. -- 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 0x7f7d59120780 (LWP 2183))] Thread 5 (Thread 0x7f7d44ace700 (LWP 2201)): #0 0x00007f7d58a55b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f7d55b7cff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7d55b7d45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7d4afca2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007f7d55b9e9a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f7d56049e9a in start_thread (arg=0x7f7d44ace700) at pthread_create.c:308 #6 0x00007f7d58a614bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f7d34921700 (LWP 2221)): #0 0x00007f7d5604bf64 in __pthread_mutex_lock (mutex=0x7f7d30000a60) at pthread_mutex_lock.c:92 #1 0x00007f7d55bb8561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7d55b7c0bf in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7d55b7cec4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f7d55b7d124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f7d5693f426 in QEventDispatcherGlib::processEvents (this=0x7f7d300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f7d5690ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f7d5690eed7 in QEventLoop::exec (this=0x7f7d34920dd0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f7d5680dfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #9 0x00007f7d568ee9ff in QInotifyFileSystemWatcherEngine::run (this=0x2bed170) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f7d56810fcb in QThreadPrivate::start (arg=0x2bed170) at thread/qthread_unix.cpp:298 #11 0x00007f7d56049e9a in start_thread (arg=0x7f7d34921700) at pthread_create.c:308 #12 0x00007f7d58a614bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f7d2ffff700 (LWP 2229)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f7d35bdc222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007f7d35bdc259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007f7d56049e9a in start_thread (arg=0x7f7d2ffff700) at pthread_create.c:308 #4 0x00007f7d58a614bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f7d2e5b5700 (LWP 2239)): #0 0x00007f7d58a540bd in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f7d55bb788f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7d55b7cabd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7d55b7cf96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f7d55b7d124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f7d5693f426 in QEventDispatcherGlib::processEvents (this=0x7f7d280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f7d5690ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f7d5690eed7 in QEventLoop::exec (this=0x7f7d2e5b4dd0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f7d5680dfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #9 0x00007f7d568ee9ff in QInotifyFileSystemWatcherEngine::run (this=0x2aa2480) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f7d56810fcb in QThreadPrivate::start (arg=0x2aa2480) at thread/qthread_unix.cpp:298 #11 0x00007f7d56049e9a in start_thread (arg=0x7f7d2e5b5700) at pthread_create.c:308 #12 0x00007f7d58a614bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f7d59120780 (LWP 2183)): [KCrash Handler] #6 KateCodeFoldingNode::updateSelf (this=0x2f61c30) at ../../part/syntax/katecodefolding.cpp:371 #7 0x00007f7d362959c5 in KateCodeFoldingTree::deleteEndNode (this=<optimized out>, deletedNode=0x452b430) at ../../part/syntax/katecodefolding.cpp:631 #8 0x00007f7d362962a5 in deleteNode (deletedNode=<optimized out>, this=0x4c905d0) at ../../part/syntax/katecodefolding.h:356 #9 KateCodeFoldingTree::updateMapping (this=0x4c905d0, line=249, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at ../../part/syntax/katecodefolding.cpp:1603 #10 0x00007f7d3629644c in KateCodeFoldingTree::updateLine (this=0x4c905d0, line=249, regionChanges=..., updated=0x7fffc81af8ce, changed=<optimized out>, colsChanged=false) at ../../part/syntax/katecodefolding.cpp:1529 #11 0x00007f7d36232401 in KateBuffer::doHighlight (this=<optimized out>, startLine=223, endLine=287, invalidate=false) at ../../part/document/katebuffer.cpp:706 #12 0x00007f7d36212e0a in KateDocument::kateTextLine (this=0x370d370, i=223) at ../../part/document/katedocument.cpp:4786 #13 0x00007f7d36262588 in KateLineLayout::textLine (this=0x4b812e0, reloadForce=<optimized out>) at ../../part/render/katelinelayout.cpp:67 #14 0x00007f7d3625f279 in KateLayoutCache::line (this=0x2e2ec10, realLine=<optimized out>, virtualLine=223) at ../../part/render/katelayoutcache.cpp:298 #15 0x00007f7d3626043a in KateLayoutCache::updateViewCache (this=0x2e2ec10, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270 #16 0x00007f7d362b3e0d in KateViewInternal::tagLines (this=0x43eda70, start=..., end=..., realCursors=<optimized out>) at ../../part/view/kateviewinternal.cpp:1978 #17 0x00007f7d362b427c in KateViewInternal::tagLines (this=0x43eda70, start=220, end=<optimized out>, realLines=true) at ../../part/view/kateviewinternal.cpp:1948 #18 0x00007f7d36218902 in KateDocument::tagLines (this=<optimized out>, start=220, end=328) at ../../part/document/katedocument.cpp:3615 #19 0x00007f7d36227d66 in qt_static_metacall (_a=0x7fffc81aff30, _id=<optimized out>, _o=0x370d370, _c=<optimized out>) at ./katedocument.moc:281 #20 KateDocument::qt_static_metacall (_o=0x370d370, _c=<optimized out>, _id=<optimized out>, _a=0x7fffc81aff30) at ./katedocument.moc:205 #21 0x00007f7d56924281 in QMetaObject::activate (sender=0x4c90500, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc81aff30) at kernel/qobject.cpp:3547 #22 0x00007f7d362310ff in KateBuffer::tagLines (this=<optimized out>, _t1=220, _t2=328) at ./katebuffer.moc:112 #23 0x00007f7d36232819 in KateBuffer::doHighlight (this=<optimized out>, startLine=220, endLine=222, invalidate=true) at ../../part/document/katebuffer.cpp:736 #24 0x00007f7d36219cec in editEnd (this=0x370d370) at ../../part/document/katedocument.cpp:854 #25 KateDocument::editEnd (this=0x370d370) at ../../part/document/katedocument.cpp:835 #26 0x00007f7d3621bcd1 in KateDocument::typeChars (this=0x370d370, view=0x4304d00, chars=...) at ../../part/document/katedocument.cpp:2686 #27 0x00007f7d362ba60f in keyPressEvent (e=0x7fffc81b0d80, this=0x43eda70) at ../../part/view/kateviewinternal.cpp:2369 #28 KateViewInternal::keyPressEvent (this=0x43eda70, e=0x7fffc81b0d80) at ../../part/view/kateviewinternal.cpp:2215 #29 0x00007f7d57ebd1c8 in QWidget::event (this=0x43eda70, event=0x7fffc81b0d80) at kernel/qwidget.cpp:8397 #30 0x00007f7d57e6c894 in notify_helper (e=0x7fffc81b0d80, receiver=0x43eda70, this=0x229bc90) at kernel/qapplication.cpp:4559 #31 QApplicationPrivate::notify_helper (this=0x229bc90, receiver=0x43eda70, e=0x7fffc81b0d80) at kernel/qapplication.cpp:4531 #32 0x00007f7d57e71dd5 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffc81b0d80) at kernel/qapplication.cpp:4000 #33 0x00007f7d5711abb6 in KApplication::notify (this=0x7fffc81b1cd0, receiver=0x43eda70, event=0x7fffc81b0d80) at ../../kdeui/kernel/kapplication.cpp:311 #34 0x00007f7d5690fe9c in QCoreApplication::notifyInternal (this=0x7fffc81b1cd0, receiver=0x43eda70, event=0x7fffc81b0d80) at kernel/qcoreapplication.cpp:876 #35 0x00007f7d57f10c49 in QKeyMapper::sendKeyEvent (keyWidget=0x43eda70, grab=<optimized out>, type=QEvent::KeyPress, code=91, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=17, nativeVirtualKey=91, nativeModifiers=144) at kernel/qkeymapper_x11.cpp:1866 #36 0x00007f7d57f110bb in QKeyMapperPrivate::translateKeyEvent (this=0x22e5220, keyWidget=0x43eda70, event=0x7fffc81b1870, grab=false) at kernel/qkeymapper_x11.cpp:1836 #37 0x00007f7d57eeb637 in QApplication::x11ProcessEvent (this=0x7fffc81b1cd0, event=0x7fffc81b1870) at kernel/qapplication_x11.cpp:3625 #38 0x00007f7d57f150d2 in x11EventSourceDispatch (s=0x22917c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #39 0x00007f7d55b7cc9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007f7d55b7d060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #41 0x00007f7d55b7d124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #42 0x00007f7d5693f3bf in QEventDispatcherGlib::processEvents (this=0x2265b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #43 0x00007f7d57f14d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #44 0x00007f7d5690ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #45 0x00007f7d5690eed7 in QEventLoop::exec (this=0x7fffc81b1c10, flags=...) at kernel/qeventloop.cpp:204 #46 0x00007f7d56913f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #47 0x00007f7d58d320d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377 #48 0x00007f7d5899076d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fffc81b3208, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc81b31f8) at libc-start.c:226 #49 0x0000000000400661 in _start () Possible duplicates by query: bug 302096, bug 297371, bug 296748, bug 294756, bug 291150. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 302096 ***