Bug 223985

Summary: kwrite crashes when double-clicking on a blank space
Product: [Applications] kate Reporter: Victor Gavrish <loonyphoenix>
Component: kwriteAssignee: 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 Victor Gavrish 2010-01-24 01:34:22 UTC
Application that crashed: kwrite
Version of the application: 4.3.4 (KDE 4.3.4)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-ice i686

What I was doing when the application crashed:
Opened a one-liner text file and double-clicked near it to select the whole paragraph (in this case, the whole file). But I clicked a bit lower than the text, and the result is a crash.

Maybe it was a triple-click, I don't know :)

 -- Backtrace:
Application: KWrite (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0xb2458ec5 in KateLineLayout::viewLineCount() const () from /usr/lib/kde4/katepart.so
#7  0xb2455b3c in KateLayoutCache::viewLine(KTextEditor::Cursor const&) const () from /usr/lib/kde4/katepart.so
#8  0xb245614f in KateLayoutCache::textLayout(KTextEditor::Cursor const&) const () from /usr/lib/kde4/katepart.so
#9  0xb24b27f9 in KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) () from /usr/lib/kde4/katepart.so
#10 0xb24b3000 in KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) () from /usr/lib/kde4/katepart.so
#11 0xb24b794c in KateViewInternal::mousePressEvent(QMouseEvent*) () from /usr/lib/kde4/katepart.so
#12 0xb6377c36 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb63233a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb632b3d0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6d665ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0xb769ae8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0xb632a393 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#18 0xb6397e84 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb6397365 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb63c1a52 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb5f3b378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb5f3ebf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#23 0xb5f3ed23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb76c55f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb63c1185 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb7699479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb76998ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb769bd3f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0xb6323227 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0xb5169b40 in kdemain () from /usr/lib/libkdeinit4_kwrite.so
#31 0x0804de22 in _start ()

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

Reported using DrKonqi
Comment 1 Milian Wolff 2010-01-25 13:58:53 UTC
closing, probably got fixed for KDE 4.4, might also be backported in KDE 4.3.5. if you can reproduce this bug in either version, please reopen.

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