Bug 292592 - Crash while pasting data
Summary: Crash while pasting data
Status: RESOLVED DUPLICATE of bug 293934
Alias: None
Product: kate
Classification: Applications
Component: folding (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 14:12 UTC by Greg Lepore
Modified: 2012-02-19 08:34 UTC (History)
1 user (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 Greg Lepore 2012-01-27 14:12:18 UTC
Application: kate (3.8.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Copied several lines from one part of the small file, pasted them into another, and the crash occured.  Code folding was on and being used...

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f68138cf780 (LWP 5963))]

Thread 4 (Thread 0x7f6801698700 (LWP 5964)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f680207efe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f680207f019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f6810850efc in start_thread (arg=0x7f6801698700) at pthread_create.c:304
#4  0x00007f681323189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f67fee50700 (LWP 5965)):
#0  0x00007fffa63ff92c in clock_gettime ()
#1  0x00007f680c36e07b in __GI_clock_gettime (clock_id=1, tp=0x7f67fee4fb40) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6811079074 in do_gettime (frac=0x7f67fee4fb58, sec=0x7f67fee4fb50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f681113b6ed in QTimerInfoList::updateCurrentTime (this=0x2a404c0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f681113ba33 in QTimerInfoList::timerWait (this=0x2a404c0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f681113a44c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f67fee4fc3c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f681113a4f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f681037dff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f681037edfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f681037f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f681113af3e in QEventDispatcherGlib::processEvents (this=0x284c360, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f681110ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f681110eef7 in QEventLoop::exec (this=0x7f67fee4fdd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f681102627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007f68110f1cbf in QInotifyFileSystemWatcherEngine::run (this=0x28d65d0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f6811028d05 in QThreadPrivate::start (arg=0x28d65d0) at thread/qthread_unix.cpp:331
#17 0x00007f6810850efc in start_thread (arg=0x7f67fee50700) at pthread_create.c:304
#18 0x00007f681323189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f67fd8a2700 (LWP 6442)):
#0  0x00007f681323fa97 in pthread_mutex_lock (mutex=0x7f67f80009a8) at forward.c:182
#1  0x00007f681037e4ca in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f681037ef82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f681037f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f681113af3e in QEventDispatcherGlib::processEvents (this=0x7f67f80008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f681110ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f681110eef7 in QEventLoop::exec (this=0x7f67fd8a1dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f681102627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f68110f1cbf in QInotifyFileSystemWatcherEngine::run (this=0x2b245f0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f6811028d05 in QThreadPrivate::start (arg=0x2b245f0) at thread/qthread_unix.cpp:331
#10 0x00007f6810850efc in start_thread (arg=0x7f67fd8a2700) at pthread_create.c:304
#11 0x00007f681323189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f68138cf780 (LWP 5963)):
[KCrash Handler]
#6  0x00007f6802732e78 in KateCodeFoldingNode::removeEndDescending (this=0x2ef6c00, deletedNode=0x30437a0) at ../../part/syntax/katecodefolding.cpp:260
#7  0x00007f6802732f3d in removeChild (deletedNode=0x30437a0, this=<optimized out>) at ../../part/syntax/katecodefolding.cpp:306
#8  KateCodeFoldingNode::removeChild (this=<optimized out>, deletedNode=0x30437a0) at ../../part/syntax/katecodefolding.cpp:299
#9  0x00007f6802737d05 in KateCodeFoldingTree::deleteEndNode (this=<optimized out>, deletedNode=0x30437a0) at ../../part/syntax/katecodefolding.cpp:611
#10 0x00007f68027385e5 in deleteNode (deletedNode=<optimized out>, this=0x2ce3640) at ../../part/syntax/katecodefolding.h:353
#11 KateCodeFoldingTree::updateMapping (this=0x2ce3640, line=29, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at ../../part/syntax/katecodefolding.cpp:1576
#12 0x00007f680273878c in KateCodeFoldingTree::updateLine (this=0x2ce3640, line=29, regionChanges=..., updated=0x7fffa63626ce, changed=<optimized out>, colsChanged=false) at ../../part/syntax/katecodefolding.cpp:1502
#13 0x00007f68026d45b6 in KateBuffer::doHighlight (this=<optimized out>, startLine=17, endLine=81, invalidate=false) at ../../part/document/katebuffer.cpp:706
#14 0x00007f68026b4d4a in KateDocument::kateTextLine (this=0x2d33f50, i=17) at ../../part/document/katedocument.cpp:4782
#15 0x00007f680270468d in KateLineLayout::textLine (this=0x3070e20, reloadForce=<optimized out>) at ../../part/render/katelinelayout.cpp:67
#16 0x00007f6802701389 in KateLayoutCache::line (this=0x2d3a5e0, realLine=<optimized out>, virtualLine=17) at ../../part/render/katelayoutcache.cpp:298
#17 0x00007f680270254a in KateLayoutCache::updateViewCache (this=0x2d3a5e0, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at ../../part/render/katelayoutcache.cpp:270
#18 0x00007f680275660d in KateViewInternal::tagLines (this=0x2d43520, start=..., end=..., realCursors=<optimized out>) at ../../part/view/kateviewinternal.cpp:1975
#19 0x00007f6802756a7c in KateViewInternal::tagLines (this=0x2d43520, start=15, end=<optimized out>, realLines=true) at ../../part/view/kateviewinternal.cpp:1945
#20 0x00007f68026ba8d2 in KateDocument::tagLines (this=<optimized out>, start=15, end=81) at ../../part/document/katedocument.cpp:3615
#21 0x00007f68026c9e3a in KateDocument::qt_metacall (this=0x2d33f50, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fffa6362cd0) at ./katedocument.moc:350
#22 0x00007f6811122eba in QMetaObject::activate (sender=0x2ce3570, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6362cd0) at kernel/qobject.cpp:3278
#23 0x00007f68026d326f in KateBuffer::tagLines (this=<optimized out>, _t1=15, _t2=81) at ./katebuffer.moc:98
#24 0x00007f68026d4739 in KateBuffer::doHighlight (this=<optimized out>, startLine=15, endLine=17, invalidate=true) at ../../part/document/katebuffer.cpp:736
#25 0x00007f68026bbcbc in editEnd (this=0x2d33f50) at ../../part/document/katedocument.cpp:854
#26 KateDocument::editEnd (this=0x2d33f50) at ../../part/document/katedocument.cpp:835
#27 0x00007f68026c3dcd in KateDocument::removeText (this=0x2d33f50, _range=<optimized out>, block=<optimized out>) at ../../part/document/katedocument.cpp:731
#28 0x00007f68026c0832 in KateDocument::backspace (this=0x2d33f50, view=<optimized out>, c=<optimized out>) at ../../part/document/katedocument.cpp:2794
#29 0x00007f68027504e1 in KateViewInternal::doBackspace (this=0x2d43520) at ../../part/view/kateviewinternal.cpp:799
#30 0x00007f680274eb3d in KateView::qt_metacall (this=0x2d52470, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fffa6363230) at ./kateview.moc:376
#31 0x00007f6811122eba in QMetaObject::activate (sender=0x2ea7030, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa6363230) at kernel/qobject.cpp:3278
#32 0x00007f6812665bb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#33 0x00007f6812665d9f in QAction::activate (this=0x2ea7030, event=<optimized out>) at kernel/qaction.cpp:1257
#34 0x00007f6812665f0f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#35 0x00007f6811807b4a in KAction::event (this=<optimized out>, event=0x7fffa63636c0) at ../../kdeui/actions/kaction.cpp:131
#36 0x00007f681266c474 in notify_helper (e=0x7fffa63636c0, receiver=0x2ea7030, this=0x21a68c0) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x21a68c0, receiver=0x2ea7030, e=0x7fffa63636c0) at kernel/qapplication.cpp:4458
#38 0x00007f68126712e1 in QApplication::notify (this=0x7fffa63649a0, receiver=0x2ea7030, e=0x7fffa63636c0) at kernel/qapplication.cpp:4365
#39 0x00007f68118eeae6 in KApplication::notify (this=0x7fffa63649a0, receiver=0x2ea7030, event=0x7fffa63636c0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f681110fafc in QCoreApplication::notifyInternal (this=0x7fffa63649a0, receiver=0x2ea7030, event=0x7fffa63636c0) at kernel/qcoreapplication.cpp:787
#41 0x00007f681269e4e9 in sendEvent (event=0x7fffa63636c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffa6363ad0) at kernel/qshortcutmap.cpp:879
#43 0x00007f681269f9ba in QShortcutMap::tryShortcutEvent (this=0x21a69e8, o=<optimized out>, e=0x7fffa6363ad0) at kernel/qshortcutmap.cpp:364
#44 0x00007f6812672b62 in QApplication::notify (this=0x7fffa63649a0, receiver=0x2d43520, e=0x7fffa6363ad0) at kernel/qapplication.cpp:3928
#45 0x00007f68118eeae6 in KApplication::notify (this=0x7fffa63649a0, receiver=0x2d43520, event=0x7fffa6363ad0) at ../../kdeui/kernel/kapplication.cpp:311
#46 0x00007f681110fafc in QCoreApplication::notifyInternal (this=0x7fffa63649a0, receiver=0x2d43520, event=0x7fffa6363ad0) at kernel/qcoreapplication.cpp:787
#47 0x00007f6812710029 in QKeyMapper::sendKeyEvent (keyWidget=0x2d43520, 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
#48 0x00007f681271049b in QKeyMapperPrivate::translateKeyEvent (this=0x21e9370, keyWidget=0x2d43520, event=0x7fffa6364510, grab=false) at kernel/qkeymapper_x11.cpp:1836
#49 0x00007f68126eb3d7 in QApplication::x11ProcessEvent (this=0x7fffa63649a0, event=0x7fffa6364510) at kernel/qapplication_x11.cpp:3586
#50 0x00007f68127144a2 in x11EventSourceDispatch (s=0x21a8720, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x00007f681037ea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f681037f258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f681037f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f681113aed6 in QEventDispatcherGlib::processEvents (this=0x2172fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#55 0x00007f681271410e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f681110ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f681110eef7 in QEventLoop::exec (this=0x7fffa63648e0, flags=...) at kernel/qeventloop.cpp:201
#58 0x00007f6811113789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#59 0x00007f68134f50d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#60 0x00007f681317130d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7fffa6365ed8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa6365ec8) at libc-start.c:226
#61 0x0000000000400661 in _start ()

Possible duplicates by query: bug 282995.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-02-19 08:34:22 UTC

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