Bug 239046

Summary: crash in KateSmartCursor::setPositionInternal
Product: [Applications] kate Reporter: Mark <markotahal>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: andrey.rukhin, dunkineigen, egxoun8uya67izy, joseph.salmon.taff, nick, sara.royuela
Priority: NOR    
Version: 0.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Mark 2010-05-27 20:30:13 UTC
Application: kile (2.0.85)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-lts i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I cannot reproduce this at will, but during writing my thesis, Kile crashed about 5 times. It happens out of blue, while I was typing the text. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#6  0xb32216ea in KateSmartCursor::setPositionInternal(KTextEditor::Cursor const&, bool) () from /usr/lib/kde4/katepart.so
#7  0xb3221975 in KateSmartCursor::setPosition(KTextEditor::Cursor const&) () from /usr/lib/kde4/katepart.so
#8  0xb326fe36 in KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) () from /usr/lib/kde4/katepart.so
#9  0xb3273139 in KateViewInternal::cursorDown(bool) () from /usr/lib/kde4/katepart.so
#10 0xb325616b in KateView::down() () from /usr/lib/kde4/katepart.so
#11 0xb3259894 in KateView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/katepart.so
#12 0xb68416ea in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb6850715 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb5d2f399 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#15 0xb5d2f5fb in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#16 0xb5d2f7a8 in QAction::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6c656c3 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb5d365f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb5d3a7ee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb6d341ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0xb683b7db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb5d6bbd7 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb5d6d0b7 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb5d3c794 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb6d341ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb683b7db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0xb5d33f5e in ?? () from /usr/lib/libQtGui.so.4
#28 0xb5ddf3cd in ?? () from /usr/lib/libQtGui.so.4
#29 0xb5ddf7d1 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5dba292 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb5de2892 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb50c7f72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb50c8750 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#34 0xb50c8a04 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb686657c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb5de24d5 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb683aa29 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb683ac9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb683f4cf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0xb5d33d17 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#41 0x081f5613 in _start ()

This bug may be a duplicate of or related to bug 217128.

Possible duplicates by query: bug 232508, bug 231263, bug 231119, bug 223545, bug 223479.

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-05-30 23:11:10 UTC
This crash doesn't involve SmartRanges for once ;-)

Forwarding to KatePart.
Comment 2 Dominik Haumann 2010-06-03 12:21:02 UTC
not SmartRange, but SmartCursor ;)
Should be fixed for KDE 4.5... but likely not for KDE 4.4
Comment 3 Dominik Haumann 2010-06-03 12:22:13 UTC
*** Bug 217128 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2010-06-03 12:23:27 UTC
*** Bug 199716 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2010-06-03 12:26:08 UTC
As Christoph mentioned in the other duplicate reports: This is likely fixed in KDE 4.5 and more or less unfixable in KDE 4.4... Sorry. Will close as fixed for 4.5.
Comment 6 Michel Ludwig 2010-06-26 17:47:27 UTC
*** Bug 242713 has been marked as a duplicate of this bug. ***
Comment 7 Michel Ludwig 2010-06-26 17:56:43 UTC
*** Bug 242702 has been marked as a duplicate of this bug. ***
Comment 8 joseph.salmon.taff 2010-07-27 15:31:13 UTC
Created attachment 49529 [details]
New crash information added by DrKonqi

Most of the time crashes occur with no reason, but  using spell chek increases highly the occurence of those crashes.
Comment 9 Andrey Rukhin 2010-10-28 20:59:59 UTC
Created attachment 52949 [details]
New crash information added by DrKonqi

I was entering the "down" arrow key on my keyboard (during editing) when I received a segmentation 11 crash.  I cannot reproduce this at will.
Comment 10 Dario Andres 2011-01-02 13:43:23 UTC
*** Bug 261859 has been marked as a duplicate of this bug. ***