Bug 273711 - Search and replace crash
Summary: Search and replace crash
Status: RESOLVED DUPLICATE of bug 265426
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-20 11:45 UTC by gamesh.g
Modified: 2011-05-27 17:43 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 gamesh.g 2011-05-20 11:45:16 UTC
Application: kate (3.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
I was typing a find and replace regular expression with about 170 lines of text selected to search in. 

Dynamic word wrap was off and there were a dozen very long lines at the top of the file (some > 3,000 characters).

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

Thread 4 (Thread 0xb239bb70 (LWP 8088)):
#0  0xb78c0424 in __kernel_vsyscall ()
#1  0xb77fdf76 in __poll (fds=0xb1a01008, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb616184b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb61511af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb6151524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb64b3577 in QEventDispatcherGlib::processEvents (this=0xa3731c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6485289 in QEventLoop::processEvents (this=0xb239b290, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6485522 in QEventLoop::exec (this=0xb239b290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb638f2a0 in QThread::exec (this=0xa372f40) at thread/qthread.cpp:492
#9  0xb6466fdb in QInotifyFileSystemWatcherEngine::run (this=0xa372f40) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6391da2 in QThreadPrivate::start (arg=0xa372f40) at thread/qthread_unix.cpp:320
#11 0xb6203e99 in start_thread (arg=0xb239bb70) at pthread_create.c:304
#12 0xb780c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1955b70 (LWP 8089)):
#0  0xb78c0424 in __kernel_vsyscall ()
#1  0xb620848c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb781a3fd in __pthread_cond_wait (cond=0xb27922b0, mutex=0xb2792298) at forward.c:139
#3  0xb2679817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb278d1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb2679851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb278d1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb6203e99 in start_thread (arg=0xb1955b70) at pthread_create.c:304
#6  0xb780c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xafb8bb70 (LWP 8092)):
#0  0xb6150e66 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb6151524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb64b3577 in QEventDispatcherGlib::processEvents (this=0xa657980, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0xb6485289 in QEventLoop::processEvents (this=0xafb8b290, flags=...) at kernel/qeventloop.cpp:149
#4  0xb6485522 in QEventLoop::exec (this=0xafb8b290, flags=...) at kernel/qeventloop.cpp:201
#5  0xb638f2a0 in QThread::exec (this=0xa5f8fb0) at thread/qthread.cpp:492
#6  0xb6466fdb in QInotifyFileSystemWatcherEngine::run (this=0xa5f8fb0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0xb6391da2 in QThreadPrivate::start (arg=0xa5f8fb0) at thread/qthread_unix.cpp:320
#8  0xb6203e99 in start_thread (arg=0xafb8bb70) at pthread_create.c:304
#9  0xb780c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4f7f710 (LWP 8087)):
[KCrash Handler]
#7  0xb28212fd in Kate::TextBuffer::rangesForLine (this=0xa18b000, line=72, view=0xa4c5038, rangesWithAttributeOnly=true) at ../../kate/buffer/katetextbuffer.cpp:752
#8  0xb28bb2a7 in KateRenderer::decorationsForLine (this=0xa4c4fc0, textLine=..., line=72, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../kate/render/katerenderer.cpp:342
#9  0xb28bce36 in KateRenderer::layoutLine (this=0xa4c4fc0, lineLayout=..., maxwidth=-1, cacheLayout=true) at ../../kate/render/katerenderer.cpp:929
#10 0xb28c1cfe in KateLayoutCache::line (this=0xa4c55d8, realLine=72, virtualLine=72) at ../../kate/render/katelayoutcache.cpp:295
#11 0xb28c31da in KateLayoutCache::updateViewCache (this=0xa4c55d8, startPos=..., newViewLineCount=33, viewLinesScrolled=1) at ../../kate/render/katelayoutcache.cpp:266
#12 0xb2919a3e in KateViewInternal::doUpdateView (this=0xa4c8708, changed=<value optimized out>, viewLinesScrolled=1) at ../../kate/view/kateviewinternal.cpp:544
#13 0xb291a2db in KateViewInternal::updateView (this=0xa4c8708, changed=false, viewLinesScrolled=1) at ../../kate/view/kateviewinternal.cpp:518
#14 0xb291b786 in KateViewInternal::scrollPos (this=0xa4c8708, c=..., force=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:471
#15 0xb291c050 in KateViewInternal::makeVisible (this=0xa4c8708, c=..., endCol=0, force=false, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:611
#16 0xb291da64 in KateViewInternal::updateCursor (this=0xa4c8708, newCursor=..., force=false, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:1825
#17 0xb291ea03 in KateViewInternal::placeCursor (this=0xa4c8708, p=..., keepSelection=true, updateSelection=true) at ../../kate/view/kateviewinternal.cpp:2050
#18 0xb291ec4a in KateViewInternal::scrollTimeout (this=0xa4c8708) at ../../kate/view/kateviewinternal.cpp:2983
#19 0xb29201ad in KateViewInternal::qt_metacall (this=0xa4c8708, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9c208c) at ./kateviewinternal.moc:136
#20 0xb648c6ba in QMetaObject::metacall (object=0xa4c8708, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0xbf9c208c) at kernel/qmetaobject.cpp:237
#21 0xb649c4ff in QMetaObject::activate (sender=0xa4c8850, m=0xb65c15a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#22 0xb64e92f7 in QTimer::timeout (this=0xa4c8850) at .moc/release-shared/moc_qtimer.cpp:134
#23 0xb64a23ee in QTimer::timerEvent (this=0xa4c8850, e=0xbf9c25ac) at kernel/qtimer.cpp:271
#24 0xb649b214 in QObject::event (this=0xa4c8850, e=0xbf9c25ac) at kernel/qobject.cpp:1190
#25 0xb6dead24 in QApplicationPrivate::notify_helper (this=0xa046d90, receiver=0xa4c8850, e=0xbf9c25ac) at kernel/qapplication.cpp:4462
#26 0xb6def8ce in QApplication::notify (this=0xbf9c2914, receiver=0xa4c8850, e=0xbf9c25ac) at kernel/qapplication.cpp:3862
#27 0xb681c3ca in KApplication::notify (this=0xbf9c2914, receiver=0xa4c8850, event=0xbf9c25ac) at ../../kdeui/kernel/kapplication.cpp:311
#28 0xb64860bb in QCoreApplication::notifyInternal (this=0xbf9c2914, receiver=0xa4c8850, event=0xbf9c25ac) at kernel/qcoreapplication.cpp:731
#29 0xb64b61e4 in sendEvent (this=0xa04a67c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0xa04a67c) at kernel/qeventdispatcher_unix.cpp:604
#31 0xb64b2e27 in timerSourceDispatch (source=0xa04a6b0) at kernel/qeventdispatcher_glib.cpp:184
#32 idleTimerSourceDispatch (source=0xa04a6b0) at kernel/qeventdispatcher_glib.cpp:231
#33 0xb6150aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb6151270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb6151524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb64b353c in QEventDispatcherGlib::processEvents (this=0xa005aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0xb6e9e775 in QGuiEventDispatcherGlib::processEvents (this=0xa005aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb6485289 in QEventLoop::processEvents (this=0xbf9c2844, flags=...) at kernel/qeventloop.cpp:149
#39 0xb6485522 in QEventLoop::exec (this=0xbf9c2844, flags=...) at kernel/qeventloop.cpp:201
#40 0xb6489ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0xb6de88e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#42 0xb78b92dd in kdemain (argc=2, argv=0xbf9c2f84) at ../../../kate/app/katemain.cpp:377
#43 0x080485ab in main (argc=2, argv=0xbf9c2f84) at kate_dummy.cpp:3

Possible duplicates by query: bug 272633, bug 267122, bug 265426.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-05-27 17:43:19 UTC

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