Bug 252284 - Kile crashes when deleting bib file's bottom lines
Summary: Kile crashes when deleting bib file's bottom lines
Status: RESOLVED DUPLICATE of bug 247081
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:
: 253554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-24 21:37 UTC by pa_ubach
Modified: 2010-11-17 21:07 UTC (History)
2 users (show)

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 pa_ubach 2010-09-24 21:37:12 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-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kile suddenly crashes when deleting the last lines of the bib file. In this case I am editing a bib file included in a latex project. The project uses the package biblatex.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f492aa0acdf in KateLayoutCache::lastViewLine (this=<value optimized out>, realLine=1033) at ../../kate/render/katelayoutcache.cpp:469
#7  0x00007f492aa6dbf1 in KateViewInternal::viewLineOffset (this=0x2c72700, virtualCursor=..., offset=19, keepX=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1359
#8  0x00007f492aa70852 in KateViewInternal::makeVisible (this=0x2c72700, c=..., endCol=0, force=false, center=<value optimized out>, calledExternally=false)
    at ../../kate/view/kateviewinternal.cpp:666
#9  0x00007f492aa71009 in KateViewInternal::updateCursor (this=0x2c72700, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1914
#10 0x00007f492aa71c39 in KateViewInternal::editEnd (this=0x2c72700, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:3399
#11 0x00007f492a9c9d11 in KateDocument::editEnd (this=0x287da30) at ../../kate/document/katedocument.cpp:977
#12 0x00007f492aa5c4ca in KateView::removeSelectedText (this=0x2c77500) at ../../kate/view/kateview.cpp:1774
#13 0x00007f492a9c841e in KateDocument::del (this=0x287da30, view=0x2c77500, c=...) at ../../kate/document/katedocument.cpp:2914
#14 0x00007f492aa578dc in KateView::keyDelete (this=0x2c77500) at ../../kate/view/kateview.cpp:2307
#15 0x00007f492aa5cbdd in KateView::qt_metacall (this=0x2c77500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff22e876a0) at ./kateview.moc:375
#16 0x00007f493c5eae3f in QMetaObject::activate (sender=0x2d8fca0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#17 0x00007f493cf46032 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f493cf480ab in QAction::activate (this=0x2d8fca0, event=<value optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f493cf499b7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#20 0x00007f493dddcf3d in KAction::event (this=0x0, event=0x7fff22e87d10) at ../../kdeui/actions/kaction.cpp:129
#21 0x00007f493cf4c22c in QApplicationPrivate::notify_helper (this=0x193c7c0, receiver=0x2d8fca0, e=0x7fff22e87d10) at kernel/qapplication.cpp:4300
#22 0x00007f493cf526fb in QApplication::notify (this=0x7fff22e892c0, receiver=0x2d8fca0, e=0x7fff22e87d10) at kernel/qapplication.cpp:4183
#23 0x00007f493deb2526 in KApplication::notify (this=0x7fff22e892c0, receiver=0x2d8fca0, event=0x7fff22e87d10) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f493c5d806c in QCoreApplication::notifyInternal (this=0x7fff22e892c0, receiver=0x2d8fca0, event=0x7fff22e87d10) at kernel/qcoreapplication.cpp:704
#25 0x00007f493cf87e86 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff22e88310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff22e88310) at kernel/qshortcutmap.cpp:879
#27 0x00007f493cf89c97 in QShortcutMap::tryShortcutEvent (this=0x193c8e8, o=<value optimized out>, e=0x7fff22e88310) at kernel/qshortcutmap.cpp:364
#28 0x00007f493cf54268 in QApplication::notify (this=0x7fff22e892c0, receiver=0x2c72700, e=0x7fff22e88310) at kernel/qapplication.cpp:3746
#29 0x00007f493deb2526 in KApplication::notify (this=0x7fff22e892c0, receiver=0x2c72700, event=0x7fff22e88310) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f493c5d806c in QCoreApplication::notifyInternal (this=0x7fff22e892c0, receiver=0x2c72700, event=0x7fff22e88310) at kernel/qcoreapplication.cpp:704
#31 0x00007f493cff716a in QKeyMapper::sendKeyEvent (keyWidget=0x2c72700, grab=<value optimized out>, type=QEvent::KeyPress, code=16777223, modifiers=<value optimized out>, text=..., 
    autorepeat=false, count=1, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#32 0x00007f493cff96f0 in QKeyMapperPrivate::translateKeyEvent (this=0x197c5f0, keyWidget=0x2c72700, event=<value optimized out>, grab=112) at kernel/qkeymapper_x11.cpp:1831
#33 0x00007f493cfd0904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff22e88ee0) at kernel/qapplication_x11.cpp:3394
#34 0x00007f493cffc882 in x11EventSourceDispatch (s=0x1940010, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f493860a8c2 in g_main_dispatch (context=0x193f120) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#36 IA__g_main_context_dispatch (context=0x193f120) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#37 0x00007f493860e748 in g_main_context_iterate (context=0x193f120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#38 0x00007f493860e8fc in IA__g_main_context_iteration (context=0x193f120, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#39 0x00007f493c601513 in QEventDispatcherGlib::processEvents (this=0x1917570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007f493cffc46e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f493c5d6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f493c5d6d6c in QEventLoop::exec (this=0x7fff22e89210, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f493c5daaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x00000000005f21f2 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-10-02 17:37:27 UTC
Forwarding this to KatePart.
Comment 2 Milian Wolff 2010-10-21 19:58:01 UTC
*** Bug 254701 has been marked as a duplicate of this bug. ***
Comment 3 Milian Wolff 2010-10-21 19:58:51 UTC

*** This bug has been marked as a duplicate of bug 247081 ***
Comment 4 Michel Ludwig 2010-11-17 21:07:08 UTC
*** Bug 253554 has been marked as a duplicate of this bug. ***