Bug 218657

Summary: kate text selection crash
Product: [Applications] kate Reporter: François Bianco <fbianco>
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 François Bianco 2009-12-14 16:20:24 UTC
Application that crashed: kate
Version of the application: 3.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Kate was in the background, I just click on the window to get focus and I just edited text and it crashes.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  KateSmartCursor::setPositionInternal (this=0x2c59358, pos=..., internal=false) at ../../kate/smart/katesmartcursor.cpp:186
#6  0x00007f4e958e4559 in KateSmartCursor::setPosition (this=0x2c59358, pos=...) at ../../kate/smart/katesmartcursor.cpp:415
#7  0x00007f4e95932e5f in KateSmartCursor::operator= (this=0x2c592d0, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/smart/katesmartcursor.h:68
#8  KateViewInternal::updateCursor (this=0x2c592d0, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1865
#9  0x00007f4e95935ead in KateViewInternal::placeCursor (this=0x2c592d0, p=<value optimized out>, keepSelection=<value optimized out>, updateSelection=true)
    at ../../kate/view/kateviewinternal.cpp:2124
#10 0x00007f4e95937662 in KateViewInternal::mousePressEvent (this=0x2c592d0, e=0x7fffb3cbc190) at ../../kate/view/kateviewinternal.cpp:2577
#11 0x00007f4ea5d89556 in QWidget::event (this=0x2c592d0, event=0x7fffb3cbc190) at kernel/qwidget.cpp:7550
#12 0x00007f4ea5d3901d in QApplicationPrivate::notify_helper (this=0x2512610, receiver=0x2c592d0, e=0x7fffb3cbc190) at kernel/qapplication.cpp:4065
#13 0x00007f4ea5d417ca in QApplication::notify (this=<value optimized out>, receiver=0x2c592d0, e=0x7fffb3cbc190) at kernel/qapplication.cpp:3767
#14 0x00007f4ea6990e06 in KApplication::notify (this=0x7fffb3cbdf90, receiver=0x2c592d0, event=0x7fffb3cbc190) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f4ea7db8c9c in QCoreApplication::notifyInternal (this=0x7fffb3cbdf90, receiver=0x2c592d0, event=0x7fffb3cbc190) at kernel/qcoreapplication.cpp:610
#16 0x00007f4ea5d40a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x2c592d0, event=0x7fffb3cbc190, alienWidget=0x2c592d0, nativeWidget=0x2831360, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (receiver=0x2c592d0, event=0x7fffb3cbc190, alienWidget=0x2c592d0, nativeWidget=0x2831360, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#18 0x00007f4ea5da9659 in QETWidget::translateMouseEvent (this=0x2831360, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#19 0x00007f4ea5da840f in QApplication::x11ProcessEvent (this=0x7fffb3cbdf90, event=0x7fffb3cbdb60) at kernel/qapplication_x11.cpp:3552
#20 0x00007f4ea5dd076c in x11EventSourceDispatch (s=0x25162f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007f4ea4c5013a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f4ea4c53998 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f4ea4c53b4c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f4ea7de139c in QEventDispatcherGlib::processEvents (this=0x2488850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#25 0x00007f4ea5dcff1f in QGuiEventDispatcherGlib::processEvents (this=0x7fffb3cbb7e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007f4ea7db7562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f4ea7db7934 in QEventLoop::exec (this=0x7fffb3cbde90, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f4ea7db9ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x00007f4e9bf33ced in kdemain () from /usr/lib/libkdeinit4_kate.so
#30 0x0000000000406e9e in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a057 "0") at ../../kinit/kinit.cpp:677
#31 0x0000000000407aad in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#32 0x0000000000407f91 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#33 0x00000000004086c6 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 199716

Reported using DrKonqi
Comment 1 François Bianco 2009-12-15 14:54:52 UTC

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