Bug 272993 - Crash when filtering through external command
Summary: Crash when filtering through external command
Status: RESOLVED DUPLICATE of bug 263686
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: 2011-05-11 02:18 UTC by orion haxton
Modified: 2011-05-15 09:40 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 orion haxton 2011-05-11 02:18:05 UTC
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-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:

Running a ~3000 line selection through a perl filter crashed the whole system

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

Thread 2 (Thread 0xb55cbb70 (LWP 11520)):
#0  0x0049e422 in __kernel_vsyscall ()
#1  0x005a9015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x001ea9dd in __pthread_cond_wait (cond=0x389528c, mutex=0x3895274) at forward.c:139
#3  0x037b6c97 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x38901a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0x037b6ce1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x38901a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0x005a496e in start_thread (arg=0xb55cbb70) at pthread_create.c:300
#6  0x001dda4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77f0710 (LWP 21211)):
[KCrash Handler]
#6  QTextLine::cursorToX (this=0xbfd82e08, cursorPos=0xbfd82d6c, edge=QTextLine::Leading) at text/qtextlayout.cpp:2280
#7  0x02ef0045 in QTextLine::cursorToX (this=0xa5ef6e8, range=..., pos=...) at /usr/include/qt4/QtGui/qtextlayout.h:218
#8  KateRenderer::cursorToX (this=0xa5ef6e8, range=..., pos=...) at ../../kate/render/katerenderer.cpp:948
#9  0x02ef038a in KateRenderer::cursorToX (this=0xa5ef6e8, range=..., pos=..., returnPastLine=false) at ../../kate/render/katerenderer.cpp:953
#10 0x02f6bf76 in KateViewInternal::makeVisible (this=0xfcf3f48, c=..., endCol=0, force=false, center=true, calledExternally=true) at ../../kate/view/kateviewinternal.cpp:691
#11 0x02f6c58b in KateViewInternal::updateCursor (this=0xfcf3f48, newCursor=..., force=false, center=108, calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1900
#12 0x02f507eb in KateView::setCursorPositionInternal (this=0xe0ffce0, position=..., tabwidth=1, calledExternally=<value optimized out>) at ../../kate/view/kateview.cpp:1102
#13 0x02f509a8 in KateView::setCursorPosition (this=0xe0ffce0, position=...) at ../../kate/view/kateview.cpp:2177
#14 0x06c4ac31 in PluginKateTextFilter::slotFilterProcessExited (this=0x9daf8b8, pProcess=0xa3c2d18) at ../../../../kate/plugins/textfilter/plugin_katetextfilter.cpp:134
#15 0x06c4c257 in PluginKateTextFilter::qt_metacall (this=0x9daf8b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd83138) at ./plugin_katetextfilter.moc:88
#16 0x04f31c9a in QMetaObject::metacall (object=0x9daf8b8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfd83138) at kernel/qmetaobject.cpp:237
#17 0x04f403d5 in QMetaObject::activate (sender=0xa3c2d18, m=0x291da98, local_signal_index=0, argv=0xbfd83138) at kernel/qobject.cpp:3293
#18 0x02906473 in K3Process::processExited (this=0xa3c2d18, _t1=0xa3c2d18) at ./k3process.moc:107
#19 0x029064bf in K3Process::processHasExited (this=0xa3c2d18, state=0) at ../../kde3support/kdecore/k3process.cpp:757
#20 0x0290ab1f in K3ProcessController::slotDoHousekeeping (this=0xa2c7720) at ../../kde3support/kdecore/k3processcontroller.cpp:257
#21 0x0290abf1 in K3ProcessController::qt_metacall (this=0xa2c7720, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd832f8) at ./k3processcontroller.moc:72
#22 0x04f31c9a in QMetaObject::metacall (object=0xa2c7720, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfd832f8) at kernel/qmetaobject.cpp:237
#23 0x04f403d5 in QMetaObject::activate (sender=0x98dedc8, m=0x5040550, local_signal_index=0, argv=0xbfd832f8) at kernel/qobject.cpp:3293
#24 0x04f91933 in QSocketNotifier::activated (this=0x98dedc8, _t1=21) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#25 0x04f478e7 in QSocketNotifier::event (this=0x98dedc8, e=0xbfd83784) at kernel/qsocketnotifier.cpp:317
#26 0x00a4f4dc in QApplicationPrivate::notify_helper (this=0x9092c60, receiver=0x98dedc8, e=0xbfd83784) at kernel/qapplication.cpp:4300
#27 0x00a5605e in QApplication::notify (this=0xbfd83b14, receiver=0x98dedc8, e=0xbfd83784) at kernel/qapplication.cpp:3704
#28 0x02c4140a in KApplication::notify (this=0xbfd83b14, receiver=0x98dedc8, event=0xbfd83784) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x04f2ca3b in QCoreApplication::notifyInternal (this=0xbfd83b14, receiver=0x98dedc8, event=0xbfd83784) at kernel/qcoreapplication.cpp:704
#30 0x04f589aa in QCoreApplication::sendEvent (source=0x9092b58) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 socketNotifierSourceDispatch (source=0x9092b58) at kernel/qeventdispatcher_glib.cpp:110
#32 0x004f15e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x004f52d8 in ?? () from /lib/libglib-2.0.so.0
#34 0x004f54b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x04f585d5 in QEventDispatcherGlib::processEvents (this=0x90744a0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00b0f135 in QGuiEventDispatcherGlib::processEvents (this=0x90744a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x04f2b059 in QEventLoop::processEvents (this=0xbfd83a24, flags=) at kernel/qeventloop.cpp:149
#38 0x04f2b4aa in QEventLoop::exec (this=0xbfd83a24, flags=...) at kernel/qeventloop.cpp:201
#39 0x04f2f69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x00a4f577 in QApplication::exec () at kernel/qapplication.cpp:3579
#41 0x00914a65 in kdemain (argc=2, argv=0xbfd841b4) at ../../../kate/app/katemain.cpp:377
#42 0x080485fb in main (argc=2, argv=0xbfd841b4) at kate_dummy.cpp:3

This bug may be a duplicate of or related to bug 263686.

Possible duplicates by query: bug 263686, bug 253962, bug 247331.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-05-15 09:40:18 UTC
Certainly not a bug in the text filter plugin. Must be deeper in the part.

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