Application that crashed: kate Version of the application: 3.3.0 KDE Version: 4.3.00 (KDE 4.3.0) Qt Version: 4.5.2 Operating System: Linux 2.6.28-13-generic x86_64 Distribution: Ubuntu 9.04 What I was doing when the application crashed: I was coding in C when i needed to enter "\n", which on my german keyboard is lolcated at <Alt Gr> + 0. My finger slipped and i typed <select> + 9. Kate crashed. By <select> i mean the button that is on some keyboards adjacent to <Ctrl> and <Alt Gr> and opens the context menu on most occaions. -- Backtrace: Application: Kate (kdeinit4), signal: Segmentation fault [KCrash Handler] #5 KateLineLayout::viewLineCount (this=0x0) at /build/buildd/kde4libs-4.3.0/kate/render/katelinelayout.cpp:173 #6 0x00007fd858083497 in KateLayoutCache::viewLine (this=0x14bdac0, realCursor=@0x7fff6ffc1270) at /build/buildd/kde4libs-4.3.0/kate/render/katelayoutcache.cpp:392 #7 0x00007fd858083a61 in KateLayoutCache::textLayout (this=0x14bdac0, realCursor=@0x7fff6ffc1270) at /build/buildd/kde4libs-4.3.0/kate/render/katelayoutcache.cpp:334 #8 0x00007fd8580d7162 in KateViewInternal::makeVisible (this=0x14c0820, c=@0x14c08a8, endCol=0, force=false, center=<value optimized out>, calledExternally=false) at /build/buildd/kde4libs-4.3.0/kate/view/kateviewinternal.cpp:685 #9 0x00007fd8580dc8a1 in KateViewInternal::contextMenuEvent (this=0x14c0820, e=0x7fff6ffc1a00) at /build/buildd/kde4libs-4.3.0/kate/view/kateviewinternal.cpp:2508 #10 0x00007fd8650cd594 in QWidget::event (this=0x14c0820, event=0x7fff6ffc1a00) at kernel/qwidget.cpp:7708 #11 0x00007fd86507bf4d in QApplicationPrivate::notify_helper (this=0xe383d0, receiver=0x14c0820, e=0x7fff6ffc1a00) at kernel/qapplication.cpp:4056 #12 0x00007fd86508462a in QApplication::notify (this=<value optimized out>, receiver=0x14c0820, e=0x7fff6ffc1a00) at kernel/qapplication.cpp:3845 #13 0x00007fd86618e71b in KApplication::notify (this=0x7fff6ffc3c40, receiver=0x14c0820, event=0x7fff6ffc1a00) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302 #14 0x00007fd867ab06ac in QCoreApplication::notifyInternal (this=0x7fff6ffc3c40, receiver=0x14c0820, event=0x7fff6ffc1a00) at kernel/qcoreapplication.cpp:610 #15 0x00007fd8651117f8 in QKeyMapper::sendKeyEvent (keyWidget=0x14c0820, grab=<value optimized out>, type=QEvent::KeyPress, code=16777301, modifiers={i = 1878793200}, text=@0x7fff6ffc1be0, autorepeat=false, count=1, nativeScanCode=135, nativeVirtualKey=65383, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1667 #16 0x00007fd865113a02 in QKeyMapperPrivate::translateKeyEvent (this=0xe6dd20, keyWidget=0x14c0820, event=0x7fff6ffc37f0, grab=164) at kernel/qkeymapper_x11.cpp:1645 #17 0x00007fd8650ec0e6 in QApplication::x11ProcessEvent (this=0x7fff6ffc3c40, event=0x7fff6ffc37f0) at kernel/qapplication_x11.cpp:3443 #18 0x00007fd865115454 in x11EventSourceDispatch (s=0xe3c080, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #19 0x00007fd863b0f20a in IA__g_main_context_dispatch (context=0xe3ad20) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814 #20 0x00007fd863b128e0 in g_main_context_iterate (context=0xe3ad20, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448 #21 0x00007fd863b12a7c in IA__g_main_context_iteration (context=0xe3ad20, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511 #22 0x00007fd867ad9a8f in QEventDispatcherGlib::processEvents (this=0xdace70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #23 0x00007fd865114bdf in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #24 0x00007fd867aaef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1878801120}) at kernel/qeventloop.cpp:149 #25 0x00007fd867aaf314 in QEventLoop::exec (this=0x7fff6ffc3b20, flags={i = 1878801200}) at kernel/qeventloop.cpp:201 #26 0x00007fd867ab15e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #27 0x00007fd85ba17dc5 in kdemain () from /usr/lib/libkdeinit4_kate.so #28 0x0000000000407215 in launch (argc=3, _name=0xdf8ba8 "kate", args=<value optimized out>, cwd=0x0, envc=1, envs=0xdf8bdd "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a3a1 "0") at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:676 #29 0x0000000000407a38 in handle_launcher_request (sock=8, who=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1168 #30 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1361 #31 0x0000000000408b26 in main (argc=2, argv=0x7fff6ffc59f8, envp=0x7fff6ffc5a10) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1788 Reported using DrKonqi
The backtrace looks related to bug 203884. Thanks
*** Bug 206972 has been marked as a duplicate of this bug. ***
SVN commit 1023014 by pletourn: A virtual cursor is needed here BUG:204865 M +1 -1 kateviewinternal.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1023014