<?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>273140</bug_id>
          
          <creation_ts>2011-05-12 17:58:34 +0000</creation_ts>
          <short_desc>Kile crashes on Kubuntu 11.04</short_desc>
          <delta_ts>2011-05-15 09:52:56 +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>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>249227</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>barbanegra555</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>1118436</commentid>
    <comment_count>0</comment_count>
    <who name="">barbanegra555</who>
    <bug_when>2011-05-12 17:58:34 +0000</bug_when>
    <thetext>Application: kile (2.0.85)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Editing text. In particular I had copied two lines, commented them out (CTRL+D), press enter (new line), and CTRL+Z as that deleted the two recently commented lines. The app crashed.

Repeated the same sequence of steps, and the app did not crash, so it is not reproducible.

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

Thread 4 (Thread 0x7fd43a055700 (LWP 2417)):
#0  0x00007fd4474e9d9d in __pthread_mutex_unlock_usercnt (mutex=0x7fd4340009a8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fd4340009a8) at pthread_mutex_unlock.c:290
#2  0x00007fd446c21094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd446c21f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd446c22639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd44cdf6446 in QEventDispatcherGlib::processEvents (this=0x7fd4340008b0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd44cdca882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd44cdcaabc in QEventLoop::exec (this=0x7fd43a054dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fd44cce1924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#9  0x00007fd44cdacc2f in QInotifyFileSystemWatcherEngine::run (this=0x13efdb0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fd44cce4175 in QThreadPrivate::start (arg=0x13efdb0) at thread/qthread_unix.cpp:320
#11 0x00007fd4474e5d8c in start_thread (arg=0x7fd43a055700) at pthread_create.c:304
#12 0x00007fd44b59204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd438e08700 (LWP 2418)):
#0  pthread_mutex_unlock (mutex=0x7fd434002698) at forward.c:184
#1  0x00007fd446c2179a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd446c22122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd446c22639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd44cdf6446 in QEventDispatcherGlib::processEvents (this=0x7fd434002240, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd44cdca882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd44cdcaabc in QEventLoop::exec (this=0x7fd438e07dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd44cce1924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#8  0x00007fd44cdacc2f in QInotifyFileSystemWatcherEngine::run (this=0x1083940) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd44cce4175 in QThreadPrivate::start (arg=0x1083940) at thread/qthread_unix.cpp:320
#10 0x00007fd4474e5d8c in start_thread (arg=0x7fd438e08700) at pthread_create.c:304
#11 0x00007fd44b59204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd43083a700 (LWP 2521)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd44989e2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd449bb7180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd44989e2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd449bc5254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd4474e5d8c in start_thread (arg=0x7fd43083a700) at pthread_create.c:304
#4  0x00007fd44b59204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd44f59d780 (LWP 2415)):
[KCrash Handler]
#6  0x00007fd43ab42b28 in Kate::TextBuffer::rangesForLine (this=&lt;value optimized out&gt;, line=72, view=0x1c32660, rangesWithAttributeOnly=false) at ../../kate/buffer/katetextbuffer.cpp:752
#7  0x00007fd43ac15bae in KateView::updateRangesIn (this=0x1c32660, activationType=KTextEditor::Attribute::ActivateMouseIn) at ../../kate/view/kateview.cpp:2767
#8  0x00007fd43ac163d7 in KateView::slotDelayedUpdateOfView (this=0x1c32660) at ../../kate/view/kateview.cpp:2732
#9  0x00007fd43ac16733 in KateView::qt_metacall (this=0x1c32660, _c=QMetaObject::InvokeMetaMethod, _id=134, _a=0x1bc76c0) at ./kateview.moc:458
#10 0x00007fd44cddf49a in QObject::event (this=0x1c32660, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#11 0x00007fd44bf6666d in QWidget::event (this=0x1c32660, event=0x28c1e70) at kernel/qwidget.cpp:8718
#12 0x00007fd44bf159e4 in QApplicationPrivate::notify_helper (this=0x100ff90, receiver=0x1c32660, e=0x28c1e70) at kernel/qapplication.cpp:4462
#13 0x00007fd44bf1a3aa in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x1c32660, e=0x28c1e70) at kernel/qapplication.cpp:4341
#14 0x00007fd44d80c866 in KApplication::notify (this=0x7fff45544790, receiver=0x1c32660, event=0x28c1e70) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fd44cdcb49c in QCoreApplication::notifyInternal (this=0x7fff45544790, receiver=0x1c32660, event=0x28c1e70) at kernel/qcoreapplication.cpp:731
#16 0x00007fd44cdcec25 in sendEvent (receiver=0x0, event_type=0, data=0xf9eb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf9eb60) at kernel/qcoreapplication.cpp:1372
#18 0x00007fd44cdf6253 in sendPostedEvents (s=0x10129c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0x10129c0) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007fd446c21bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd446c223a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fd446c22639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fd44cdf63ef in QEventDispatcherGlib::processEvents (this=0xf9e340, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007fd44bfbcdfe in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fd44cdca882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fd44cdcaabc in QEventLoop::exec (this=0x7fff455446f0, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007fd44cdceecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#28 0x00000000005d6dc4 in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118688</commentid>
    <comment_count>1</comment_count>
    <who name="Michel Ludwig">michel.ludwig</who>
    <bug_when>2011-05-13 09:58:32 +0000</bug_when>
    <thetext>Forwarding to KatePart.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1119433</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2011-05-15 09:52:56 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>