<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>329965</bug_id>
          
          <creation_ts>2014-01-14 17:08:43 +0000</creation_ts>
          <short_desc>killed kwrite</short_desc>
          <delta_ts>2014-01-14 23:01:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>kwrite</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="aureliano">aureliano</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>michal.humpula</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1424768</commentid>
    <comment_count>0</comment_count>
    <who name="aureliano">aureliano</who>
    <bug_when>2014-01-14 17:08:43 +0000</bug_when>
    <thetext>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 &quot;\n&quot; to &quot;&apos; &quot; (newlines to quotes and spaces) kwrite killed. If replace &quot;\n&quot; to &quot;&apos; &apos;&quot; (newline to quote+space+quote) - all right. But if last character - space - kwrite kill. Use button &quot;replace all&quot;.


 -- 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=&lt;value optimized out&gt;) at ../../kate/view/kateviewinternal.cpp:1352
#8  0x00007f7448f5397b in KateViewInternal::makeVisible (this=0x2ce6ee0, c=..., endCol=986, force=false, center=&lt;value optimized out&gt;, calledExternally=false)
    at ../../kate/view/kateviewinternal.cpp:664
#9  0x00007f7448f540d9 in KateViewInternal::updateCursor (this=0x2ce6ee0, newCursor=&lt;value optimized out&gt;, force=&lt;value optimized out&gt;, center=false, calledExternally=&lt;value optimized out&gt;)
    at ../../kate/view/kateviewinternal.cpp:1915
#10 0x00007f7448f541a9 in KateViewInternal::editEnd (this=0x2ce6ee0, editTagLineStart=&lt;value optimized out&gt;, editTagLineEnd=&lt;value optimized out&gt;, tagFrom=&lt;value optimized out&gt;)
    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=&lt;value optimized out&gt;, replacement=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, _a=0x7fff0956dcc0) at ./katesearchbar.moc:124
#15 0x00007f745a9e006f in QMetaObject::activate (sender=0x2f17680, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, 
    lastMouseReceiver=&lt;value optimized out&gt;, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x2f17680, event=0x7fff0956e610, alienWidget=0x2f17680, nativeWidget=0x2f3d5a0, buttonDown=&lt;value optimized out&gt;, 
    lastMouseReceiver=&lt;value optimized out&gt;, spontaneous=true) at kernel/qapplication.cpp:2965
#27 0x00007f745b3c7025 in QETWidget::translateMouseEvent (this=0x2f3d5a0, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4368
#28 0x00007f745b3c596c in QApplication::x11ProcessEvent (this=&lt;value optimized out&gt;, event=0x7fff0956ef30) at kernel/qapplication_x11.cpp:3501
#29 0x00007f745b3f1942 in x11EventSourceDispatch (s=0x1b3def0, callback=&lt;value optimized out&gt;, user_data=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f745b3f152e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f745a9cbc22 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../../apps/kwrite/kwritemain.cpp:691
#39 0x00007f745cdd4c8d in __libc_start_main (main=&lt;value optimized out&gt;, argc=&lt;value optimized out&gt;, ubp_av=&lt;value optimized out&gt;, init=&lt;value optimized out&gt;, fini=&lt;value optimized out&gt;, 
    rtld_fini=&lt;value optimized out&gt;, stack_end=0x7fff0956fdc8) at libc-start.c:226
#40 0x00000000004006b9 in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424817</commentid>
    <comment_count>1</comment_count>
    <who name="Michal Humpula">michal.humpula</who>
    <bug_when>2014-01-14 21:44:12 +0000</bug_when>
    <thetext>Hi aureliano, 4.4.5 it&apos;s pretty old. There are no releases in 4.4 branch anymore. Can&apos;t reproduce it on current stable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>