Bug 196123

Summary: Kate crashed while tabbing a selection of lines in a php file
Product: [Applications] kate Reporter: Kubuntiac <user581>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kubuntiac 2009-06-12 04:32:19 UTC
Application that crashed: kate
Version of the application: 3.2.90
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-12-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I was editing a php file (loaded over sftp). I had a selection of lines and had tabbed to indent them a couple of times. On the third tab my finger accidentally hit both tab and caps lock at the same time (which may just be co-incidence :) and Kate crashed.

Backtrace is attached.

I'm on Kubuntu Jaunty AMD 64 with KDE 4.2.90 (4.3 Beta 2?) with an AMD Phenom II quad core and an ATI HD 4850 + FGLRX 9.4.

I had one other instance of Kate open (to a remote css file), which was unaffected. Line numbers were switched on and word wrapping was switched off. Document panel was hidden and all other settings were default.

 -- Backtrace:
Application: Kate (kdeinit), signal: Segmentation fault
[KCrash Handler]
#5  KateCodeFoldingNode::getEnd (this=0x196df50, tree=0x11cbec0, end=0x7ffffc89da90) at /build/buildd/kde4libs-4.2.90/kate/syntax/katecodefolding.cpp:86
#6  0x00007f96e5bcb16e in KateIconBorder::showBlock (this=0x14fbf80, line=22) at /build/buildd/kde4libs-4.2.90/kate/view/kateviewhelpers.cpp:1275
#7  0x00007f96e5bcc1da in KateIconBorder::mouseMoveEvent (this=0x14fbf80, e=0x7ffffc89e500) at /build/buildd/kde4libs-4.2.90/kate/view/kateviewhelpers.cpp:1328
#8  0x00007f96f1982c88 in QWidget::event (this=0x14fbf80, event=0x7ffffc89e500) at kernel/qwidget.cpp:7506
#9  0x00007f96f1931b9d in QApplicationPrivate::notify_helper (this=0xfb8030, receiver=0x14fbf80, e=0x7ffffc89e500) at kernel/qapplication.cpp:4057
#10 0x00007f96f193a54a in QApplication::notify (this=<value optimized out>, receiver=0x14fbf80, e=0x7ffffc89e500) at kernel/qapplication.cpp:3759
#11 0x00007f96f2a6ddeb in KApplication::notify (this=0x7ffffc8a04d0, receiver=0x14fbf80, event=0x7ffffc89e500) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#12 0x00007f96f438edfc in QCoreApplication::notifyInternal (this=0x7ffffc8a04d0, receiver=0x14fbf80, event=0x7ffffc89e500) at kernel/qcoreapplication.cpp:610
#13 0x00007f96f1939798 in QApplicationPrivate::sendMouseEvent (receiver=0x14fbf80, event=0x7ffffc89e500, alienWidget=0x14fbf80, nativeWidget=0x11d7880, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f96f2393010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#14 0x00007f96f19a3789 in QETWidget::translateMouseEvent (this=0x11d7880, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448
#15 0x00007f96f19a27f5 in QApplication::x11ProcessEvent (this=0x7ffffc8a04d0, event=0x7ffffc8a0080) at kernel/qapplication_x11.cpp:3566
#16 0x00007f96f19caf84 in x11EventSourceDispatch (s=0xfbbcc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f96f03c520a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007f96f03c88e0 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00007f96f03c8a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007f96f43b852f in QEventDispatcherGlib::processEvents (this=0xfb74c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#21 0x00007f96f19ca70f in QGuiEventDispatcherGlib::processEvents (this=0x196df50, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#22 0x00007f96f438d6a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -58064016}) at kernel/qeventloop.cpp:149
#23 0x00007f96f438da6d in QEventLoop::exec (this=0x7ffffc8a03b0, flags={i = -58063936}) at kernel/qeventloop.cpp:200
#24 0x00007f96f438fd34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#25 0x00007f96e9753dc5 in kdemain () from /usr/lib/libkdeinit4_kate.so
#26 0x000000000040714e in launch (argc=2, _name=0xf5dcc8 "/usr/bin/kate", args=<value optimized out>, cwd=0x0, envc=1, envs=0xf5dd6b "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0xf5dd74 "the-beast;1244765928;966801;9253_TIME124774535") at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:671
#27 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1163
#28 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1356
#29 0x0000000000408a66 in main (argc=2, argv=0x7ffffc8a2278, envp=0x7ffffc8a2290) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1783

Reported using DrKonqi
Comment 1 Christophe Marin 2009-06-12 12:35:43 UTC

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