Bug 301752 - Crash on paste
Summary: Crash on 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:
: 300537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-12 17:42 UTC by Thiago
Modified: 2012-07-06 15:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.54 KB, text/plain)
2012-06-28 08:38 UTC, Blair Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago 2012-06-12 17:42:25 UTC
Application: kile (2.1.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-20-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Copied a sentence using Ctrl+c, then I tried to paste it using Ctrl+v when it crashed.

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

Thread 4 (Thread 0x7f1c8f541700 (LWP 10921)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007f1ca2048458 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f1c9d4eef68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1c9d4ef792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1c96c5b516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f1c9d5142b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1c9dfbcefc in start_thread (arg=0x7f1c8f541700) at pthread_create.c:304
#7  0x00007f1ca205459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1c849c1700 (LWP 10936)):
#0  0xffffffffff600140 in ?? ()
#1  0x00007fffb0fff7e7 in ?? ()
#2  0x00007f1c9d7a407b in __GI_clock_gettime (clock_id=1, tp=0x7f1c849c0b40) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f1ca385e074 in do_gettime (frac=0x7f1c849c0b58, sec=0x7f1c849c0b50) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f1ca39206ed in QTimerInfoList::updateCurrentTime (this=0x232af00) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f1ca3920a33 in QTimerInfoList::timerWait (this=0x232af00, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f1ca391f44c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1c849c0c3c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f1ca391f4f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f1c9d4edff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1c9d4eedfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1c9d4ef429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f1ca391ff3e in QEventDispatcherGlib::processEvents (this=0x2326280, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f1ca38f3cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f1ca38f3ef7 in QEventLoop::exec (this=0x7f1c849c0dd0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f1ca380b27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#16 0x00007f1ca38d6cbf in QInotifyFileSystemWatcherEngine::run (this=0x23264b0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f1ca380dd05 in QThreadPrivate::start (arg=0x23264b0) at thread/qthread_unix.cpp:331
#18 0x00007f1c9dfbcefc in start_thread (arg=0x7f1c849c1700) at pthread_create.c:304
#19 0x00007f1ca205459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1c820a5700 (LWP 10990)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1ca0369fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1ca036a019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1c9dfbcefc in start_thread (arg=0x7f1c820a5700) at pthread_create.c:304
#4  0x00007f1ca205459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1ca60bd780 (LWP 10913)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f1c8508e209 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=129, view=0x54db840, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:764
#8  0x00007f1c85121650 in KateRenderer::decorationsForLine (this=0x2893cc0, textLine=..., line=129, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../part/render/katerenderer.cpp:342
#9  0x00007f1c8512310f in KateRenderer::layoutLine (this=0x2893cc0, lineLayout=..., maxwidth=1398, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:934
#10 0x00007f1c8512799d in KateLayoutCache::line (this=0x54db630, realLine=<optimized out>, virtualLine=129) at ../../part/render/katelayoutcache.cpp:295
#11 0x00007f1c85128b2a in KateLayoutCache::updateViewCache (this=0x54db630, startPos=..., newViewLineCount=35, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:266
#12 0x00007f1c8517877d in KateViewInternal::tagLines (this=0x54dc200, start=..., end=..., realCursors=<optimized out>) at ../../part/view/kateviewinternal.cpp:1963
#13 0x00007f1c85178bec in KateViewInternal::tagLines (this=0x54dc200, start=127, end=<optimized out>, realLines=true) at ../../part/view/kateviewinternal.cpp:1933
#14 0x00007f1c850e9e22 in KateDocument::tagLines (this=<optimized out>, start=127, end=130) at ../../part/document/katedocument.cpp:3588
#15 0x00007f1c850f925a in KateDocument::qt_metacall (this=0x54975b0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fffb0edad60) at ./katedocument.moc:350
#16 0x00007f1ca3907eba in QMetaObject::activate (sender=0x5498160, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb0edad60) at kernel/qobject.cpp:3278
#17 0x00007f1c8510202f in KateBuffer::tagLines (this=<optimized out>, _t1=127, _t2=130) at ./katebuffer.moc:98
#18 0x00007f1c8510424f in KateBuffer::doHighlight (this=<optimized out>, startLine=127, endLine=129, invalidate=true) at ../../part/document/katebuffer.cpp:708
#19 0x00007f1c85104acf in KateBuffer::editEnd (this=0x5498160) at ../../part/document/katebuffer.cpp:122
#20 0x00007f1c850eb20c in editEnd (this=0x54975b0) at ../../part/document/katedocument.cpp:850
#21 KateDocument::editEnd (this=0x54975b0) at ../../part/document/katedocument.cpp:831
#22 0x00007f1c850f338d in KateDocument::removeText (this=0x54975b0, _range=<optimized out>, block=<optimized out>) at ../../part/document/katedocument.cpp:727
#23 0x00007f1c850efd92 in KateDocument::backspace (this=0x54975b0, view=<optimized out>, c=<optimized out>) at ../../part/document/katedocument.cpp:2767
#24 0x00007f1c851726a1 in KateViewInternal::doBackspace (this=0x54dc200) at ../../part/view/kateviewinternal.cpp:798
#25 0x00007f1c85170d0d in KateView::qt_metacall (this=0x54db840, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fffb0edb2e0) at ./kateview.moc:374
#26 0x00007f1ca3907eba in QMetaObject::activate (sender=0x5553e80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb0edb2e0) at kernel/qobject.cpp:3278
#27 0x00007f1ca2a24bb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#28 0x00007f1ca2a24d9f in QAction::activate (this=0x5553e80, event=<optimized out>) at kernel/qaction.cpp:1257
#29 0x00007f1ca2a24f0f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#30 0x00007f1ca42439ea in KAction::event (this=<optimized out>, event=0x7fffb0edb770) at ../../kdeui/actions/kaction.cpp:131
#31 0x00007f1ca2a2b474 in notify_helper (e=0x7fffb0edb770, receiver=0x5553e80, this=0x1f3e310) at kernel/qapplication.cpp:4486
#32 QApplicationPrivate::notify_helper (this=0x1f3e310, receiver=0x5553e80, e=0x7fffb0edb770) at kernel/qapplication.cpp:4458
#33 0x00007f1ca2a302e1 in QApplication::notify (this=0x7fffb0edca30, receiver=0x5553e80, e=0x7fffb0edb770) at kernel/qapplication.cpp:4365
#34 0x00007f1ca432a466 in KApplication::notify (this=0x7fffb0edca30, receiver=0x5553e80, event=0x7fffb0edb770) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f1ca38f4afc in QCoreApplication::notifyInternal (this=0x7fffb0edca30, receiver=0x5553e80, event=0x7fffb0edb770) at kernel/qcoreapplication.cpp:787
#36 0x00007f1ca2a5d4e9 in sendEvent (event=0x7fffb0edb770, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffb0edbb80) at kernel/qshortcutmap.cpp:879
#38 0x00007f1ca2a5e9ba in QShortcutMap::tryShortcutEvent (this=0x1f3e438, o=<optimized out>, e=0x7fffb0edbb80) at kernel/qshortcutmap.cpp:364
#39 0x00007f1ca2a31b62 in QApplication::notify (this=0x7fffb0edca30, receiver=0x54dc200, e=0x7fffb0edbb80) at kernel/qapplication.cpp:3928
#40 0x00007f1ca432a466 in KApplication::notify (this=0x7fffb0edca30, receiver=0x54dc200, event=0x7fffb0edbb80) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f1ca38f4afc in QCoreApplication::notifyInternal (this=0x7fffb0edca30, receiver=0x54dc200, event=0x7fffb0edbb80) at kernel/qcoreapplication.cpp:787
#42 0x00007f1ca2acf029 in QKeyMapper::sendKeyEvent (keyWidget=0x54dc200, grab=<optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#43 0x00007f1ca2acf49b in QKeyMapperPrivate::translateKeyEvent (this=0x1f7aa90, keyWidget=0x54dc200, event=0x7fffb0edc5c0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#44 0x00007f1ca2aaa3d7 in QApplication::x11ProcessEvent (this=0x7fffb0edca30, event=0x7fffb0edc5c0) at kernel/qapplication_x11.cpp:3586
#45 0x00007f1ca2ad34a2 in x11EventSourceDispatch (s=0x1f41e40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f1c9d4eea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f1c9d4ef258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f1c9d4ef429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f1ca391fed6 in QEventDispatcherGlib::processEvents (this=0x1f3d180, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#50 0x00007f1ca2ad310e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f1ca38f3cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f1ca38f3ef7 in QEventLoop::exec (this=0x7fffb0edc990, flags=...) at kernel/qeventloop.cpp:201
#53 0x00007f1ca38f8789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x0000000000436c74 in ?? ()
#55 0x00007f1ca1f9230d in __libc_start_main (main=0x435ac0, argc=1, ubp_av=0x7fffb0edd858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb0edd848) at libc-start.c:226
#56 0x0000000000439005 in _start ()

Possible duplicates by query: bug 300537.

Reported using DrKonqi
Comment 1 Michel Ludwig 2012-06-12 18:15:14 UTC
Forwarding to KatePart.
Comment 2 Michel Ludwig 2012-06-12 18:26:19 UTC
Thiago, please leave this on KatePart ;)
Comment 3 Michel Ludwig 2012-06-12 18:32:00 UTC
*** Bug 300537 has been marked as a duplicate of this bug. ***
Comment 4 Blair Smith 2012-06-28 08:38:05 UTC
Created attachment 72191 [details]
New crash information added by DrKonqi

kile (2.1.2) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:
After a few copy & pastes Kile-2.1 crashed.

Kile was compiled from source tarball using cmake 2.8.7

-- Backtrace (Reduced):
#6  0x00007ff60c742e46 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=392, view=0x3b63500, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#7  0x00007ff60c7de620 in KateRenderer::decorationsForLine (this=0x3f59230, textLine=..., line=392, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../part/render/katerenderer.cpp:330
#8  0x00007ff60c7df97a in KateRenderer::layoutLine (this=0x3f59230, lineLayout=..., maxwidth=587, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:883
#9  0x00007ff60c7e43bd in KateLayoutCache::line (this=0x3c80850, realLine=392, virtualLine=392) at ../../part/render/katelayoutcache.cpp:318
#10 0x00007ff60c7e543a in KateLayoutCache::updateViewCache (this=0x3c80850, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270
Comment 5 Jekyll Wu 2012-07-06 15:40:33 UTC

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