Bug 241992 - Kile crashes without apparent reason
Summary: Kile crashes without apparent reason
Status: RESOLVED DUPLICATE of bug 237256
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 14:56 UTC by Ralph Holz
Modified: 2010-06-17 23:49 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (7.10 KB, text/plain)
2010-06-17 20:28 UTC, Ralph Holz
Details
New crash information added by DrKonqi (7.22 KB, text/plain)
2010-06-17 20:30 UTC, Ralph Holz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Holz 2010-06-17 14:56:09 UTC
Application: kile (2.0.85)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Crashed during typing. Sorry that I cannot add more here - the crash came out of the blue and seemingly randomly.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f78adf17760 (LWP 3159))]

Thread 2 (Thread 0x7f789acc0710 (LWP 3160)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f789acbfaa0 in ?? ()
#2  0x00007fffad5ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f78adf17760 (LWP 3159)):
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f78a1193e2a in KateLayoutCache::viewLine (this=0x22cb200, realCursor=...) at ../../kate/render/katelayoutcache.cpp:395
#7  0x00007f78a1194421 in KateLayoutCache::textLayout (this=0x22cb200, realCursor=...) at ../../kate/render/katelayoutcache.cpp:337
#8  0x00007f78a11f994f in KateViewInternal::makeVisible (this=0x257b7a0, c=<value optimized out>, endCol=<value optimized out>, force=false, center=<value optimized out>, 
    calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:690
#9  0x00007f78a11fa009 in KateViewInternal::updateCursor (this=0x257b7a0, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1914
#10 0x00007f78a11fac39 in KateViewInternal::editEnd (this=0x257b7a0, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:3399
#11 0x00007f78a1152d11 in KateDocument::editEnd (this=0x1ef6130) at ../../kate/document/katedocument.cpp:977
#12 0x00007f78a1159aa6 in KateDocument::removeText (this=0x1ef6130, _range=<value optimized out>, block=<value optimized out>) at ../../kate/document/katedocument.cpp:821
#13 0x00007f78a115b61a in KateDocument::backspace (this=0x1ef6130, view=<value optimized out>, c=<value optimized out>) at ../../kate/document/katedocument.cpp:2906
#14 0x00007f78a11e0a5c in KateView::backspace (this=0x2af2450) at ../../kate/view/kateview.cpp:2295
#15 0x00007f78a11e5bbd in KateView::qt_metacall (this=0x2af2450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffad54e600) at ./kateview.moc:373
#16 0x00007f78a9c97e3f in QMetaObject::activate (sender=0x20377c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#17 0x00007f78aa5f3032 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f78aa5f50ab in QAction::activate (this=0x20377c0, event=<value optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f78aa5f69b7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#20 0x00007f78ab489f3d in KAction::event (this=0x0, event=0x7fffad54ec70) at ../../kdeui/actions/kaction.cpp:129
#21 0x00007f78aa5f922c in QApplicationPrivate::notify_helper (this=0xfe07c0, receiver=0x20377c0, e=0x7fffad54ec70) at kernel/qapplication.cpp:4300
#22 0x00007f78aa5ff6fb in QApplication::notify (this=0x7fffad550220, receiver=0x20377c0, e=0x7fffad54ec70) at kernel/qapplication.cpp:4183
#23 0x00007f78ab55f526 in KApplication::notify (this=0x7fffad550220, receiver=0x20377c0, event=0x7fffad54ec70) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f78a9c8506c in QCoreApplication::notifyInternal (this=0x7fffad550220, receiver=0x20377c0, event=0x7fffad54ec70) at kernel/qcoreapplication.cpp:704
#25 0x00007f78aa634e86 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fffad54f270) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffad54f270) at kernel/qshortcutmap.cpp:879
#27 0x00007f78aa636c97 in QShortcutMap::tryShortcutEvent (this=0xfe08e8, o=<value optimized out>, e=0x7fffad54f270) at kernel/qshortcutmap.cpp:364
#28 0x00007f78aa601268 in QApplication::notify (this=0x7fffad550220, receiver=0x257b7a0, e=0x7fffad54f270) at kernel/qapplication.cpp:3746
#29 0x00007f78ab55f526 in KApplication::notify (this=0x7fffad550220, receiver=0x257b7a0, event=0x7fffad54f270) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f78a9c8506c in QCoreApplication::notifyInternal (this=0x7fffad550220, receiver=0x257b7a0, event=0x7fffad54f270) at kernel/qcoreapplication.cpp:704
#31 0x00007f78aa6a416a in QKeyMapper::sendKeyEvent (keyWidget=0x257b7a0, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=<value optimized out>, text=..., 
    autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#32 0x00007f78aa6a66f0 in QKeyMapperPrivate::translateKeyEvent (this=0x101f7a0, keyWidget=0x257b7a0, event=<value optimized out>, grab=16) at kernel/qkeymapper_x11.cpp:1831
#33 0x00007f78aa67d904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffad54fe40) at kernel/qapplication_x11.cpp:3394
#34 0x00007f78aa6a9882 in x11EventSourceDispatch (s=0xfe4050, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f78a5cb88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f78a5cbc748 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f78a5cbc8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f78a9cae513 in QEventDispatcherGlib::processEvents (this=0xfbb570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f78aa6a946e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f78a9c83992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f78a9c83d6c in QEventLoop::exec (this=0x7fffad550170, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f78a9c87aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x00000000005f21f2 in _start ()

Reported using DrKonqi
Comment 1 Ralph Holz 2010-06-17 20:28:41 UTC
Created attachment 48082 [details]
New crash information added by DrKonqi

This is from a second crash today. Same same as last time.
Comment 2 Ralph Holz 2010-06-17 20:30:50 UTC
Created attachment 48083 [details]
New crash information added by DrKonqi

OK, I have found a pattern now. It always happens when I am deleting the same portion of text and repeatedly hitting the backspace key.
Comment 3 Michel Ludwig 2010-06-17 23:09:03 UTC
This one is for KatePart. But if I'm not mistaken, it has been fixed already.
Comment 4 Dominik Haumann 2010-06-17 23:49:18 UTC
The bug with bracktrace in comment #1 and comment #2 is fixed.
However, the initial backtrace is different (here the pointer is not 0x0).

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