Application: kate (3.4.5) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.2 Operating System: Linux 2.6.32-35-generic x86_64 Distribution: Ubuntu 10.04.3 LTS -- Information about the crash: kate crashes when replacing multiple linefeeds, the particular regex was just "\n\n", the replacement text was "\n" -- Backtrace: Application: Kate (kate), signal: Segmentation fault [KCrash Handler] #5 QTextLine::cursorToX (this=0x7fff77c44718, cursorPos=0x7fff77c4469c, edge=QTextLine::Leading) at text/qtextlayout.cpp:2280 #6 0x00007f36a6b6e186 in QTextLine::cursorToX (this=<value optimized out>, range=..., pos=<value optimized out>) at /usr/include/qt4/QtGui/qtextlayout.h:218 #7 KateRenderer::cursorToX (this=<value optimized out>, range=..., pos=<value optimized out>) at ../../kate/render/katerenderer.cpp:948 #8 0x00007f36a6b6e46e in KateRenderer::cursorToX (this=0x7fff77c44718, range=..., pos=..., returnPastLine=false) at ../../kate/render/katerenderer.cpp:953 #9 0x00007f36a6bdda3a in KateViewInternal::makeVisible (this=0x13b3a50, c=<value optimized out>, endCol=<value optimized out>, force=false, center=<value optimized out>, calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:691 #10 0x00007f36a6bde0d9 in KateViewInternal::updateCursor (this=0x13b3a50, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1915 #11 0x00007f36a6bde1a9 in KateViewInternal::editEnd (this=0x13b3a50, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:3400 #12 0x00007f36a6b36d71 in KateDocument::editEnd (this=0x1388ae0) at ../../kate/document/katedocument.cpp:981 #13 0x00007f36a6b8151e in KateSearchBar::findAll (this=0x1d6e980, inputRange=<value optimized out>, replacement=<value optimized out>) at ../../kate/search/katesearchbar.cpp:999 #14 0x00007f36a6b81abb in KateSearchBar::onPowerReplaceAll (this=0x1d6e980) at ../../kate/search/katesearchbar.cpp:1030 #15 0x00007f36a6b89ee3 in KateSearchBar::qt_metacall (this=0x1d6e980, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff77c44d90) at ./katesearchbar.moc:124 #16 0x00007f36b963ee3f in QMetaObject::activate (sender=0x1d91af0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293 #17 0x00007f36bb1965f2 in QAbstractButton::clicked (this=0x7fff77c44718, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206 #18 0x00007f36baeb086b in QAbstractButtonPrivate::emitClicked (this=0x1d91ee0) at widgets/qabstractbutton.cpp:546 #19 0x00007f36baeb170b in QAbstractButtonPrivate::click (this=0x1d91ee0) at widgets/qabstractbutton.cpp:539 #20 0x00007f36baeb197c in QAbstractButton::mouseReleaseEvent (this=0x1d91af0, e=0x7fff77c456e0) at widgets/qabstractbutton.cpp:1121 #21 0x00007f36bab51582 in QWidget::event (this=0x1d91af0, event=0x7fff77c456e0) at kernel/qwidget.cpp:7998 #22 0x00007f36baafb22c in QApplicationPrivate::notify_helper (this=0xa4e1b0, receiver=0x1d91af0, e=0x7fff77c456e0) at kernel/qapplication.cpp:4300 #23 0x00007f36bab01ecb in QApplication::notify (this=0x7fff77c46470, receiver=0x1d91af0, e=0x7fff77c456e0) at kernel/qapplication.cpp:3865 #24 0x00007f36b9deca16 in KApplication::notify (this=0x7fff77c46470, receiver=0x1d91af0, event=0x7fff77c456e0) at ../../kdeui/kernel/kapplication.cpp:302 #25 0x00007f36b962c06c in QCoreApplication::notifyInternal (this=0x7fff77c46470, receiver=0x1d91af0, event=0x7fff77c456e0) at kernel/qcoreapplication.cpp:704 #26 0x00007f36bab010ae in QCoreApplication::sendEvent (receiver=0x1d91af0, event=0x7fff77c456e0, alienWidget=0x1d91af0, nativeWidget=0x1d6e980, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 QApplicationPrivate::sendMouseEvent (receiver=0x1d91af0, event=0x7fff77c456e0, alienWidget=0x1d91af0, nativeWidget=0x1d6e980, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #28 0x00007f36bab80f65 in QETWidget::translateMouseEvent (this=0x1d6e980, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368 #29 0x00007f36bab7f8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff77c46000) at kernel/qapplication_x11.cpp:3501 #30 0x00007f36babab882 in x11EventSourceDispatch (s=0xa548f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #31 0x00007f36b889f8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #32 0x00007f36b88a3748 in ?? () from /lib/libglib-2.0.so.0 #33 0x00007f36b88a38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #34 0x00007f36b9655513 in QEventDispatcherGlib::processEvents (this=0xa2b3a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #35 0x00007f36babab46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff77c44718, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00007f36b962a992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #37 0x00007f36b962ad6c in QEventLoop::exec (this=0x7fff77c46330, flags=) at kernel/qeventloop.cpp:201 #38 0x00007f36b962eaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #39 0x00007f36bb95ceed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377 #40 0x00007f36bb5f2c4d 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=0x7fff77c479f8) at libc-start.c:226 #41 0x00000000004006b9 in _start () This bug may be a duplicate of or related to bug 263686. Possible duplicates by query: bug 273084, bug 272993, bug 263686. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 263686 ***