Bug 329965 - killed kwrite
Summary: killed kwrite
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 17:08 UTC by aureliano
Modified: 2014-01-14 23:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aureliano 2014-01-14 17:08:43 UTC
Application: kwrite (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-55-generic x86_64
Distribution: Ubuntu 10.04.4 LTS

-- Information about the crash:
uname: Linux 2.6.32-55-generic #117-Ubuntu SMP Tue Dec 3 17:31:12 UTC 2013 x86_64 GNU/Linux
kwrite 4.4.5 russian.

When I replaced esc-lines "\n" to "' " (newlines to quotes and spaces) kwrite killed. If replace "\n" to "' '" (newline to quote+space+quote) - all right. But if last character - space - kwrite kill. Use button "replace all".


 -- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f7448eededa in KateLayoutCache::viewLine (this=0x2ce7ab0, realCursor=...) at ../../kate/render/katelayoutcache.cpp:395
#7  0x00007f7448f50a83 in KateViewInternal::viewLineOffset (this=0x2ce6ee0, virtualCursor=..., offset=0, keepX=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1352
#8  0x00007f7448f5397b in KateViewInternal::makeVisible (this=0x2ce6ee0, c=..., endCol=986, force=false, center=<value optimized out>, calledExternally=false)
    at ../../kate/view/kateviewinternal.cpp:664
#9  0x00007f7448f540d9 in KateViewInternal::updateCursor (this=0x2ce6ee0, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1915
#10 0x00007f7448f541a9 in KateViewInternal::editEnd (this=0x2ce6ee0, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:3400
#11 0x00007f7448eacd71 in KateDocument::editEnd (this=0x2ce2b00) at ../../kate/document/katedocument.cpp:981
#12 0x00007f7448ef751e in KateSearchBar::findAll (this=0x2f3d5a0, inputRange=<value optimized out>, replacement=<value optimized out>) at ../../kate/search/katesearchbar.cpp:999
#13 0x00007f7448ef7abb in KateSearchBar::onPowerReplaceAll (this=0x2f3d5a0) at ../../kate/search/katesearchbar.cpp:1030
#14 0x00007f7448effee3 in KateSearchBar::qt_metacall (this=0x2f3d5a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0956dcc0) at ./katesearchbar.moc:124
#15 0x00007f745a9e006f in QMetaObject::activate (sender=0x2f17680, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#16 0x00007f745b9dadb2 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#17 0x00007f745b6f703b in QAbstractButtonPrivate::emitClicked (this=0x2f17a70) at widgets/qabstractbutton.cpp:546
#18 0x00007f745b6f7edb in QAbstractButtonPrivate::click (this=0x2f17a70) at widgets/qabstractbutton.cpp:539
#19 0x00007f745b6f814c in QAbstractButton::mouseReleaseEvent (this=0x2f17680, e=0x7fff0956e610) at widgets/qabstractbutton.cpp:1121
#20 0x00007f745b397632 in QWidget::event (this=0x2f17680, event=0x7fff0956e610) at kernel/qwidget.cpp:7998
#21 0x00007f745b34122c in QApplicationPrivate::notify_helper (this=0x1b3a160, receiver=0x2f17680, e=0x7fff0956e610) at kernel/qapplication.cpp:4300
#22 0x00007f745b347e6b in QApplication::notify (this=0x7fff0956f310, receiver=0x2f17680, e=0x7fff0956e610) at kernel/qapplication.cpp:3865
#23 0x00007f745c04ba16 in KApplication::notify (this=0x7fff0956f310, receiver=0x2f17680, event=0x7fff0956e610) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f745a9cd2fc in QCoreApplication::notifyInternal (this=0x7fff0956f310, receiver=0x2f17680, event=0x7fff0956e610) at kernel/qcoreapplication.cpp:704
#25 0x00007f745b34704e in QCoreApplication::sendEvent (receiver=0x2f17680, event=0x7fff0956e610, alienWidget=0x2f17680, nativeWidget=0x2f3d5a0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x2f17680, event=0x7fff0956e610, alienWidget=0x2f17680, nativeWidget=0x2f3d5a0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#27 0x00007f745b3c7025 in QETWidget::translateMouseEvent (this=0x2f3d5a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#28 0x00007f745b3c596c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0956ef30) at kernel/qapplication_x11.cpp:3501
#29 0x00007f745b3f1942 in x11EventSourceDispatch (s=0x1b3def0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f74572a29d2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f74572a6858 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f74572a6a0c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f745a9f67e3 in QEventDispatcherGlib::processEvents (this=0x1b1f770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f745b3f152e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f745a9cbc22 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f745a9cbffc in QEventLoop::exec (this=0x7fff0956f260, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f745a9cfd3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x00007f745d14ad5d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../apps/kwrite/kwritemain.cpp:691
#39 0x00007f745cdd4c8d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff0956fdc8) at libc-start.c:226
#40 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Michal Humpula 2014-01-14 21:44:12 UTC
Hi aureliano, 4.4.5 it's pretty old. There are no releases in 4.4 branch anymore. Can't reproduce it on current stable.