Bug 325804 - KATE crashes even when using other apps
Summary: KATE crashes even when using other apps
Status: RESOLVED DUPLICATE of bug 294241
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.10.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-09 10:07 UTC by Malcolm Smith
Modified: 2013-10-09 10:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malcolm Smith 2013-10-09 10:07:05 UTC
Application: kate (3.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.6
Operating System: Linux 3.11-3.slh.3-aptosid-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Dragging and dropping some files between two ROX-Filer windows, not even touching KATE, which crashed in the background. The many other times KATE has crashed it has been when scrolling text, copying or pasting text, or typing. I suspect this is all related to my original bug #309784, which got merged into #294241 and then marked as solved on 2013-03-27 by a complete rewrite of folding related stuff, yet the crashes continue. I'm not sure if these fixes have filtered down to my version yet - I'm currently using KATE Version 3.10.5 Using KDE Development Platform 4.10.5 on Debian sid/aptosid running fluxbox. I'm not able to install kate.git master, from kate-editor.org/get-it as suggested as this is a production system. And sorry, I can't provide example text files as they contain personal info, but it seems completely unrelated to content, as this crash shows, and is unrepeatable, seeming just random. I just hope that you can make some sense of the backtrace. I generally have between five and fifteen KATE Sessions running (alongside browser, Terminals, file managers, etc.), each of which has between ten and a hundred documents.

- Custom settings of the application:
I use lots of text files with "Other/Diff" Syntax Highlighting, because I like the colours : )   Maybe I should pick a different Syntax-Highlighting scheme, because KATE crashes often like this.

-- Backtrace:
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 0xb4d5a740 (LWP 5040))]

Thread 2 (Thread 0xb1e8bb40 (LWP 5041)):
#0  0xb778a424 in __kernel_vsyscall ()
#1  0xb5f037ab in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#2  0xb76b02ac in pthread_cond_wait () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#3  0xb2366422 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb236646f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5effcf1 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#6  0xb76a308e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4d5a740 (LWP 5040)):
[KCrash Handler]
#7  hasMatch (this=0x932b650) at ../../part/syntax/katecodefolding.h:175
#8  matchingNode (this=0x932b650) at ../../part/syntax/katecodefolding.h:178
#9  getStartMatching (endNode=0x92d50f8, this=0x932b650) at ../../part/syntax/katecodefolding.cpp:144
#10 KateCodeFoldingTree::getLineInfo (this=0x8e92dfc, info=info@entry=0xbfecc468, line=line@entry=39) at ../../part/syntax/katecodefolding.cpp:990
#11 0xb2572286 in lineInfo (line=39, info=0xbfecc468, info@entry=0xbfecc308, this=<optimized out>) at ../../part/document/katebuffer.h:192
#12 KateDocument::lineInfo (this=0x8e92a30, info=info@entry=0xbfecc468, line=39) at ../../part/document/katedocument.cpp:3902
#13 0xb263059a in KateIconBorder::paintBorder (this=this@entry=0x9235610, y=y@entry=600, height=15) at ../../part/view/kateviewhelpers.cpp:1645
#14 0xb263116a in KateIconBorder::paintEvent (this=0x9235610, e=0xbfecc898) at ../../part/view/kateviewhelpers.cpp:1560
#15 0xb6c927a5 in QWidget::event (this=0x9235610, event=0xbfecc898) at kernel/qwidget.cpp:8533
#16 0xb6c388b4 in QApplicationPrivate::notify_helper (this=0x8995540, receiver=0x9235610, e=0xbfecc898) at kernel/qapplication.cpp:4567
#17 0xb6c3f3b3 in QApplication::notify (this=0xbfece66c, receiver=receiver@entry=0x9235610, e=e@entry=0xbfecc898) at kernel/qapplication.cpp:4353
#18 0xb6585554 in KApplication::notify (this=0xbfece66c, receiver=0x9235610, event=0xbfecc898) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb61b071a in QCoreApplication::notifyInternal (this=0xbfece66c, receiver=0x9235610, event=0xbfecc898) at kernel/qcoreapplication.cpp:949
#20 0xb6c8c471 in sendSpontaneousEvent (event=0xbfecc898, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::drawWidget (this=0x9236178, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5599
#22 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x92258e8, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#23 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x92258e8, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#24 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e65c98, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#25 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e65c98, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#26 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=0x8e65a08, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#27 0xb6c8cdc8 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e65a08, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5795
#28 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e65a08, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#29 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e61828, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#30 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e61828, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#31 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e5b140, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#32 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e5b140, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#33 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e54950, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#34 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e54950, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#35 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e54298, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#36 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e54298, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#37 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e534b8, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#38 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e534b8, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#39 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e522d8, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#40 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e522d8, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#41 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8e51490, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#42 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8e51490, pdev=0x8c1ede0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5652
#43 0xb6c8cf79 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8c6de10, pdev=0x8c1ede0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8e508f8) at kernel/qwidget.cpp:5808
#44 0xb6c8c00a in QWidgetPrivate::drawWidget (this=0x8c6de10, pdev=0x8c1ede0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x8e508f8) at kernel/qwidget.cpp:5652
#45 0xb6e78df1 in QWidgetBackingStore::sync (this=0x8e508f8) at painting/qbackingstore.cpp:1373
#46 0xb6c8054b in QWidgetPrivate::syncBackingStore (this=this@entry=0x8c6de10) at kernel/qwidget.cpp:1894
#47 0xb6c921ec in QWidget::event (this=0x8ccd848, event=event@entry=0x95c17d8) at kernel/qwidget.cpp:8680
#48 0xb70b58ef in QMainWindow::event (this=this@entry=0x8ccd848, event=event@entry=0x95c17d8) at widgets/qmainwindow.cpp:1478
#49 0xb6654095 in KMainWindow::event (this=this@entry=0x8ccd848, ev=ev@entry=0x95c17d8) at ../../kdeui/widgets/kmainwindow.cpp:1084
#50 0xb6696286 in KXmlGuiWindow::event (this=this@entry=0x8ccd848, ev=ev@entry=0x95c17d8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#51 0xb67f32dc in KateMainWindow::event (this=0x8ccd848, e=0x95c17d8) at ../../../kate/app/katemainwindow.cpp:1004
#52 0xb6c388b4 in QApplicationPrivate::notify_helper (this=0x8995540, receiver=0x8ccd848, e=0x95c17d8) at kernel/qapplication.cpp:4567
#53 0xb6c3f3b3 in QApplication::notify (this=0xbfece66c, receiver=receiver@entry=0x8ccd848, e=e@entry=0x95c17d8) at kernel/qapplication.cpp:4353
#54 0xb6585554 in KApplication::notify (this=0xbfece66c, receiver=0x8ccd848, event=0x95c17d8) at ../../kdeui/kernel/kapplication.cpp:311
#55 0xb61b071a in QCoreApplication::notifyInternal (this=0xbfece66c, receiver=receiver@entry=0x8ccd848, event=event@entry=0x95c17d8) at kernel/qcoreapplication.cpp:949
#56 0xb61b3ee5 in sendEvent (event=0x95c17d8, receiver=0x8ccd848) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8966370) at kernel/qcoreapplication.cpp:1573
#58 0xb61b440c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#59 0xb61e0a3e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#60 postEventSourceDispatch (s=0x8995ca8) at kernel/qeventdispatcher_glib.cpp:280
#61 0xb5e2142e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb5e217d8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb5e21898 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#64 0xb61e021f in QEventDispatcherGlib::processEvents (this=this@entry=0x8966ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#65 0xb6ce9dae in QGuiEventDispatcherGlib::processEvents (this=0x8966ee0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb61af163 in QEventLoop::processEvents (this=this@entry=0xbfece528, flags=...) at kernel/qeventloop.cpp:149
#67 0xb61af489 in QEventLoop::exec (this=this@entry=0xbfece528, flags=...) at kernel/qeventloop.cpp:204
#68 0xb61b50fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#69 0xb6c36d44 in QApplication::exec () at kernel/qapplication.cpp:3828
#70 0xb778386d in kdemain (argc=1, argv=0xbfece774) at ../../../kate/app/katemain.cpp:382
#71 0x0804854b in main (argc=1, argv=0xbfece774) at kate_dummy.cpp:3

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

Possible duplicates by query: bug 324017, bug 317207, bug 315373, bug 311790, bug 311180.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-10-09 10:39:33 UTC
Yes, this issue is indeed solved as soon as you update got KDE 4.11 (Kate 3.11). If you want, you can also use the development version of Kate, available by following http://kate-editor.org/get-it/
Your system installation will remain untouched, so it's rather safe to do this.

Thanks for you report, though :-)

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