Bug 313326 - Kile crashes when copy and paste
Summary: Kile crashes when copy and paste
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-15 20:49 UTC by Thomas Baag
Modified: 2013-01-20 15:51 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 Thomas Baag 2013-01-15 20:49:49 UTC
Application: kile (2.1.3)
KDE Platform Version: 4.9.3
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 switched to a tab with a opened file (part of a multifile latex document) copied a line and tried to past it twice. This was meant has an operation to duplicate the line. Kile crashes while doing first paste i think. I did this really fast with keyboard shortcuts "ctrl+c", "ctrl+v" and "ctrl+v" and think it already crashed after first "ctrl+v". I can't reproduce it now, maybe because i tried to disable and reenable spell checking. But 1-2 hours ago it happened three times in a row until i finally waited some time after activating the tab.

The crash can be reproduced some of the time.

-- 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 0x7f0d26323780 (LWP 31223))]

Thread 4 (Thread 0x7f0d1dbc1700 (LWP 31224)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x7f0d18002860) at kernel/qeventdispatcher_unix.cpp:402
#1  0x00007f0d31710781 in QTimerInfoList::timerWait (this=0x7f0d18002860, tm=...) at kernel/qeventdispatcher_unix.cpp:451
#2  0x00007f0d3170f2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0d1dbc0c14) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007f0d3170f375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#4  0x00007f0d2b1e8618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0d2b1e8cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0d2b1e8ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0d3170fc16 in QEventDispatcherGlib::processEvents (this=0x7f0d180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f0d316e02bf in QEventLoop::processEvents (this=this@entry=0x7f0d1dbc0dd0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f0d316e0548 in QEventLoop::exec (this=0x7f0d1dbc0dd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f0d315e1b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f0d316c09af in QInotifyFileSystemWatcherEngine::run (this=0x2505300) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f0d315e4aec in QThreadPrivate::start (arg=0x2505300) at thread/qthread_unix.cpp:338
#13 0x00007f0d2baafe9a in start_thread (arg=0x7f0d1dbc1700) at pthread_create.c:308
#14 0x00007f0d2fe5dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0d1cbf1700 (LWP 31227)):
#0  __pthread_mutex_lock (mutex=0x7f0d10000a60) at pthread_mutex_lock.c:87
#1  0x00007f0d2b225e21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0d2b1e84d3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0d2b1e8cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0d2b1e8ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0d3170fc16 in QEventDispatcherGlib::processEvents (this=0x7f0d100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0d316e02bf in QEventLoop::processEvents (this=this@entry=0x7f0d1cbf0dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0d316e0548 in QEventLoop::exec (this=0x7f0d1cbf0dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0d315e1b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f0d316c09af in QInotifyFileSystemWatcherEngine::run (this=0x2de77d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f0d315e4aec in QThreadPrivate::start (arg=0x2de77d0) at thread/qthread_unix.cpp:338
#11 0x00007f0d2baafe9a in start_thread (arg=0x7f0d1cbf1700) at pthread_create.c:308
#12 0x00007f0d2fe5dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0d14e6b700 (LWP 31242)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d2e0becd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0d2e0bed09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0d2baafe9a in start_thread (arg=0x7f0d14e6b700) at pthread_create.c:308
#4  0x00007f0d2fe5dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0d26323780 (LWP 31223)):
[KCrash Handler]
#6  0x00007f0d1e6b4c7b in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=64, view=0x313d8f0, rangesWithAttributeOnly=false) at ../../part/buffer/katetextbuffer.cpp:820
#7  0x00007f0d1e78a1b1 in KateView::updateRangesIn (this=0x313d8f0, activationType=KTextEditor::Attribute::ActivateCaretIn) at ../../part/view/kateview.cpp:2845
#8  0x00007f0d1e79a942 in KateViewInternal::cursorMoved (this=0x2390420) at ../../part/view/kateviewinternal.cpp:3413
#9  0x00007f0d1e79aaaf in KateViewInternal::updateCursor (this=this@entry=0x2390420, newCursor=..., force=force@entry=false, center=center@entry=false, calledExternally=calledExternally@entry=false) at ../../part/view/kateviewinternal.cpp:1889
#10 0x00007f0d1e79de16 in KateViewInternal::cursorDown (this=0x2390420, sel=<optimized out>) at ../../part/view/kateviewinternal.cpp:1462
#11 0x00007f0d316f6f5f in QMetaObject::activate (sender=0x322e460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa24a41f0) at kernel/qobject.cpp:3547
#12 0x00007f0d30807a32 in QAction::triggered (this=this@entry=0x322e460, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007f0d30807c20 in QAction::activate (this=0x322e460, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#14 0x00007f0d30807d87 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#15 0x00007f0d32045867 in KAction::event (this=<optimized out>, event=0x7fffa24a4790) at ../../kdeui/actions/kaction.cpp:131
#16 0x00007f0d3080de9c in QApplicationPrivate::notify_helper (this=this@entry=0x1ee9a70, receiver=receiver@entry=0x322e460, e=e@entry=0x7fffa24a4790) at kernel/qapplication.cpp:4562
#17 0x00007f0d3081230a in QApplication::notify (this=0x7fffa24a5c20, receiver=0x322e460, e=0x7fffa24a4790) at kernel/qapplication.cpp:4423
#18 0x00007f0d3211f1d6 in KApplication::notify (this=0x7fffa24a5c20, receiver=0x322e460, event=0x7fffa24a4790) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f0d316e156e in QCoreApplication::notifyInternal (this=0x7fffa24a5c20, receiver=0x322e460, event=0x7fffa24a4790) at kernel/qcoreapplication.cpp:915
#20 0x00007f0d3083ed74 in sendEvent (event=0x7fffa24a4790, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QShortcutMap::dispatchEvent (this=this@entry=0x1ee9b90, e=e@entry=0x7fffa24a4d60) at kernel/qshortcutmap.cpp:884
#22 0x00007f0d308403a3 in QShortcutMap::tryShortcutEvent (this=0x1ee9b90, o=<optimized out>, e=0x7fffa24a4d60) at kernel/qshortcutmap.cpp:364
#23 0x00007f0d30813fe9 in QApplication::notify (this=0x7fffa24a5c20, receiver=0x2390420, e=0x7fffa24a4d60) at kernel/qapplication.cpp:3986
#24 0x00007f0d3211f1d6 in KApplication::notify (this=0x7fffa24a5c20, receiver=0x2390420, event=0x7fffa24a4d60) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f0d316e156e in QCoreApplication::notifyInternal (this=0x7fffa24a5c20, receiver=0x2390420, event=0x7fffa24a4d60) at kernel/qcoreapplication.cpp:915
#26 0x00007f0d308aee79 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x2390420, grab=grab@entry=false, type=QEvent::KeyPress, code=16777237, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=116, nativeVirtualKey=65364, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#27 0x00007f0d308af2b1 in QKeyMapperPrivate::translateKeyEvent (this=0x1f3eeb0, keyWidget=0x2390420, event=0x7fffa24a5790, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#28 0x00007f0d3088aed9 in QApplication::x11ProcessEvent (this=0x7fffa24a5c20, event=0x7fffa24a5790) at kernel/qapplication_x11.cpp:3630
#29 0x00007f0d308b2fa2 in x11EventSourceDispatch (s=0x1edb0f0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f0d2b1e8ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0d2b1e8de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f0d2b1e8ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f0d3170fbf6 in QEventDispatcherGlib::processEvents (this=0x1eb6b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f0d308b2c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f0d316e02bf in QEventLoop::processEvents (this=this@entry=0x7fffa24a5b60, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f0d316e0548 in QEventLoop::exec (this=0x7fffa24a5b60, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f0d316e5708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#38 0x0000000000436604 in ?? ()
#39 0x00007f0d2fd8b76d in __libc_start_main (main=0x435530, argc=1, ubp_av=0x7fffa24a66c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa24a66b8) at libc-start.c:226
#40 0x0000000000438a25 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2013-01-18 20:43:11 UTC
Forwarding to KatePart.
Comment 2 Dominik Haumann 2013-01-20 15:51:17 UTC

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