Bug 315160 - Kate crashed when pasting
Summary: Kate crashed when pasting
Status: RESOLVED DUPLICATE of bug 265426
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 20:17 UTC by Dennis Schridde
Modified: 2013-03-08 21:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.39 KB, text/plain)
2013-03-08 21:34 UTC, Bernard Igiri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-02-14 20:17:57 UTC
Application: kate (3.10.0)
KDE Platform Version: 4.10.00
Qt Version: 4.8.4
Operating System: Linux 3.7.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:

Kate crashed when I pasted something into a file using Ctrl+V.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe0e6be9780 (LWP 27107))]

Thread 4 (Thread 0x7fe0e1228700 (LWP 27124)):
#0  0x000000302280b8a4 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003fe61430c7 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x0000003fe61430f9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x0000003022807dff in start_thread () from /lib64/libpthread.so.0
#4  0x00000030220e228d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe0de212700 (LWP 27126)):
#0  0x00007fff41aec847 in clock_gettime ()
#1  0x0000003023403f2d in clock_gettime () from /lib64/librt.so.1
#2  0x0000003fdbacf784 in do_gettime (frac=0x7fe0de211b78, sec=0x7fe0de211b70) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003fdbba10ed in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fe0d8002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003fdbba1433 in QTimerInfoList::timerWait (this=0x7fe0d8002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x0000003fdbb9fedc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe0de211c64) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003fdbb9ff7d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000381b64699f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x000000381b64702b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x000000381b647224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x0000003fdbba080e in QEventDispatcherGlib::processEvents (this=0x7fe0d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x0000003fdbb71cdf in QEventLoop::processEvents (this=this@entry=0x7fe0de211e40, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003fdbb71f60 in QEventLoop::exec (this=0x7fe0de211e40, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003fdba78480 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x0000003fdbb52d4f in QInotifyFileSystemWatcherEngine::run (this=0x19ea3c0) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x0000003fdba7b37c in QThreadPrivate::start (arg=0x19ea3c0) at thread/qthread_unix.cpp:338
#17 0x0000003022807dff in start_thread () from /lib64/libpthread.so.0
#18 0x00000030220e228d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe0dd80d700 (LWP 27174)):
#0  0x00000030220da34d in poll () from /lib64/libc.so.6
#1  0x000000381b64710c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x000000381b647224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x0000003fdbba080e in QEventDispatcherGlib::processEvents (this=0x7fe0d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x0000003fdbb71cdf in QEventLoop::processEvents (this=this@entry=0x7fe0dd80ce40, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003fdbb71f60 in QEventLoop::exec (this=0x7fe0dd80ce40, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003fdba78480 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x0000003fdbb52d4f in QInotifyFileSystemWatcherEngine::run (this=0x1ae45f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x0000003fdba7b37c in QThreadPrivate::start (arg=0x1ae45f0) at thread/qthread_unix.cpp:338
#9  0x0000003022807dff in start_thread () from /lib64/libpthread.so.0
#10 0x00000030220e228d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe0e6be9780 (LWP 27107)):
[KCrash Handler]
#6  0x00007fe0e2773a3b in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=128, view=0x31ccf50, rangesWithAttributeOnly=true) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/buffer/katetextbuffer.cpp:888
#7  0x00007fe0e2802e6f in KateRenderer::decorationsForLine (this=this@entry=0x31cccf0, textLine=..., line=128, selectionsOnly=selectionsOnly@entry=false, completionHighlight=0x2256550, completionHighlight@entry=0x0, completionSelected=completionSelected@entry=false) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/render/katerenderer.cpp:333
#8  0x00007fe0e2804130 in KateRenderer::layoutLine (this=0x31cccf0, lineLayout=..., maxwidth=1382, cacheLayout=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/render/katerenderer.cpp:911
#9  0x00007fe0e28089f3 in KateLayoutCache::line (this=this@entry=0x31db110, realLine=realLine@entry=128, virtualLine=virtualLine@entry=128) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/render/katelayoutcache.cpp:322
#10 0x00007fe0e28098bf in KateLayoutCache::updateViewCache (this=0x31db110, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/render/katelayoutcache.cpp:270
#11 0x00007fe0e2856a0b in doUpdateView (viewLinesScrolled=0, changed=<optimized out>, this=0x31da7b0) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/view/kateviewinternal.cpp:557
#12 KateViewInternal::doUpdateView (this=0x31da7b0, changed=<optimized out>, viewLinesScrolled=0) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/view/kateviewinternal.cpp:537
#13 0x00007fe0e2856c6c in KateViewInternal::updateView (this=0x31da7b0, changed=false, viewLinesScrolled=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/view/kateviewinternal.cpp:531
#14 0x00007fe0e28456b6 in KateView::visibleRange (this=0x31ccf50) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/view/kateview.cpp:2915
#15 0x00007fe0e28a3efa in KateOnTheFlyChecker::textInserted (this=0x18f1330, document=<optimized out>, range=...) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/spellcheck/ontheflycheck.cpp:155
#16 0x00007fe0e28a9540 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0_build/part/ontheflycheck.moc:87
#17 KateOnTheFlyChecker::qt_static_metacall (_o=0x18f1330, _c=574199360, _id=408, _a=0x3022399640 <main_arena>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0_build/part/ontheflycheck.moc:81
#18 0x0000003fdbb87e6f in QMetaObject::activate (sender=0x18d3470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff41a76dc0) at kernel/qobject.cpp:3539
#19 0x0000003fea023097 in KTextEditor::Document::textInserted (this=<optimized out>, _t1=0x18d3470, _t2=...) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0_build/interfaces/ktexteditor/document.moc:201
#20 0x00007fe0e27c7946 in editWrapLine (newLineAdded=0x0, newLine=<optimized out>, col=49, line=126, this=0x18d3470) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/document/katedocument.cpp:1147
#21 KateDocument::editWrapLine (this=0x18d3470, line=126, col=49, newLine=<optimized out>, newLineAdded=0x0) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/document/katedocument.cpp:1084
#22 0x00007fe0e27c8ce9 in insertText (block=false, text=..., position=..., this=0x18d3470) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/document/katedocument.cpp:579
#23 KateDocument::insertText (this=this@entry=0x18d3470, position=..., text=..., block=false) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/document/katedocument.cpp:529
#24 0x00007fe0e27c6424 in KateDocument::paste (this=0x18d3470, view=0x31ccf50, s=...) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/document/katedocument.cpp:2789
#25 0x00007fe0e2843ead in KateView::paste (this=0x31ccf50, textToPaste=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.10.0-r1/work/katepart-4.10.0/part/view/kateview.cpp:2274
#26 0x0000003fdbb87e6f in QMetaObject::activate (sender=0x3217170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff41a77220) at kernel/qobject.cpp:3539
#27 0x0000003fdcdc54d2 in QAction::triggered (this=this@entry=0x3217170, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#28 0x0000003fdcdc56b8 in QAction::activate (this=0x3217170, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0x0000003fdcdc580f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#30 0x0000003fded6b6e7 in KAction::event (this=<optimized out>, event=0x7fff41a777d0) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0/kdeui/actions/kaction.cpp:131
#31 0x0000003fdcdcb66c in QApplicationPrivate::notify_helper (this=this@entry=0x157a2d0, receiver=receiver@entry=0x3217170, e=e@entry=0x7fff41a777d0) at kernel/qapplication.cpp:4562
#32 0x0000003fdcdcfa2a in QApplication::notify (this=0x7fff41a79000, receiver=0x3217170, e=0x7fff41a777d0) at kernel/qapplication.cpp:4423
#33 0x0000003fdee41f46 in KApplication::notify (this=0x7fff41a79000, receiver=0x3217170, event=0x7fff41a777d0) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#34 0x0000003fdbb72f4d in QCoreApplication::notifyInternal (this=0x7fff41a79000, receiver=0x3217170, event=0x7fff41a777d0) at kernel/qcoreapplication.cpp:946
#35 0x0000003fdcdfbc2e in sendEvent (event=0x7fff41a777d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QShortcutMap::dispatchEvent (this=this@entry=0x157a3f0, e=e@entry=0x7fff41a77dc0) at kernel/qshortcutmap.cpp:884
#37 0x0000003fdcdfd20d in QShortcutMap::tryShortcutEvent (this=0x157a3f0, o=<optimized out>, e=0x7fff41a77dc0) at kernel/qshortcutmap.cpp:364
#38 0x0000003fdcdd16c5 in QApplication::notify (this=0x7fff41a79000, receiver=0x31da7b0, e=0x7fff41a77dc0) at kernel/qapplication.cpp:3986
#39 0x0000003fdee41f46 in KApplication::notify (this=0x7fff41a79000, receiver=0x31da7b0, event=0x7fff41a77dc0) at /var/tmp/portage/kde-base/kdelibs-4.10.0/work/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#40 0x0000003fdbb72f4d in QCoreApplication::notifyInternal (this=0x7fff41a79000, receiver=0x31da7b0, event=0x7fff41a77dc0) at kernel/qcoreapplication.cpp:946
#41 0x0000003fdce65727 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x31da7b0, grab=grab@entry=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#42 0x0000003fdce65b31 in QKeyMapperPrivate::translateKeyEvent (this=0x15b9230, keyWidget=0x31da7b0, event=0x7fff41a787c0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#43 0x0000003fdce44000 in QApplication::x11ProcessEvent (this=0x7fff41a79000, event=0x7fff41a787c0) at kernel/qapplication_x11.cpp:3532
#44 0x0000003fdce697c2 in x11EventSourceDispatch (s=0x157a110, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x000000381b646e1c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x000000381b647174 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x000000381b647224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x0000003fdbba07f4 in QEventDispatcherGlib::processEvents (this=0x1546b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x0000003fdce6944e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x0000003fdbb71cdf in QEventLoop::processEvents (this=this@entry=0x7fff41a78ba0, flags=...) at kernel/qeventloop.cpp:149
#51 0x0000003fdbb71f60 in QEventLoop::exec (this=0x7fff41a78ba0, flags=...) at kernel/qeventloop.cpp:204
#52 0x0000003fdbb76ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#53 0x0000003fe1a06d2d in kdemain () from /usr/lib64/libkdeinit4_kate.so
#54 0x00000030220216f5 in __libc_start_main () from /lib64/libc.so.6
#55 0x0000000000400771 in _start ()

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

Possible duplicates by query: bug 313427, bug 304351, bug 304018, bug 302976, bug 301752.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-02-20 10:54:22 UTC

*** This bug has been marked as a duplicate of bug 265426 ***
Comment 2 Bernard Igiri 2013-03-08 21:34:45 UTC
Created attachment 77875 [details]
New crash information added by DrKonqi

kate (3.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

I was using copy and paste to paste a string of SCSS code.

-- Backtrace (Reduced):
#6  0x00007fe214166f16 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=192, view=0x34d4f80, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#7  0x00007fe214202740 in KateRenderer::decorationsForLine (this=0x3127220, textLine=..., line=192, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../part/render/katerenderer.cpp:333
#8  0x00007fe214203a9a in KateRenderer::layoutLine (this=0x3127220, lineLayout=..., maxwidth=-1, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:895
#9  0x00007fe21420836d in KateLayoutCache::line (this=0x364abe0, realLine=<optimized out>, virtualLine=192) at ../../part/render/katelayoutcache.cpp:299
#10 0x00007fe2142094fa in KateLayoutCache::updateViewCache (this=0x364abe0, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270