Bug 304351 - crashing while moving text
Summary: crashing while moving text
Status: RESOLVED DUPLICATE of bug 265426
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 19:31 UTC by Till Schäfer
Modified: 2012-10-24 16:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2012-07-31 19:31:26 UTC
Application: kile (2.1.2)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.5.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

i moved text several lines up by shortcut and kile crashed. it was not by copy paste! its the function of moving the current selected line up.

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

Thread 3 (Thread 0x7f620e96e700 (LWP 9947)):
#0  0x00007fffe62b2857 in clock_gettime ()
#1  0x00007f621bb0e853 in *__GI_clock_gettime (clock_id=1, tp=0x7f620e96db50) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f6221e08ab2 in do_gettime (frac=<optimized out>, sec=<optimized out>) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f6221ee274d in QTimerInfoList::updateCurrentTime (this=0x26ba380) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f6221ee2ad5 in QTimerInfoList::timerWait (this=0x26ba380, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f6221ee158c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f620e96dc6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6221ee1635 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f621b830c99 in g_main_context_prepare (context=0x26acfe0, priority=0x7f620e96dccc) at gmain.c:2836
#9  0x00007f621b8313c3 in g_main_context_iterate (context=0x26acfe0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3126
#10 0x00007f621b8315b4 in g_main_context_iteration (context=0x26acfe0, may_block=1) at gmain.c:3207
#11 0x00007f6221ee1db6 in QEventDispatcherGlib::processEvents (this=0x26eda70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f6221eb1962 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f6221eb1c15 in QEventLoop::exec (this=0x7f620e96dde0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f6221dae0d8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f6221e90688 in QInotifyFileSystemWatcherEngine::run (this=0x26dc2f0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f6221db074b in QThreadPrivate::start (arg=0x26dc2f0) at thread/qthread_unix.cpp:307
#17 0x00007f6221b1bd0c in start_thread (arg=0x7f620e96e700) at pthread_create.c:301
#18 0x00007f622040b64d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f6207798700 (LWP 9964)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f621e6fb324 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f621e9ea100) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f621e6fb359 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f621e9f81d4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6221b1bd0c in start_thread (arg=0x7f6207798700) at pthread_create.c:301
#4  0x00007f622040b64d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f622472d760 (LWP 9946)):
[KCrash Handler]
#6  0x00007f620fcdf798 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=129, view=0x4c2ad20, rangesWithAttributeOnly=true) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/buffer/katetextbuffer.cpp:820
#7  0x00007f620fd77f80 in KateRenderer::decorationsForLine (this=0x46eb120, textLine=..., line=129, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/render/katerenderer.cpp:330
#8  0x00007f620fd79231 in KateRenderer::layoutLine (this=0x46eb120, lineLayout=..., maxwidth=1056, cacheLayout=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/render/katerenderer.cpp:883
#9  0x00007f620fd7dd4d in KateLayoutCache::line (this=0x4c02270, realLine=129, virtualLine=129) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/render/katelayoutcache.cpp:299
#10 0x00007f620fd7f07f in KateLayoutCache::updateViewCache (this=0x4c02270, startPos=<optimized out>, newViewLineCount=<optimized out>, viewLinesScrolled=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/render/katelayoutcache.cpp:270
#11 0x00007f620fdd2805 in KateViewInternal::tagLines (this=0x4c076f0, start=..., end=..., realCursors=<optimized out>) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/view/kateviewinternal.cpp:1978
#12 0x00007f620fdd2c8e in KateViewInternal::tagLines (this=0x4c076f0, start=124, end=<optimized out>, realLines=true) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/view/kateviewinternal.cpp:1948
#13 0x00007f620fd35aa9 in KateDocument::tagLines (this=<optimized out>, start=124, end=193) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/document/katedocument.cpp:3615
#14 0x00007f620fd465c6 in KateDocument::qt_static_metacall (_o=0x340cf80, _c=<optimized out>, _id=<optimized out>, _a=0x7fffe6233c20) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4_build/part/katedocument.moc:281
#15 0x00007f6221ec8443 in QMetaObject::activate (sender=0x340c9f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe6233c20) at kernel/qobject.cpp:3547
#16 0x00007f620fd506bf in KateBuffer::tagLines (this=<optimized out>, _t1=124, _t2=193) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4_build/part/katebuffer.moc:112
#17 0x00007f620fd51b09 in KateBuffer::doHighlight (this=0x340c9f0, startLine=124, endLine=129, invalidate=true) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/document/katebuffer.cpp:736
#18 0x00007f620fd3ba4b in KateDocument::editEnd (this=0x340cf80) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/document/katedocument.cpp:854
#19 0x00007f620fd566ad in KateUndoManager::endUndo (this=0x340cd00) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/undo/kateundomanager.cpp:135
#20 0x00007f620fd53fc8 in KateUndoGroup::undo (this=0x5410260, view=0x4c2ad20) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/undo/kateundo.cpp:273
#21 0x00007f620fd577ef in KateUndoManager::undo (this=0x340cd00) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4/part/undo/kateundomanager.cpp:242
#22 0x00007f620fd4645b in KateDocument::qt_static_metacall (_o=0x340cf80, _c=<optimized out>, _id=<optimized out>, _a=0x7fffe62340d0) at /var/tmp/portage/kde-base/katepart-4.8.4/work/katepart-4.8.4_build/part/katedocument.moc:262
#23 0x00007f6221ec8443 in QMetaObject::activate (sender=0x46e1d10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe62340d0) at kernel/qobject.cpp:3547
#24 0x00007f6220dacd62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#25 0x00007f6220dacf5a in QAction::activate (this=0x46e1d10, event=<optimized out>) at kernel/qaction.cpp:1257
#26 0x00007f6220dad0d7 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#27 0x00007f62228728bd in KAction::event (this=<optimized out>, event=0x7fffe6234760) at /var/tmp/portage/kde-base/kdelibs-4.8.4-r1/work/kdelibs-4.8.4/kdeui/actions/kaction.cpp:131
#28 0x00007f6220db3374 in QApplicationPrivate::notify_helper (this=0x2267570, receiver=0x46e1d10, e=0x7fffe6234760) at kernel/qapplication.cpp:4551
#29 0x00007f6220db7e4f in QApplication::notify (this=<optimized out>, receiver=0x46e1d10, e=0x7fffe6234760) at kernel/qapplication.cpp:4412
#30 0x00007f6222958a66 in KApplication::notify (this=0x7fffe6235cd0, receiver=0x46e1d10, event=0x7fffe6234760) at /var/tmp/portage/kde-base/kdelibs-4.8.4-r1/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#31 0x00007f6221eb2bfb in QCoreApplication::notifyInternal (this=0x7fffe6235cd0, receiver=0x46e1d10, event=0x7fffe6234760) at kernel/qcoreapplication.cpp:915
#32 0x00007f6220de572b in sendEvent (event=0x7fffe6234760, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffe6234d50) at kernel/qshortcutmap.cpp:879
#34 0x00007f6220de6c46 in QShortcutMap::tryShortcutEvent (this=0x2267690, o=<optimized out>, e=0x7fffe6234d50) at kernel/qshortcutmap.cpp:364
#35 0x00007f6220db97f8 in QApplication::notify (this=0x7fffe6235cd0, receiver=0x4c076f0, e=0x7fffe6234d50) at kernel/qapplication.cpp:3975
#36 0x00007f6222958a66 in KApplication::notify (this=0x7fffe6235cd0, receiver=0x4c076f0, event=0x7fffe6234d50) at /var/tmp/portage/kde-base/kdelibs-4.8.4-r1/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#37 0x00007f6221eb2bfb in QCoreApplication::notifyInternal (this=0x7fffe6235cd0, receiver=0x4c076f0, event=0x7fffe6234d50) at kernel/qcoreapplication.cpp:915
#38 0x00007f6220e545ea in QKeyMapper::sendKeyEvent (keyWidget=0x4c076f0, grab=<optimized out>, type=QEvent::KeyPress, code=90, modifiers=<optimized out>, text=..., autorepeat=true, count=1, nativeScanCode=29, nativeVirtualKey=122, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#39 0x00007f6220e54a3f in QKeyMapperPrivate::translateKeyEvent (this=<optimized out>, keyWidget=0x4c076f0, event=<optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1836
#40 0x00007f6220e30b23 in QApplication::x11ProcessEvent (this=0x7fffe6235cd0, event=0x7fffe6235900) at kernel/qapplication_x11.cpp:3518
#41 0x00007f6220e58a92 in x11EventSourceDispatch (s=0x2268b60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f621b8311b2 in g_main_dispatch (context=0x2268a00) at gmain.c:2539
#43 g_main_context_dispatch (context=0x2268a00) at gmain.c:3075
#44 0x00007f621b8314f8 in g_main_context_iterate (context=0x2268a00, block=1, dispatch=1, self=<optimized out>) at gmain.c:3146
#45 0x00007f621b8315b4 in g_main_context_iteration (context=0x2268a00, may_block=1) at gmain.c:3207
#46 0x00007f6221ee1d5f in QEventDispatcherGlib::processEvents (this=0x2265500, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f6220e5873e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f6221eb1962 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f6221eb1c15 in QEventLoop::exec (this=0x7fffe6235bf0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f6221eb666b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x00000000005d719a in main (argc=1, argv=0x7fffe6236798) at /var/tmp/portage/app-editors/kile-2.1.2/work/kile-2.1.2/src/main.cpp:171

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

Possible duplicates by query: bug 300537.

Reported using DrKonqi
Comment 1 Michel Ludwig 2012-07-31 19:39:14 UTC
Forwarding to KatePart
Comment 2 Dominik Haumann 2012-10-24 16:55:52 UTC
Known issue, but still the reason for this crash is not found, yet...

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