<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>304351</bug_id>
          
          <creation_ts>2012-07-31 19:31:26 +0000</creation_ts>
          <short_desc>crashing while moving text</short_desc>
          <delta_ts>2012-10-24 16:55:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>part</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>265426</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Till Schäfer">till2.schaefer</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>mwoehlke.floss</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1280315</commentid>
    <comment_count>0</comment_count>
    <who name="Till Schäfer">till2.schaefer</who>
    <bug_when>2012-07-31 19:31:26 +0000</bug_when>
    <thetext>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: &quot;Gentoo Base System release 2.1&quot;

-- 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=&lt;optimized out&gt;, sec=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, timeout=0x7f620e96dc6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6221ee1635 in timerSourcePrepare (source=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f6221eb1962 in QEventLoop::processEvents (this=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, newViewLineCount=&lt;optimized out&gt;, viewLinesScrolled=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _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=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fffe6233c20) at kernel/qobject.cpp:3547
#16 0x00007f620fd506bf in KateBuffer::tagLines (this=&lt;optimized out&gt;, _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=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _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=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fffe62340d0) at kernel/qobject.cpp:3547
#24 0x00007f6220dacd62 in QAction::triggered (this=&lt;optimized out&gt;, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#25 0x00007f6220dacf5a in QAction::activate (this=0x46e1d10, event=&lt;optimized out&gt;) at kernel/qaction.cpp:1257
#26 0x00007f6220dad0d7 in QAction::event (this=&lt;optimized out&gt;, e=&lt;optimized out&gt;) at kernel/qaction.cpp:1183
#27 0x00007f62228728bd in KAction::event (this=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QShortcutMap::dispatchEvent (this=&lt;optimized out&gt;, e=0x7fffe6234d50) at kernel/qshortcutmap.cpp:879
#34 0x00007f6220de6c46 in QShortcutMap::tryShortcutEvent (this=0x2267690, o=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, type=QEvent::KeyPress, code=90, modifiers=&lt;optimized out&gt;, text=..., autorepeat=true, count=1, nativeScanCode=29, nativeVirtualKey=122, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#39 0x00007f6220e54a3f in QKeyMapperPrivate::translateKeyEvent (this=&lt;optimized out&gt;, keyWidget=0x4c076f0, event=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007f6220e5873e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f6221eb1962 in QEventLoop::processEvents (this=&lt;optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1280317</commentid>
    <comment_count>1</comment_count>
    <who name="Michel Ludwig">michel.ludwig</who>
    <bug_when>2012-07-31 19:39:14 +0000</bug_when>
    <thetext>Forwarding to KatePart</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308835</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2012-10-24 16:55:52 +0000</bug_when>
    <thetext>Known issue, but still the reason for this crash is not found, yet...

*** This bug has been marked as a duplicate of bug 265426 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>