Bug 313427 - kile crashed when cutting a line
Summary: kile crashed when cutting a line
Status: RESOLVED DUPLICATE of bug 265426
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: 2013-01-17 22:58 UTC by Arne Henningsen
Modified: 2013-01-20 14:32 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 Arne Henningsen 2013-01-17 22:58:22 UTC
Application: kile (2.1.2)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed: I typed "\begin{frame}" and kile automatically inserted "\end{frame}". I selected the entire line "\end{frame}" (with shift + down) and wanted to cut it with ctrl-c but kile crashed. I noticed that "caps lock" was turned on but I do not know if this was related to the bug. I will try it out and let you know if I find out anything new.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f431cc1c780 (LWP 8665))]

Thread 4 (Thread 0x7f431420a700 (LWP 8666)):
#0  0x00007f432674b303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4321ae1d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4321ae1ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4328008c16 in QEventDispatcherGlib::processEvents (this=0x7f430c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4327fd92bf in QEventLoop::processEvents (this=this@entry=0x7f4314209dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4327fd9548 in QEventLoop::exec (this=0x7f4314209dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4327edab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4327fb99af in QInotifyFileSystemWatcherEngine::run (this=0x1c31de0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4327eddaec in QThreadPrivate::start (arg=0x1c31de0) at thread/qthread_unix.cpp:338
#9  0x00007f43223a8e9a in start_thread (arg=0x7f431420a700) at pthread_create.c:308
#10 0x00007f4326756cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f431324a700 (LWP 8667)):
#0  0x00007f432674b303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4321ae1d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4321ae1ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4328008c16 in QEventDispatcherGlib::processEvents (this=0x7f43040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4327fd92bf in QEventLoop::processEvents (this=this@entry=0x7f4313249dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4327fd9548 in QEventLoop::exec (this=0x7f4313249dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4327edab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4327fb99af in QInotifyFileSystemWatcherEngine::run (this=0x246a1e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4327eddaec in QThreadPrivate::start (arg=0x246a1e0) at thread/qthread_unix.cpp:338
#9  0x00007f43223a8e9a in start_thread (arg=0x7f431324a700) at pthread_create.c:308
#10 0x00007f4326756cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f430344e700 (LWP 8742)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f43249b7cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f43249b7d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f43223a8e9a in start_thread (arg=0x7f430344e700) at pthread_create.c:308
#4  0x00007f4326756cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f431cc1c780 (LWP 8665)):
[KCrash Handler]
#6  0x00000000fffefffe in ?? ()
#7  0x00007f4314f07c7e in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=96, view=0x81ee770, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#8  0x00007f4314f97f39 in KateRenderer::decorationsForLine (this=this@entry=0x80aab00, textLine=..., line=96, selectionsOnly=selectionsOnly@entry=false, completionHighlight=0x88d44b8, completionHighlight@entry=0x0, completionSelected=completionSelected@entry=false) at ../../part/render/katerenderer.cpp:333
#9  0x00007f4314f991c9 in KateRenderer::layoutLine (this=0x80aab00, lineLayout=..., maxwidth=-1, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:895
#10 0x00007f4314f9d8a0 in KateLayoutCache::line (this=this@entry=0x80895f0, realLine=realLine@entry=96, virtualLine=virtualLine@entry=96) at ../../part/render/katelayoutcache.cpp:299
#11 0x00007f4314f9e8dc in KateLayoutCache::updateViewCache (this=0x80895f0, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270
#12 0x00007f4314fe7a29 in KateViewInternal::tagLines (this=this@entry=0x81a13e0, start=..., end=..., realCursors=realCursors@entry=true) at ../../part/view/kateviewinternal.cpp:1992
#13 0x00007f4314fe7e8c in KateViewInternal::tagLines (this=0x81a13e0, start=81, end=<optimized out>, realLines=<optimized out>) at ../../part/view/kateviewinternal.cpp:1962
#14 0x00007f4314f5b2d2 in KateDocument::tagLines (this=<optimized out>, start=81, end=160) at ../../part/document/katedocument.cpp:3636
#15 0x00007f4314f67b96 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./katedocument.moc:281
#16 KateDocument::qt_static_metacall (_o=0x81edc20, _c=<optimized out>, _id=<optimized out>, _a=0x7fff62a3b4b0) at ./katedocument.moc:205
#17 0x00007f4327feff5f in QMetaObject::activate (sender=0x80e63f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff62a3b4b0) at kernel/qobject.cpp:3547
#18 0x00007f4314f7233f in KateBuffer::tagLines (this=this@entry=0x80e63f0, _t1=_t1@entry=81, _t2=_t2@entry=160) at ./katebuffer.moc:112
#19 0x00007f4314f73747 in KateBuffer::doHighlight (this=<optimized out>, startLine=81, endLine=84, invalidate=<optimized out>) at ../../part/document/katebuffer.cpp:739
#20 0x00007f4314f5c54c in editEnd (this=0x81edc20) at ../../part/document/katedocument.cpp:856
#21 KateDocument::editEnd (this=0x81edc20) at ../../part/document/katedocument.cpp:837
#22 0x00007f4314f602ce in KateDocument::newLine (this=0x81edc20, v=0x81ee770) at ../../part/document/katedocument.cpp:2744
#23 0x00007f4314feba34 in KateViewInternal::doReturn (this=0x81a13e0) at ../../part/view/kateviewinternal.cpp:776
#24 0x00007f4314ff3078 in accept (this=<optimized out>) at /usr/include/qt4/QtCore/qcoreevent.h:306
#25 keyPressEvent (e=0x7fff62a3bdc0, this=0x81a13e0) at ../../part/view/kateviewinternal.cpp:2318
#26 KateViewInternal::keyPressEvent (this=0x81a13e0, e=0x7fff62a3bdc0) at ../../part/view/kateviewinternal.cpp:2231
#27 0x00007f4314feb10b in KateViewInternal::eventFilter (this=0x81a13e0, obj=0x81a13e0, e=0x7fff62a3bdc0) at ../../part/view/kateviewinternal.cpp:2183
#28 0x00007f4327fda6d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x81a13e0, event=0x7fff62a3bdc0) at kernel/qcoreapplication.cpp:1025
#29 0x00007f4327106e6c in QApplicationPrivate::notify_helper (this=this@entry=0x16f5d50, receiver=receiver@entry=0x81a13e0, e=e@entry=0x7fff62a3bdc0) at kernel/qapplication.cpp:4558
#30 0x00007f432710be84 in QApplication::notify (this=<optimized out>, receiver=0x81a13e0, e=0x7fff62a3bdc0) at kernel/qapplication.cpp:4003
#31 0x00007f4328a181d6 in KApplication::notify (this=0x7fff62a3d580, receiver=0x81a13e0, event=0x7fff62a3bdc0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f4327fda56e in QCoreApplication::notifyInternal (this=0x7fff62a3d580, receiver=0x81a13e0, event=0x7fff62a3bdc0) at kernel/qcoreapplication.cpp:915
#33 0x00007f43271a7e79 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x81a13e0, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=18) at kernel/qkeymapper_x11.cpp:1866
#34 0x00007f43271a82b1 in QKeyMapperPrivate::translateKeyEvent (this=0x1747a90, keyWidget=0x81a13e0, event=0x7fff62a3c7f0, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#35 0x00007f4327183ed9 in QApplication::x11ProcessEvent (this=0x7fff62a3d580, event=0x7fff62a3c7f0) at kernel/qapplication_x11.cpp:3630
#36 0x00007f43271abfa2 in x11EventSourceDispatch (s=0x16fa400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f4321ae1ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f4321ae1de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f4321ae1ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f4328008c16 in QEventDispatcherGlib::processEvents (this=0x16c8b30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#41 0x00007f43271abc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f4327fd92bf in QEventLoop::processEvents (this=this@entry=0x7fff62a3cbc0, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f4327fd9548 in QEventLoop::exec (this=0x7fff62a3cbc0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f4327fde708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x00000000004caaeb in ?? ()
#46 0x00007f432668476d in __libc_start_main (main=0x4c99d8, argc=1, ubp_av=0x7fff62a3d6e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff62a3d6d8) at libc-start.c:226
#47 0x00000000004365b9 in _start ()

This bug may be a duplicate of or related to bug 300537, bug 301752, bug 265426.

Possible duplicates by query: bug 300537.

Reported using DrKonqi
Comment 1 Arne Henningsen 2013-01-17 23:10:29 UTC
After recovering the .tex file in kile, I noticed that my description above is slightly wrong, sorry! kile crahed not *while* I *cut* the line "\end{frame}" but *after* I *pasted* this line (after the recovery, this line was already at the place, where I wanted it to be). I tried to replicate this crash many times in several different ways -- with no success.
Comment 2 Michel Ludwig 2013-01-18 20:22:47 UTC
Forwarding to KatePart.
Comment 3 Dominik Haumann 2013-01-20 14:32:01 UTC
Known issue for years, and still no way to reproduce.

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