Bug 276930 - Crash while delteing a page of text.
Summary: Crash while delteing a page of text.
Status: RESOLVED DUPLICATE of bug 243478
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-02 01:39 UTC by Charles MacDonald
Modified: 2011-07-02 07:33 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 Charles MacDonald 2011-07-02 01:39:34 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-32-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I was deleting nearly a window full of text, when to my great surprise kate disapered on me.  I was working on a text document that I use to keep pending events and I was delting some expired events from the top.  first time I have experienced this problem.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb777baa0 (LWP 4114))]

Thread 2 (Thread 0xb4f40b70 (LWP 4120)):
#0  0x00b07422 in __kernel_vsyscall ()
#1  0x0438eb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x061254eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x061180ac in ?? () from /lib/libglib-2.0.so.0
#4  0x061184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0105460f in QEventDispatcherGlib::processEvents (this=0x9c95330, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x01027059 in QEventLoop::processEvents (this=0xb4f40290, flags=) at kernel/qeventloop.cpp:149
#7  0x010274aa in QEventLoop::exec (this=0xb4f40290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00f235a8 in QThread::exec (this=0x99860c0) at thread/qthread.cpp:487
#9  0x01006c1b in QInotifyFileSystemWatcherEngine::run (this=0x99860c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00f2632e in QThreadPrivate::start (arg=0x99860c0) at thread/qthread_unix.cpp:248
#11 0x0037196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x0439ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb777baa0 (LWP 4114)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x015798a2 in KateLayoutCache::lastViewLine (this=0x9d1f580, realLine=-1) at ../../kate/render/katelayoutcache.cpp:469
#8  0x015798f8 in KateLayoutCache::viewLineCount (this=0x9d1f580, realLine=-1) at ../../kate/render/katelayoutcache.cpp:474
#9  0x01579c5f in KateLayoutCache::displayViewLine (this=0x9d1f580, virtualCursor=..., limitToVisible=true) at ../../kate/render/katelayoutcache.cpp:443
#10 0x015e3a4d in KateViewInternal::tagLine (this=0x9d1d3f0, virtualCursor=...) at ../../kate/view/kateviewinternal.cpp:2030
#11 0x015eb409 in KateViewInternal::updateCursor (this=0x9d1d3f0, newCursor=..., force=true, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:1923
#12 0x015eb79b in KateViewInternal::editEnd (this=0x9d1d3f0, editTagLineStart=5, editTagLineEnd=5, tagFrom=true) at ../../kate/view/kateviewinternal.cpp:3400
#13 0x015cad19 in KateView::editEnd (this=0x9b0b980, editTagLineStart=5, editTagLineEnd=5, tagFrom=<value optimized out>) at ../../kate/view/kateview.cpp:1602
#14 0x01532b54 in KateDocument::editEnd (this=0x9aaeab0) at ../../kate/document/katedocument.cpp:981
#15 0x015d25fd in KateView::removeSelectedText (this=0x9b0b980) at ../../kate/view/kateview.cpp:1774
#16 0x01531136 in KateDocument::del (this=0x9aaeab0, view=0x9b0b980, c=...) at ../../kate/document/katedocument.cpp:2918
#17 0x015e01d1 in KateViewInternal::doDelete (this=0x9d1d3f0) at ../../kate/view/kateviewinternal.cpp:850
#18 0x015cd5bc in KateView::keyDelete (this=0x9b0b980) at ../../kate/view/kateview.cpp:2307
#19 0x015d2ea4 in KateView::qt_metacall (this=0x9b0b980, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfd422b8) at ./kateview.moc:375
#20 0x0102dc9a in QMetaObject::metacall (object=0x9b0b980, cl=QMetaObject::ReadProperty, idx=92, argv=0xbfd422b8) at kernel/qmetaobject.cpp:237
#21 0x0103c3d5 in QMetaObject::activate (sender=0x9dab1a0, m=0x93b4d58, local_signal_index=1, argv=0xbfd422b8) at kernel/qobject.cpp:3293
#22 0x08a85bd9 in QAction::triggered (this=0x9dab1a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x08a87dcc in QAction::activate (this=0x9dab1a0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#24 0x08a89698 in QAction::event (this=0x0, e=0x0) at kernel/qaction.cpp:1181
#25 0x00bfbdf3 in KAction::event (this=0x9dab1a0, event=0xbfd427d8) at ../../kdeui/actions/kaction.cpp:129
#26 0x08a8c4dc in QApplicationPrivate::notify_helper (this=0x9986c48, receiver=0x9dab1a0, e=0xbfd427d8) at kernel/qapplication.cpp:4300
#27 0x08a9305e in QApplication::notify (this=0xbfd43704, receiver=0x9dab1a0, e=0xbfd427d8) at kernel/qapplication.cpp:3704
#28 0x00ce840a in KApplication::notify (this=0xbfd43704, receiver=0x9dab1a0, event=0xbfd427d8) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x01028a3b in QCoreApplication::notifyInternal (this=0xbfd43704, receiver=0x9dab1a0, event=0xbfd427d8) at kernel/qcoreapplication.cpp:704
#30 0x08ace34d in QCoreApplication::sendEvent (this=0x9986cf4, e=0xbfd42c54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=0x9986cf4, e=0xbfd42c54) at kernel/qshortcutmap.cpp:879
#32 0x08ad015e in QShortcutMap::tryShortcutEvent (this=0x9986cf4, o=0x9d1d3f0, e=0xbfd42c54) at kernel/qshortcutmap.cpp:364
#33 0x08a94e43 in QApplication::notify (this=0xbfd43704, receiver=0x9d1d3f0, e=0xbfd42c54) at kernel/qapplication.cpp:3746
#34 0x00ce840a in KApplication::notify (this=0xbfd43704, receiver=0x9d1d3f0, event=0xbfd42c54) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x01028a3b in QCoreApplication::notifyInternal (this=0xbfd43704, receiver=0x9d1d3f0, event=0xbfd42c54) at kernel/qcoreapplication.cpp:704
#36 0x08a8d2be in QCoreApplication::sendSpontaneousEvent (receiver=0x9d1d3f0, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 qt_sendSpontaneousEvent (receiver=0x9d1d3f0, event=0x0) at kernel/qapplication.cpp:5279
#38 0x08b46d90 in QKeyMapper::sendKeyEvent (keyWidget=0x9d1d3f0, grab=false, type=QEvent::KeyPress, code=16777223, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#39 0x08b492f5 in QKeyMapperPrivate::translateKeyEvent (this=0x999a0c8, keyWidget=0x9d1d3f0, event=0xbfd4331c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#40 0x08b1c757 in QApplication::x11ProcessEvent (this=0xbfd43704, event=0xbfd4331c) at kernel/qapplication_x11.cpp:3394
#41 0x08b4c60a in x11EventSourceDispatch (s=0x998b638, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x061145e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x061182d8 in ?? () from /lib/libglib-2.0.so.0
#44 0x061184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x010545d5 in QEventDispatcherGlib::processEvents (this=0x9988c50, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x08b4c135 in QGuiEventDispatcherGlib::processEvents (this=0x9988c50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x01027059 in QEventLoop::processEvents (this=0xbfd43614, flags=) at kernel/qeventloop.cpp:149
#48 0x010274aa in QEventLoop::exec (this=0xbfd43614, flags=...) at kernel/qeventloop.cpp:201
#49 0x0102b69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x08a8c577 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0x0135aa65 in kdemain () from /usr/lib/libkdeinit4_kate.so
#52 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x994f77e "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x994f78f "core2blk;1309569236;296109;1409_TIME9224358") at ../../kinit/kinit.cpp:717
#53 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#54 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#55 0x0804fe4f in main (argc=4, argv=0xbfd44654, envp=0xbfd44668) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 266427, bug 262653, bug 243478.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-07-02 07:33:34 UTC
the last part of the backtrace isthe same as in #243478. so mark as duplicate.

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