Bug 223545 - Changing cursor position with keyboard arrow crashes Kile while edditing text in static line width
Summary: Changing cursor position with keyboard arrow crashes Kile while edditing text...
Status: RESOLVED DUPLICATE of bug 217128
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 10:35 UTC by François Bianco
Modified: 2010-01-20 11:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Bianco 2010-01-20 10:35:21 UTC
Application that crashed: kile
Version of the application: 2.0.83
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Cursor position in statict line width seems buggy. If you add something at the end of a previous line without a space between the new text and a previous word, when the word jump to the next line, the cursor jump at the end of the previous word. It is not the expected behaviour, and I belive the smart cursor crash I am repporting is also related to this problem.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#5  KateSmartCursor::setPositionInternal (this=0x28e4b18, pos=..., internal=false) at ../../kate/smart/katesmartcursor.cpp:186
#6  0x00007fef3fccf559 in KateSmartCursor::setPosition (this=0x28e4b18, pos=...) at ../../kate/smart/katesmartcursor.cpp:415
#7  0x00007fef3fd1de5f in KateSmartCursor::operator= (this=0x28e4a90, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/smart/katesmartcursor.h:68
#8  KateViewInternal::updateCursor (this=0x28e4a90, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1865
#9  0x00007fef3fd1f8c1 in KateViewInternal::cursorDown (this=0x28e4a90, sel=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1498
#10 0x00007fef3fd0a46d in KateView::qt_metacall (this=0x2abca60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7562b270) at ./kateview.moc:373
#11 0x00007fef4c24cdf2 in QMetaObject::activate (sender=0x29939d0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x28e4b18) at kernel/qobject.cpp:3112
#12 0x00007fef4b6ab147 in QAction::triggered (this=0x7fff7562b0f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#13 0x00007fef4b6ac5c0 in QAction::activate (this=0x29939d0, event=<value optimized out>) at kernel/qaction.cpp:1167
#14 0x00007fef4b6af07f in QAction::event (this=0x7fff7562b0f0, e=<value optimized out>) at kernel/qaction.cpp:1086
#15 0x00007fef4cfdac9d in KAction::event (this=0x7fff7562b0f0, event=0x7fff7562b800) at ../../kdeui/actions/kaction.cpp:88
#16 0x00007fef4b6b101d in QApplicationPrivate::notify_helper (this=0x1d5ab10, receiver=0x29939d0, e=0x7fff7562b800) at kernel/qapplication.cpp:4065
#17 0x00007fef4b6b907a in QApplication::notify (this=0x7fff7562df10, receiver=0x29939d0, e=0x7fff7562b800) at kernel/qapplication.cpp:4030
#18 0x00007fef4d0abe06 in KApplication::notify (this=0x7fff7562df10, receiver=0x29939d0, event=0x7fff7562b800) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007fef4c237c9c in QCoreApplication::notifyInternal (this=0x7fff7562df10, receiver=0x29939d0, event=0x7fff7562b800) at kernel/qcoreapplication.cpp:610
#20 0x00007fef4b6e60ed in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff7562bd00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff7562bd00) at kernel/qshortcutmap.cpp:884
#22 0x00007fef4b6e7e6c in QShortcutMap::tryShortcutEvent (this=0x1d5ac28, o=<value optimized out>, e=0x7fff7562bd00) at kernel/qshortcutmap.cpp:369
#23 0x00007fef4b6ba059 in QApplication::notify (this=0x7fff7562df10, receiver=0x28e4a90, e=0x7fff7562bd00) at kernel/qapplication.cpp:3647
#24 0x00007fef4d0abe06 in KApplication::notify (this=0x7fff7562df10, receiver=0x28e4a90, event=0x7fff7562bd00) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007fef4c237c9c in QCoreApplication::notifyInternal (this=0x7fff7562df10, receiver=0x28e4a90, event=0x7fff7562bd00) at kernel/qcoreapplication.cpp:610
#26 0x00007fef4b744ab4 in QKeyMapper::sendKeyEvent (keyWidget=0x28e4a90, grab=<value optimized out>, type=QEvent::KeyPress, code=16777237, modifiers=..., text=..., autorepeat=false, count=1, 
    nativeScanCode=116, nativeVirtualKey=65364, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#27 0x00007fef4b746d89 in QKeyMapperPrivate::translateKeyEvent (this=0x1d9adb0, keyWidget=0x28e4a90, event=0x7fff7562db00, grab=56) at kernel/qkeymapper_x11.cpp:1831
#28 0x00007fef4b71fd06 in QApplication::x11ProcessEvent (this=0x7fff7562df10, event=0x7fff7562db00) at kernel/qapplication_x11.cpp:3445
#29 0x00007fef4b74876c in x11EventSourceDispatch (s=0x1d5e1f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fef4757a90e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007fef4757e2c8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007fef4757e3f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007fef4c26039c in QEventDispatcherGlib::processEvents (this=0x1d34330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#34 0x00007fef4b747f1f in QGuiEventDispatcherGlib::processEvents (this=0x7fff7562b0f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007fef4c236562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fef4c236934 in QEventLoop::exec (this=0x7fff7562de30, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007fef4c238ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x00000000005ea185 in _start ()

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

Reported using DrKonqi
Comment 1 François Bianco 2010-01-20 11:07:38 UTC

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