Bug 248511

Summary: closed kate when replace with regexp
Product: [Applications] kate Reporter: ademaro
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: Ekkehard.Blanz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description ademaro 2010-08-20 14:12:07 UTC
Application: kate (3.5.0)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-server x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

in find input: \n or ^ or $ (I not remember exact) => when press "replace" -> crash

By the way, how to produce multi-line replacement?

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000300000023 in ?? ()
#7  0x00007fef80754718 in Kate::TextBuffer::rangesForLine (this=<value optimized out>, line=61, view=0x92a280, rangesWithAttributeOnly=false) at ../../kate/buffer/katetextbuffer.cpp:736
#8  0x00007fef80855d86 in KateView::updateRangesIn (this=0x92a280, activationType=KTextEditor::Attribute::ActivateMouseIn) at ../../kate/view/kateview.cpp:2809
#9  0x00007fef80856707 in KateView::slotDelayedUpdateOfView (this=0x92a280) at ../../kate/view/kateview.cpp:2774
#10 0x00007fef80857bfa in KateView::qt_metacall (this=0x92a280, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1327670) at ./kateview.moc:450
#11 0x00007fef8fcb687e in QObject::event (this=0x92a280, e=0x10e6d00) at kernel/qobject.cpp:1219
#12 0x00007fef91236d2f in QWidget::event (this=0x92a280, event=0x1327620) at kernel/qwidget.cpp:8616
#13 0x00007fef911e1cdc in QApplicationPrivate::notify_helper (this=0x66c160, receiver=0x92a280, e=0x1327620) at kernel/qapplication.cpp:4389
#14 0x00007fef911e77cd in QApplication::notify (this=0x7fffe2e6bc60, receiver=0x92a280, e=0x1327620) at kernel/qapplication.cpp:4270
#15 0x00007fef90486eb6 in KApplication::notify (this=0x7fffe2e6bc60, receiver=0x92a280, event=0x1327620) at ../../kdeui/kernel/kapplication.cpp:310
#16 0x00007fef8fca4a8c in QCoreApplication::notifyInternal (this=0x7fffe2e6bc60, receiver=0x92a280, event=0x1327620) at kernel/qcoreapplication.cpp:732
#17 0x00007fef8fca79b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x641a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x641a60) at kernel/qcoreapplication.cpp:1373
#19 0x00007fef8fcd1043 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007fef8ef188c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007fef8ef1c748 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007fef8ef1c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007fef8fcd0b83 in QEventDispatcherGlib::processEvents (this=0x641560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007fef912937ee in QGuiEventDispatcherGlib::processEvents (this=0x10e6d00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fef8fca37b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007fef8fca3b9c in QEventLoop::exec (this=0x7fffe2e6bb20, flags=) at kernel/qeventloop.cpp:201
#28 0x00007fef8fca7c4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#29 0x00007fef9208c086 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#30 0x00007fef91d21c4d 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=0x7fffe2e6d1f8) at libc-start.c:226
#31 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-05-15 09:48:50 UTC
*** Bug 269263 has been marked as a duplicate of this bug. ***
Comment 2 Dominik Haumann 2011-05-15 09:51:48 UTC
might be fixed for > KDE 4.5.0

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