<?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>276930</bug_id>
          
          <creation_ts>2011-07-02 01:39:34 +0000</creation_ts>
          <short_desc>Crash while delteing a page of text.</short_desc>
          <delta_ts>2011-07-02 07:33:34 +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>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>243478</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="Charles MacDonald">aa508</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          
          
          <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>1137522</commentid>
    <comment_count>0</comment_count>
    <who name="Charles MacDonald">aa508</who>
    <bug_when>2011-07-02 01:39:34 +0000</bug_when>
    <thetext>Application: kate (3.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-32-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I was deleting nearly a window full of text, when to my great surprise kate disapered on me.  I was working on a text document that I use to keep pending events and I was delting some expired events from the top.  first time I have experienced this problem.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb777baa0 (LWP 4114))]

Thread 2 (Thread 0xb4f40b70 (LWP 4120)):
#0  0x00b07422 in __kernel_vsyscall ()
#1  0x0438eb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x061254eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x061180ac in ?? () from /lib/libglib-2.0.so.0
#4  0x061184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0105460f in QEventDispatcherGlib::processEvents (this=0x9c95330, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x01027059 in QEventLoop::processEvents (this=0xb4f40290, flags=) at kernel/qeventloop.cpp:149
#7  0x010274aa in QEventLoop::exec (this=0xb4f40290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00f235a8 in QThread::exec (this=0x99860c0) at thread/qthread.cpp:487
#9  0x01006c1b in QInotifyFileSystemWatcherEngine::run (this=0x99860c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00f2632e in QThreadPrivate::start (arg=0x99860c0) at thread/qthread_unix.cpp:248
#11 0x0037196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x0439ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb777baa0 (LWP 4114)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#7  0x015798a2 in KateLayoutCache::lastViewLine (this=0x9d1f580, realLine=-1) at ../../kate/render/katelayoutcache.cpp:469
#8  0x015798f8 in KateLayoutCache::viewLineCount (this=0x9d1f580, realLine=-1) at ../../kate/render/katelayoutcache.cpp:474
#9  0x01579c5f in KateLayoutCache::displayViewLine (this=0x9d1f580, virtualCursor=..., limitToVisible=true) at ../../kate/render/katelayoutcache.cpp:443
#10 0x015e3a4d in KateViewInternal::tagLine (this=0x9d1d3f0, virtualCursor=...) at ../../kate/view/kateviewinternal.cpp:2030
#11 0x015eb409 in KateViewInternal::updateCursor (this=0x9d1d3f0, newCursor=..., force=true, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:1923
#12 0x015eb79b in KateViewInternal::editEnd (this=0x9d1d3f0, editTagLineStart=5, editTagLineEnd=5, tagFrom=true) at ../../kate/view/kateviewinternal.cpp:3400
#13 0x015cad19 in KateView::editEnd (this=0x9b0b980, editTagLineStart=5, editTagLineEnd=5, tagFrom=&lt;value optimized out&gt;) at ../../kate/view/kateview.cpp:1602
#14 0x01532b54 in KateDocument::editEnd (this=0x9aaeab0) at ../../kate/document/katedocument.cpp:981
#15 0x015d25fd in KateView::removeSelectedText (this=0x9b0b980) at ../../kate/view/kateview.cpp:1774
#16 0x01531136 in KateDocument::del (this=0x9aaeab0, view=0x9b0b980, c=...) at ../../kate/document/katedocument.cpp:2918
#17 0x015e01d1 in KateViewInternal::doDelete (this=0x9d1d3f0) at ../../kate/view/kateviewinternal.cpp:850
#18 0x015cd5bc in KateView::keyDelete (this=0x9b0b980) at ../../kate/view/kateview.cpp:2307
#19 0x015d2ea4 in KateView::qt_metacall (this=0x9b0b980, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfd422b8) at ./kateview.moc:375
#20 0x0102dc9a in QMetaObject::metacall (object=0x9b0b980, cl=QMetaObject::ReadProperty, idx=92, argv=0xbfd422b8) at kernel/qmetaobject.cpp:237
#21 0x0103c3d5 in QMetaObject::activate (sender=0x9dab1a0, m=0x93b4d58, local_signal_index=1, argv=0xbfd422b8) at kernel/qobject.cpp:3293
#22 0x08a85bd9 in QAction::triggered (this=0x9dab1a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x08a87dcc in QAction::activate (this=0x9dab1a0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#24 0x08a89698 in QAction::event (this=0x0, e=0x0) at kernel/qaction.cpp:1181
#25 0x00bfbdf3 in KAction::event (this=0x9dab1a0, event=0xbfd427d8) at ../../kdeui/actions/kaction.cpp:129
#26 0x08a8c4dc in QApplicationPrivate::notify_helper (this=0x9986c48, receiver=0x9dab1a0, e=0xbfd427d8) at kernel/qapplication.cpp:4300
#27 0x08a9305e in QApplication::notify (this=0xbfd43704, receiver=0x9dab1a0, e=0xbfd427d8) at kernel/qapplication.cpp:3704
#28 0x00ce840a in KApplication::notify (this=0xbfd43704, receiver=0x9dab1a0, event=0xbfd427d8) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x01028a3b in QCoreApplication::notifyInternal (this=0xbfd43704, receiver=0x9dab1a0, event=0xbfd427d8) at kernel/qcoreapplication.cpp:704
#30 0x08ace34d in QCoreApplication::sendEvent (this=0x9986cf4, e=0xbfd42c54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=0x9986cf4, e=0xbfd42c54) at kernel/qshortcutmap.cpp:879
#32 0x08ad015e in QShortcutMap::tryShortcutEvent (this=0x9986cf4, o=0x9d1d3f0, e=0xbfd42c54) at kernel/qshortcutmap.cpp:364
#33 0x08a94e43 in QApplication::notify (this=0xbfd43704, receiver=0x9d1d3f0, e=0xbfd42c54) at kernel/qapplication.cpp:3746
#34 0x00ce840a in KApplication::notify (this=0xbfd43704, receiver=0x9d1d3f0, event=0xbfd42c54) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x01028a3b in QCoreApplication::notifyInternal (this=0xbfd43704, receiver=0x9d1d3f0, event=0xbfd42c54) at kernel/qcoreapplication.cpp:704
#36 0x08a8d2be in QCoreApplication::sendSpontaneousEvent (receiver=0x9d1d3f0, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 qt_sendSpontaneousEvent (receiver=0x9d1d3f0, event=0x0) at kernel/qapplication.cpp:5279
#38 0x08b46d90 in QKeyMapper::sendKeyEvent (keyWidget=0x9d1d3f0, grab=false, type=QEvent::KeyPress, code=16777223, modifiers=..., text=..., autorepeat=&lt;value optimized out&gt;, 
    count=&lt;value optimized out&gt;, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#39 0x08b492f5 in QKeyMapperPrivate::translateKeyEvent (this=0x999a0c8, keyWidget=0x9d1d3f0, event=0xbfd4331c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#40 0x08b1c757 in QApplication::x11ProcessEvent (this=0xbfd43704, event=0xbfd4331c) at kernel/qapplication_x11.cpp:3394
#41 0x08b4c60a in x11EventSourceDispatch (s=0x998b638, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x061145e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x061182d8 in ?? () from /lib/libglib-2.0.so.0
#44 0x061184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x010545d5 in QEventDispatcherGlib::processEvents (this=0x9988c50, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x08b4c135 in QGuiEventDispatcherGlib::processEvents (this=0x9988c50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x01027059 in QEventLoop::processEvents (this=0xbfd43614, flags=) at kernel/qeventloop.cpp:149
#48 0x010274aa in QEventLoop::exec (this=0xbfd43614, flags=...) at kernel/qeventloop.cpp:201
#49 0x0102b69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x08a8c577 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0x0135aa65 in kdemain () from /usr/lib/libkdeinit4_kate.so
#52 0x0804e133 in launch (argc=&lt;value optimized out&gt;, _name=&lt;value optimized out&gt;, args=&lt;value optimized out&gt;, cwd=0x0, envc=1, envs=0x994f77e &quot;DISPLAY=:0.0&quot;, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x994f78f &quot;core2blk;1309569236;296109;1409_TIME9224358&quot;) at ../../kinit/kinit.cpp:717
#53 0x0804ec6d in handle_launcher_request (sock=&lt;value optimized out&gt;, who=&lt;value optimized out&gt;) at ../../kinit/kinit.cpp:1209
#54 0x0804f190 in handle_requests (waitForPid=&lt;value optimized out&gt;) at ../../kinit/kinit.cpp:1402
#55 0x0804fe4f in main (argc=4, argv=0xbfd44654, envp=0xbfd44668) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 266427, bug 262653, bug 243478.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137536</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2011-07-02 07:33:34 +0000</bug_when>
    <thetext>the last part of the backtrace isthe same as in #243478. so mark as duplicate.

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

    </bug>

</bugzilla>