Application: kate (3.6.2) KDE Platform Version: 4.6.2 (4.6.2) Qt Version: 4.7.0 Operating System: Linux 2.6.35-28-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: I was editing a remote php-file (which I do all day long). Kate crashed just when I was inserting a newline in front of a } -- Backtrace: Application: Kate (kate), signal: Segmentation fault [Current thread is 1 (Thread 0x7fd0b077a760 (LWP 3796))] Thread 4 (Thread 0x7fd09b727700 (LWP 3797)): #0 0x00007fd0ad1e6a90 in g_main_context_prepare () from /lib/libglib-2.0.so.0 #1 0x00007fd0ad1e6e78 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd0ad1e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd0adf8b1e6 in QEventDispatcherGlib::processEvents (this=0x2d3b340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #4 0x00007fd0adf5da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd0adf5ddec in QEventLoop::exec (this=0x7fd09b726db0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd0ade682fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007fd0adf3d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x2d388a0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fd0ade6b27e in QThreadPrivate::start (arg=0x2d388a0) at thread/qthread_unix.cpp:266 #9 0x00007fd0ad6a5971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007fd0b00f092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fd09adda700 (LWP 3798)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd09e448334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd09e753160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007fd09e448369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd09e761234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007fd0ad6a5971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #4 0x00007fd0b00f092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fd093fff700 (LWP 3802)): #0 0x00007fd0b00e4203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd0ad1e7009 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd0ad1e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd0adf8b1e6 in QEventDispatcherGlib::processEvents (this=0x2c60700, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #4 0x00007fd0adf5da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd0adf5ddec in QEventLoop::exec (this=0x7fd093ffedb0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd0ade682fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007fd0adf3d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x2ab1e00) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fd0ade6b27e in QThreadPrivate::start (arg=0x2ab1e00) at thread/qthread_unix.cpp:266 #9 0x00007fd0ad6a5971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007fd0b00f092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd0b077a760 (LWP 3796)): [KCrash Handler] #6 0x00007fd09ea25f15 in Kate::TextBuffer::rangesForLine (this=<value optimized out>, line=130, view=0x257f500, rangesWithAttributeOnly=true) at ../../kate/buffer/katetextbuffer.cpp:752 #7 0x00007fd09eacd473 in KateRenderer::decorationsForLine (this=0x310b870, textLine=<value optimized out>, line=<value optimized out>, selectionsOnly=<value optimized out>, completionHighlight=0x0, completionSelected=false) at ../../kate/render/katerenderer.cpp:342 #8 0x00007fd09eacee45 in KateRenderer::layoutLine (this=0x310b870, lineLayout=<value optimized out>, maxwidth=1361, cacheLayout=<value optimized out>) at ../../kate/render/katerenderer.cpp:929 #9 0x00007fd09ead3b24 in KateLayoutCache::line (this=0x30080e0, realLine=<value optimized out>, virtualLine=130) at ../../kate/render/katelayoutcache.cpp:295 #10 0x00007fd09ead4b77 in KateLayoutCache::updateViewCache (this=0x30080e0, startPos=<value optimized out>, newViewLineCount=52, viewLinesScrolled=<value optimized out>) at ../../kate/render/katelayoutcache.cpp:266 #11 0x00007fd09eb2e823 in KateViewInternal::tagLines (this=0x25dfca0, start=) at ../../kate/view/kateviewinternal.cpp:1956 #12 0x00007fd09eb2ec99 in KateViewInternal::tagLines (this=0x25dfca0, start=127, end=<value optimized out>, realLines=false) at ../../kate/view/kateviewinternal.cpp:1926 #13 0x00007fd09ea84839 in KateDocument::tagLines (this=<value optimized out>, start=127, end=131) at ../../kate/document/katedocument.cpp:3574 #14 0x00007fd09eaa4edd in KateDocument::qt_metacall (this=0x2625600, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff26cc34d0) at ./katedocument.moc:350 #15 0x00007fd0adf76b27 in QMetaObject::activate (sender=0x1a04e90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280 #16 0x00007fd09eaaa7af in KateBuffer::tagLines (this=0x2972440, _t1=127, _t2=131) at ./katebuffer.moc:98 #17 0x00007fd09eaaceb4 in KateBuffer::doHighlight (this=0x1a04e90, startLine=<value optimized out>, endLine=<value optimized out>, invalidate=<value optimized out>) at ../../kate/document/katebuffer.cpp:708 #18 0x00007fd09eaad56f in KateBuffer::editEnd (this=0x1a04e90) at ../../kate/document/katebuffer.cpp:122 #19 0x00007fd09ea91424 in KateDocument::editEnd (this=0x2625600) at ../../kate/document/katedocument.cpp:850 #20 0x00007fd09ea98d74 in KateDocument::newLine (this=0x2625600, v=0x257f500) at ../../kate/document/katedocument.cpp:2690 #21 0x00007fd09eb2bd84 in KateViewInternal::doReturn (this=0x25dfca0) at ../../kate/view/kateviewinternal.cpp:761 #22 0x00007fd09eb2c516 in KateViewInternal::keyPressEvent (this=0x25dfca0, e=0x7fff26cc4020) at ../../kate/view/kateviewinternal.cpp:2279 #23 0x00007fd09eb2b710 in KateViewInternal::eventFilter (this=0x25dfca0, obj=0x25dfca0, e=0x7fff26cc4020) at ../../kate/view/kateviewinternal.cpp:2145 #24 0x00007fd0adf5e507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x25dfca0, event=0x7fff26cc4020) at kernel/qcoreapplication.cpp:847 #25 0x00007fd0af4d9fac in QApplicationPrivate::notify_helper (this=0x1869b00, receiver=0x25dfca0, e=0x7fff26cc4020) at kernel/qapplication.cpp:4392 #26 0x00007fd0af4e1346 in QApplication::notify (this=<value optimized out>, receiver=0x25dfca0, e=0x7fff26cc4020) at kernel/qapplication.cpp:3857 #27 0x00007fd0ae76d2f6 in KApplication::notify (this=0x7fff26cc5060, receiver=0x25dfca0, event=0x7fff26cc4020) at ../../kdeui/kernel/kapplication.cpp:311 #28 0x00007fd0adf5ecdc in QCoreApplication::notifyInternal (this=0x7fff26cc5060, receiver=0x25dfca0, event=0x7fff26cc4020) at kernel/qcoreapplication.cpp:732 #29 0x00007fd0af5874ba in QKeyMapper::sendKeyEvent (keyWidget=0x25dfca0, grab=<value optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1867 #30 0x00007fd0af589ac0 in QKeyMapperPrivate::translateKeyEvent (this=0x18b4540, keyWidget=0x25dfca0, event=<value optimized out>, grab=8) at kernel/qkeymapper_x11.cpp:1837 #31 0x00007fd0af560cb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff26cc4bf0) at kernel/qapplication_x11.cpp:3429 #32 0x00007fd0af58d0e2 in x11EventSourceDispatch (s=0x186d0e0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #33 0x00007fd0ad1e3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #34 0x00007fd0ad1e72a8 in ?? () from /lib/libglib-2.0.so.0 #35 0x00007fd0ad1e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #36 0x00007fd0adf8b193 in QEventDispatcherGlib::processEvents (this=0x183be60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #37 0x00007fd0af58ca4e in QGuiEventDispatcherGlib::processEvents (this=0x2972440, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #38 0x00007fd0adf5da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #39 0x00007fd0adf5ddec in QEventLoop::exec (this=0x7fff26cc4f20, flags=) at kernel/qeventloop.cpp:201 #40 0x00007fd0adf61ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #41 0x00007fd0b0392d26 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so #42 0x00007fd0b0028d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff26cc65f8) at libc-start.c:226 #43 0x0000000000400659 in _start () Possible duplicates by query: bug 267122, bug 265426. Reported using DrKonqi
Hmm - just reproduced the crash twice when wanting to do the same correction.
> Hmm - just reproduced the crash twice when wanting to do the same correction. Could you attach the file in question, and tell us, where to insert the new-line? That would probably be very helpful.
unfortunately the file has been changed quite a few times since and I've not experienced the crash since. Even if I still had it it is a quite large file with a lot of in-house code that I might have problems with releasing. However I will see if I can reproduce in other ways and give an example file.
It's a known problem, but no solution was provided, yet. Reproducibility would be awesome... *** This bug has been marked as a duplicate of bug 265426 ***