[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692878: kate: Crash while using undo/redo while editing patch files.



Package: kate
Version: 4:4.8.4-1
Severity: important

Hello,

I'm using Kate to edit patch files and it keeps crashing on me whenever I do
several undo / redos consecutively while changing only portions of each block
of code.

KDE bug's reporter reports this as most likely already having been fixed
upstream. (Dupplicate of KDE Bug#294241).

Backtrace of the crash I experienced:

Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-
gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4d58930 (LWP 25345))]

Thread 2 (Thread 0xb1e49b70 (LWP 25349)):
#0  0xb775a424 in __kernel_vsyscall ()
#1  0xb5e9c20a in __pthread_cond_wait (cond=0xb2145650, mutex=0xb2145638) at
pthread_cond_wait.c:153
#2  0xb76a932d in __pthread_cond_wait (cond=0xb2145650, mutex=0xb2145638) at
forward.c:139
#3  0xb203219d in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb20321cf in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5e97c39 in start_thread (arg=0xb1e49b70) at pthread_create.c:304
#6  0xb769c23e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4d58930 (LWP 25345)):
[KCrash Handler]
#7  hasMatch (this=0xa381a48) at ../../part/syntax/katecodefolding.h:228
#8  matchingNode (this=0xa381a48) at ../../part/syntax/katecodefolding.h:231
#9  getStartMatching (endNode=0xa1d0ef0, this=0xa381a48) at
.../../part/syntax/katecodefolding.cpp:155
#10 KateCodeFoldingTree::getLineInfo (this=0x9ed1798, info=0xbfebbeac, line=31)
at ../../part/syntax/katecodefolding.cpp:1020
#11 0xb2247566 in lineInfo (line=31, info=0xbfebbeac, this=<optimized out>) at
.../../part/document/katebuffer.h:187
#12 KateDocument::lineInfo (this=0x9ed1290, info=0xbfebbeac, line=31) at
.../../part/document/katedocument.cpp:4041
#13 0xb22fff15 in KateIconBorder::paintBorder (this=this@entry=0xa071350,
y=y@entry=0, height=619) at ../../part/view/kateviewhelpers.cpp:1197
#14 0xb2301a8a in KateIconBorder::paintEvent (this=0xa071350, e=0xbfebc5cc) at
.../../part/view/kateviewhelpers.cpp:955
#15 0xb6c8dba4 in QWidget::event (this=0xa071350, event=0xbfebc5cc) at
kernel/qwidget.cpp:8517
#16 0xb6c3447c in QApplicationPrivate::notify_helper (this=0x9c9c1d8,
receiver=0xa071350, e=0xbfebc5cc) at kernel/qapplication.cpp:4556
#17 0xb6c38f24 in QApplication::notify (this=0x9c9c1d8, receiver=0xa071350,
e=0xbfebc5cc) at kernel/qapplication.cpp:4417
#18 0xb65386b1 in KApplication::notify (this=0xbfebf3fc, receiver=0xa071350,
event=0xbfebc5cc) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb614c55e in QCoreApplication::notifyInternal (this=0xbfebf3fc,
receiver=0xa071350, event=0xbfebc5cc) at kernel/qcoreapplication.cpp:915
#20 0xb6c89423 in sendSpontaneousEvent (event=<optimized out>,
receiver=<optimized out>) at
.../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::drawWidget (this=0xa0713e8, pdev=0xa1e0fb0, rgn=...,
offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5594
#22 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xa0797a8, pdev=pdev@entry=0xa1e0fb0, siblings=...,
index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5803
#23 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xa0797a8, pdev=pdev@entry=0xa1e0fb0, siblings=..., index=1,
index@entry=2, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5790
#24 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xa0797a8, pdev=pdev@entry=0xa1e0fb0, siblings=..., index=2,
index@entry=3, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5790
#25 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xa0797a8, pdev=pdev@entry=0xa1e0fb0, siblings=..., index=3,
index@entry=4, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5790
#26 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0xa0797a8, pdev=pdev@entry=0xa1e0fb0, siblings=..., index=4,
index@entry=5, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5790
#27 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive (this=0xa0797a8,
pdev=0xa1e0fb0, siblings=..., index=5, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5790
#28 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0xa0797a8, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#29 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0xa0676a8,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#30 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0xa0676a8, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#31 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9f0f558,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#32 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9f0f558, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#33 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive
(this=this@entry=0x9f0f2d8, pdev=pdev@entry=0xa1e0fb0, siblings=...,
index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4,
sharedPainter=sharedPainter@entry=0x0,
backingStore=backingStore@entry=0x9f06798) at kernel/qwidget.cpp:5803
#34 0xb6c89da2 in QWidgetPrivate::paintSiblingsRecursive (this=0x9f0f2d8,
pdev=0xa1e0fb0, siblings=..., index=1, rgn=..., offset=..., flags=4,
sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5790
#35 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9f0f2d8, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#36 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9f0ae50,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#37 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9f0ae50, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#38 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9f00a30,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#39 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9f00a30, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#40 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9f002e0,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#41 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9f002e0, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#42 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9eff410,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#43 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9eff410, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#44 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9efed20,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#45 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9efed20, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#46 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9efe198,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#47 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9efe198, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#48 0xb6c89f5a in QWidgetPrivate::paintSiblingsRecursive (this=0x9efb9b8,
pdev=0xa1e0fb0, siblings=..., index=<optimized out>, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x9f06798) at kernel/qwidget.cpp:5803
#49 0xb6c88f5d in QWidgetPrivate::drawWidget (this=0x9efb9b8, pdev=0xa1e0fb0,
rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x9f06798) at
kernel/qwidget.cpp:5647
#50 0xb6e7fb96 in QWidgetBackingStore::sync (this=0x9f06798) at
painting/qbackingstore.cpp:1373
#51 0xb6c7cf2b in QWidgetPrivate::syncBackingStore (this=0x9efb9b8) at
kernel/qwidget.cpp:1892
#52 0xb6c8e21f in QWidget::event (this=0x9efa5a8, event=0xa3515c8) at
kernel/qwidget.cpp:8664
#53 0xb70bbf1c in QMainWindow::event (this=0x9efa5a8, event=0xa3515c8) at
widgets/qmainwindow.cpp:1478
#54 0xb660dca4 in KMainWindow::event (this=0x9efa5a8, ev=0xa3515c8) at
.../../kdeui/widgets/kmainwindow.cpp:1084
#55 0xb6654ca2 in KXmlGuiWindow::event (this=0x9efa5a8, ev=0xa3515c8) at
.../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#56 0xb6c3447c in QApplicationPrivate::notify_helper (this=0x9c9c1d8,
receiver=0x9efa5a8, e=0xa3515c8) at kernel/qapplication.cpp:4556
#57 0xb6c38f24 in QApplication::notify (this=0x9c9c1d8, receiver=0x9efa5a8,
e=0xa3515c8) at kernel/qapplication.cpp:4417
#58 0xb65386b1 in KApplication::notify (this=0xbfebf3fc, receiver=0x9efa5a8,
event=0xa3515c8) at ../../kdeui/kernel/kapplication.cpp:311
#59 0xb614c55e in QCoreApplication::notifyInternal (this=0xbfebf3fc,
receiver=0x9efa5a8, event=0xa3515c8) at kernel/qcoreapplication.cpp:915
#60 0xb615076d in sendEvent (event=<optimized out>, receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9c72370) at kernel/qcoreapplication.cpp:1539
#62 0xb61509ec in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1432
#63 0xb617e6c4 in sendPostedEvents () at
.../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#64 postEventSourceDispatch (s=0x9c9a7a0) at
kernel/qeventdispatcher_glib.cpp:279
#65 0xb5dc36d3 in g_main_context_dispatch () from /lib/i386-linux-
gnu/libglib-2.0.so.0
#66 0xb5dc3a70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0xb5dc3b51 in g_main_context_iteration () from /lib/i386-linux-
gnu/libglib-2.0.so.0
#68 0xb617e841 in QEventDispatcherGlib::processEvents (this=0x9c72ed8,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#69 0xb6ce71fa in QGuiEventDispatcherGlib::processEvents (this=0x9c72ed8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0xb614b02c in QEventLoop::processEvents (this=this@entry=0xbfebf1d8,
flags=...) at kernel/qeventloop.cpp:149
#71 0xb614b321 in QEventLoop::exec (this=0xbfebf1d8, flags=...) at
kernel/qeventloop.cpp:204
#72 0xb6150a9a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#73 0xb6c322f4 in QApplication::exec () at kernel/qapplication.cpp:3817
#74 0xb7752655 in kdemain (argc=3, argv=0xbfebf514) at
.../../../kate/app/katemain.cpp:377
#75 0x080485fb in main (argc=3, argv=0xbfebf514) at kate_dummy.cpp:3






-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kate depends on:
ii  kate-data           4:4.8.4-1
ii  katepart            4:4.8.4-1
ii  kde-runtime         4:4.8.4-2
ii  libc6               2.13-35
ii  libkateinterfaces4  4:4.8.4-1
ii  libkdecore5         4:4.8.4-4
ii  libkdeui5           4:4.8.4-4
ii  libkfile4           4:4.8.4-4
ii  libkio5             4:4.8.4-4
ii  libknewstuff2-4     4:4.8.4-4
ii  libknewstuff3-4     4:4.8.4-4
ii  libkparts4          4:4.8.4-4
ii  libktexteditor4     4:4.8.4-4
ii  libplasma3          4:4.8.4-4
ii  libqt4-dbus         4:4.8.2+dfsg-2
ii  libqt4-qt3support   4:4.8.2+dfsg-2
ii  libqt4-sql          4:4.8.2+dfsg-2
ii  libqt4-xml          4:4.8.2+dfsg-2
ii  libqtcore4          4:4.8.2+dfsg-2
ii  libqtgui4           4:4.8.2+dfsg-2
ii  libstdc++6          4.7.1-7

kate recommends no packages.

Versions of packages kate suggests:
ii  aspell        0.60.7~20110707-1
ii  ispell        3.3.02-5
ii  khelpcenter4  4:4.8.4-2
ii  konsole       4:4.8.4-1

-- no debconf information


Reply to: