Bug 253962 - Kate crashed filtering text through external command
Summary: Kate crashed filtering text through external command
Status: RESOLVED DUPLICATE of bug 236899
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:22 UTC by aa.pp.ii+kde
Modified: 2010-10-23 17:26 UTC (History)
0 users

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 aa.pp.ii+kde 2010-10-12 13:22:55 UTC
Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kate crashed when filtering text through an external command (sort).
I selected a few tens of lines, choose to filter selected text through an external command (from the Tools menu), wrote "sort" as command name, and applied. Kate immediately crashed.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8f02ede760 (LWP 2876))]

Thread 2 (Thread 0x7f8ee81a7710 (LWP 2877)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f8ee81a6aa0 in ?? ()
#2  0x00007fff283ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f8f02ede760 (LWP 2876)):
[KCrash Handler]
#5  QTextLine::cursorToX (this=0x7fff282175b8, cursorPos=0x7fff2821753c, edge=QTextLine::Leading) at text/qtextlayout.cpp:2280
#6  0x00007f8eedc0c0d6 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  0x00007f8eedc0c3be in KateRenderer::cursorToX (this=0x7fff282175b8, range=..., pos=..., returnPastLine=false) at ../../kate/render/katerenderer.cpp:953
#9  0x00007f8eedc7b96a in KateViewInternal::makeVisible (this=0x1363490, c=<value optimized out>, endCol=<value optimized out>, force=false, center=<value optimized out>, 
    calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:690
#10 0x00007f8eedc7bf13 in KateViewInternal::updateCursor (this=0x1363490, newCursor=..., force=<value optimized out>, center=true, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1899
#11 0x00007f8eedc64a7a in KateView::setCursorPositionInternal (this=0x135b190, position=<value optimized out>, tabwidth=1, calledExternally=<value optimized out>) at ../../kate/view/kateview.cpp:1102
#12 0x00007f8eea53bf10 in PluginKateTextFilter::slotFilterProcessExited (this=<value optimized out>, pProcess=<value optimized out>)
    at ../../../../kate/plugins/textfilter/plugin_katetextfilter.cpp:134
#13 0x00007f8eea53d348 in PluginKateTextFilter::qt_metacall (this=0xcc4c90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff282179e0) at ./plugin_katetextfilter.moc:88
#14 0x00007f8f007e0e3f in QMetaObject::activate (sender=0x19c2410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#15 0x00007f8eec3facef in K3Process::processExited (this=0x7fff282175b8, _t1=0x19c2410) at ./k3process.moc:107
#16 0x00007f8eec3fea69 in K3ProcessController::slotDoHousekeeping (this=0xf254f0) at ../../kde3support/kdecore/k3processcontroller.cpp:257
#17 0x00007f8eec3feb00 in K3ProcessController::qt_metacall (this=0xf254f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./k3processcontroller.moc:72
#18 0x00007f8f007e0e3f in QMetaObject::activate (sender=0x19b8b20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#19 0x00007f8f0082cc6e in QSocketNotifier::activated (this=0x7fff282175b8, _t1=27) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#20 0x00007f8f007e7fb3 in QSocketNotifier::event (this=0x19b8b20, e=0x7fff28218230) at kernel/qsocketnotifier.cpp:317
#21 0x00007f8f01c9d22c in QApplicationPrivate::notify_helper (this=0x92eb50, receiver=0x19b8b20, e=0x7fff28218230) at kernel/qapplication.cpp:4300
#22 0x00007f8f01ca36fb in QApplication::notify (this=0x7fff282185d0, receiver=0x19b8b20, e=0x7fff28218230) at kernel/qapplication.cpp:4183
#23 0x00007f8f00f8e526 in KApplication::notify (this=0x7fff282185d0, receiver=0x19b8b20, event=0x7fff28218230) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f8f007ce06c in QCoreApplication::notifyInternal (this=0x7fff282185d0, receiver=0x19b8b20, event=0x7fff28218230) at kernel/qcoreapplication.cpp:704
#25 0x00007f8f007f78ca in QCoreApplication::sendEvent (source=0x92cc00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 socketNotifierSourceDispatch (source=0x92cc00) at kernel/qeventdispatcher_glib.cpp:110
#27 0x00007f8effa418c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f8effa45748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f8effa458fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f8f007f7566 in QEventDispatcherGlib::processEvents (this=0x906770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#31 0x00007f8f01d4d46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff282175b8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f8f007cc992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f8f007ccd6c in QEventLoop::exec (this=0x7fff28218490, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f8f007d0aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x00007f8f02afeeed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#36 0x00007f8f02794c4d 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=0x7fff28219b58) at libc-start.c:226
#37 0x00000000004006b9 in _start ()

Possible duplicates by query: bug 247331, bug 236899, bug 208056.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-23 17:26:13 UTC
If this is reproducible, please add a comment to bug 236899.

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