Bug 278269 - Crash on regular editing (KateLineLayout::viewLineCount (this=0x0))
Summary: Crash on regular editing (KateLineLayout::viewLineCount (this=0x0))
Status: RESOLVED DUPLICATE of bug 269223
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-07-22 13:03 UTC by Con Kolivas
Modified: 2011-08-09 13:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Con Kolivas 2011-07-22 13:03:46 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.4-ck1-1 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
I was flicking back and forth from konsole to kate when it spontaneously crashed.

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

Thread 2 (Thread 0x7f0ee5b77700 (LWP 1853)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0ee654f2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0ee6868180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f0ee654f2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f0ee6876254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0ef57e9d8c in start_thread (arg=0x7f0ee5b77700) at pthread_create.c:304
#4  0x00007f0ef816e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0ef87fc780 (LWP 1837)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x00007f0ee6bce46a in KateTextLayout::isValid (this=<value optimized out>) at ../../kate/render/katetextlayout.cpp:90
#8  0x00007f0ee6bce5f9 in KateTextLayout::isDirty (this=0x4478dc0) at ../../kate/render/katetextlayout.cpp:36
#9  0x00007f0ee6c17375 in KateViewInternal::updateDirty (this=0x2022990) at ../../kate/view/kateviewinternal.cpp:2805
#10 0x00007f0ee6c1b744 in KateViewInternal::updateCursor (this=0x2022990, newCursor=<value optimized out>, force=<value optimized out>, center=true, calledExternally=true) at ../../kate/view/kateviewinternal.cpp:1855
#11 0x00007f0ee6c05186 in KateView::setCursorPositionInternal (this=0x2080140, position=..., tabwidth=1, calledExternally=true) at ../../kate/view/kateview.cpp:1114
#12 0x00007f0ee6babd6c in KateUndoGroup::undo (this=0x43468c0, view=0x2080140) at ../../kate/undo/kateundo.cpp:219
#13 0x00007f0ee6bad56f in KateUndoManager::undo (this=0x1f10d70) at ../../kate/undo/kateundomanager.cpp:240
#14 0x00007f0ee6b9ef51 in KateDocument::qt_metacall (this=0x20eb900, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff55cbaae0) at ./katedocument.moc:331
#15 0x00007f0ef60ad5f8 in QMetaObject::activate (sender=0x22a5e40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff55cbaae0) at kernel/qobject.cpp:3287
#16 0x00007f0ef759e112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x00007f0ef759e2ff in QAction::activate (this=0x22a5e40, event=<value optimized out>) at kernel/qaction.cpp:1257
#18 0x00007f0ef759e46f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#19 0x00007f0ef67a151a in KAction::event (this=<value optimized out>, event=0x7fff55cbb120) at ../../kdeui/actions/kaction.cpp:131
#20 0x00007f0ef75a49e4 in QApplicationPrivate::notify_helper (this=0x1b95b40, receiver=0x22a5e40, e=0x7fff55cbb120) at kernel/qapplication.cpp:4462
#21 0x00007f0ef75a93aa in QApplication::notify (this=<value optimized out>, receiver=0x22a5e40, e=0x7fff55cbb120) at kernel/qapplication.cpp:4341
#22 0x00007f0ef687f866 in KApplication::notify (this=0x7fff55cbc630, receiver=0x22a5e40, event=0x7fff55cbb120) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f0ef609849c in QCoreApplication::notifyInternal (this=0x7fff55cbc630, receiver=0x22a5e40, event=0x7fff55cbb120) at kernel/qcoreapplication.cpp:731
#24 0x00007f0ef75d6be0 in sendEvent (this=<value optimized out>, e=0x7fff55cbb6f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff55cbb6f0) at kernel/qshortcutmap.cpp:879
#26 0x00007f0ef75d8088 in QShortcutMap::tryShortcutEvent (this=0x1b95c68, o=<value optimized out>, e=0x7fff55cbb6f0) at kernel/qshortcutmap.cpp:364
#27 0x00007f0ef75aad15 in QApplication::notify (this=0x7fff55cbc630, receiver=0x2022990, e=0x7fff55cbb6f0) at kernel/qapplication.cpp:3904
#28 0x00007f0ef687f866 in KApplication::notify (this=0x7fff55cbc630, receiver=0x2022990, event=0x7fff55cbb6f0) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f0ef609849c in QCoreApplication::notifyInternal (this=0x7fff55cbc630, receiver=0x2022990, event=0x7fff55cbb6f0) at kernel/qcoreapplication.cpp:731
#30 0x00007f0ef7647cf9 in QKeyMapper::sendKeyEvent (keyWidget=0x2022990, grab=<value optimized out>, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=52, nativeVirtualKey=122, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#31 0x00007f0ef7648176 in QKeyMapperPrivate::translateKeyEvent (this=0x1bd7bf0, keyWidget=0x2022990, event=0x7fff55cbc280, grab=false) at kernel/qkeymapper_x11.cpp:1836
#32 0x00007f0ef7623f03 in QApplication::x11ProcessEvent (this=0x7fff55cbc630, event=0x7fff55cbc280) at kernel/qapplication_x11.cpp:3571
#33 0x00007f0ef764c162 in x11EventSourceDispatch (s=0x1b99370, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f0ef531dbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f0ef531e3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f0ef531e639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f0ef60c33ef in QEventDispatcherGlib::processEvents (this=0x1b29340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f0ef764bdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f0ef6097882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f0ef6097abc in QEventLoop::exec (this=0x7fff55cbc580, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f0ef609becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x00007f0ef8423295 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#43 0x00007f0ef80a6eff in __libc_start_main (main=0x400730 <_start+256>, argc=3, ubp_av=0x7fff55cbdb68, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff55cbdb58) at libc-start.c:226
#44 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2011-07-25 11:34:50 UTC
most probably related to bug 247081 and folding
Comment 2 Dominik Haumann 2011-08-09 13:27:44 UTC
Through undo in broken layout cache, very probably a duplicate.

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