Bug 324017 - Kate crashed after quickly clicking End two times in a row
Summary: Kate crashed after quickly clicking End two times in a row
Status: RESOLVED DUPLICATE of bug 294241
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-25 16:11 UTC by Michcioperz
Modified: 2013-08-26 07:50 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 Michcioperz 2013-08-25 16:11:40 UTC
Application: kate (3.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:

I was editing a .lua file and accidentally pressed End button twice very quickly. Then it crashed.

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

Thread 4 (Thread 0xb183db40 (LWP 7803)):
#0  0xb779b424 in __kernel_vsyscall ()
#1  0xb5ed084b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76b2d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb1c8e0ad in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb1c8e0df in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5eccd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb76a53de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xaf770b40 (LWP 14093)):
#0  0xb779b424 in __kernel_vsyscall ()
#1  0xb7695dcb in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5e022db in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5df36d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5df3831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61afc3f in QEventDispatcherGlib::processEvents (this=0xaee00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb617c3ec in QEventLoop::processEvents (this=this@entry=0xaf770228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb617c6e1 in QEventLoop::exec (this=this@entry=0xaf770228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6067fec in QThread::exec (this=this@entry=0x8aaaab8) at thread/qthread.cpp:542
#9  0xb615bf2d in QInotifyFileSystemWatcherEngine::run (this=0x8aaaab8) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb606ab18 in QThreadPrivate::start (arg=0x8aaaab8) at thread/qthread_unix.cpp:338
#11 0xb5eccd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb76a53de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaebaeb40 (LWP 15628)):
#0  0xb779b424 in __kernel_vsyscall ()
#1  0xb76b88e2 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6
#2  0xb60c90d5 in do_gettime (frac=0xaebadf60, sec=0xaebadf58) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb61b080e in QTimerInfoList::updateCurrentTime (this=this@entry=0xae202074) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb61b0b9a in QTimerInfoList::timerWait (this=0xae202074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb61af373 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaebae08c) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb61af40d in timerSourcePrepare (source=0xae202040, timeout=0xaebae08c) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb5df2d21 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5df35cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5df3831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb61afc3f in QEventDispatcherGlib::processEvents (this=0xae200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb617c3ec in QEventLoop::processEvents (this=this@entry=0xaebae228, flags=...) at kernel/qeventloop.cpp:149
#13 0xb617c6e1 in QEventLoop::exec (this=this@entry=0xaebae228, flags=...) at kernel/qeventloop.cpp:204
#14 0xb6067fec in QThread::exec (this=this@entry=0x8d66378) at thread/qthread.cpp:542
#15 0xb615bf2d in QInotifyFileSystemWatcherEngine::run (this=0x8d66378) at io/qfilesystemwatcher_inotify.cpp:256
#16 0xb606ab18 in QThreadPrivate::start (arg=0x8d66378) at thread/qthread_unix.cpp:338
#17 0xb5eccd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0xb76a53de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4d4c740 (LWP 7748)):
[KCrash Handler]
#7  hasMatch (this=0x96f3928) at ../../part/syntax/katecodefolding.h:175
#8  matchingNode (this=0x96f3928) at ../../part/syntax/katecodefolding.h:178
#9  getStartMatching (endNode=0x9595f88, this=0x96f3928) at ../../part/syntax/katecodefolding.cpp:144
#10 KateCodeFoldingTree::getLineInfo (this=0x8693cbc, info=info@entry=0xbfd2174c, line=line@entry=58) at ../../part/syntax/katecodefolding.cpp:990
#11 0xb1e9b346 in lineInfo (line=58, line@entry=-2698544, info=0xbfd2174c, info@entry=0xbfd2152c, this=<optimized out>) at ../../part/document/katebuffer.h:192
#12 KateDocument::lineInfo (this=0x8549048, info=info@entry=0xbfd2174c, line=line@entry=58) at ../../part/document/katedocument.cpp:3902
#13 0xb1f5b8c5 in KateIconBorder::paintBorder (this=this@entry=0x880c960, y=y@entry=0, height=772) at ../../part/view/kateviewhelpers.cpp:1802
#14 0xb1f5d45a in KateIconBorder::paintEvent (this=0x880c960, e=0xbfd21e2c) at ../../part/view/kateviewhelpers.cpp:1560
#15 0xb6c736b6 in QWidget::event (this=0x880c960, event=0xbfd21e2c) at kernel/qwidget.cpp:8532
#16 0xb6c1cc7c in QApplicationPrivate::notify_helper (this=0x842bf40, receiver=0x880c960, e=0xbfd21e2c) at kernel/qapplication.cpp:4567
#17 0xb6c1fbfa in QApplication::notify (this=0x842bf40, receiver=0x880c960, e=0xbfd21e2c) at kernel/qapplication.cpp:4532
#18 0xb654c491 in KApplication::notify (this=0xbfd24dcc, receiver=0x880c960, event=0xbfd21e2c) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb617d90e in QCoreApplication::notifyInternal (this=0xbfd24dcc, receiver=0x880c960, event=0xbfd21e2c) at kernel/qcoreapplication.cpp:946
#20 0xb6c78cb3 in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::drawWidget (this=0x880c9e8, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5598
#22 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8740388, pdev=pdev@entry=0x8486380, siblings=..., index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x86c4a70) at kernel/qwidget.cpp:5807
#23 0xb6c7962a in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8740388, pdev=pdev@entry=0x8486380, siblings=..., index=1, index@entry=2, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x86c4a70) at kernel/qwidget.cpp:5794
#24 0xb6c7962a in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8740388, pdev=pdev@entry=0x8486380, siblings=..., index=2, index@entry=3, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x86c4a70) at kernel/qwidget.cpp:5794
#25 0xb6c7962a in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8740388, pdev=pdev@entry=0x8486380, siblings=..., index=3, index@entry=4, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x86c4a70) at kernel/qwidget.cpp:5794
#26 0xb6c7962a in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x8740388, pdev=pdev@entry=0x8486380, siblings=..., index=4, index@entry=5, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x86c4a70) at kernel/qwidget.cpp:5794
#27 0xb6c7962a in QWidgetPrivate::paintSiblingsRecursive (this=0x8740388, pdev=0x8486380, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5794
#28 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x8740388, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#29 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8821848, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#30 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x8821848, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#31 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x88198c0, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#32 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x88198c0, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#33 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8801480, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#34 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x8801480, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#35 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8777dc8, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#36 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x8777dc8, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#37 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86c8d48, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#38 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86c8d48, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#39 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86be890, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#40 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86be890, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#41 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86be318, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#42 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86be318, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#43 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86bd718, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#44 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86bd718, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#45 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86bc4d0, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#46 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86bc4d0, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#47 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86bb8d8, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#48 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86bb8d8, pdev=0x8486380, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#49 0xb6c797e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x86b8218, pdev=0x8486380, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5807
#50 0xb6c787ed in QWidgetPrivate::drawWidget (this=0x86b8218, pdev=0x8486380, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x86c4a70) at kernel/qwidget.cpp:5651
#51 0xb6e66154 in QWidgetBackingStore::sync (this=0x86c4a70) at painting/qbackingstore.cpp:1373
#52 0xb6c6554b in QWidgetPrivate::syncBackingStore (this=0x86b8218) at kernel/qwidget.cpp:1896
#53 0xb6c7398a in QWidget::event (this=0x86b6850, event=0x963fdc8) at kernel/qwidget.cpp:8679
#54 0xb70a42ac in QMainWindow::event (this=this@entry=0x86b6850, event=event@entry=0x963fdc8) at widgets/qmainwindow.cpp:1478
#55 0xb661db24 in KMainWindow::event (this=this@entry=0x86b6850, ev=ev@entry=0x963fdc8) at ../../kdeui/widgets/kmainwindow.cpp:1084
#56 0xb66673e2 in KXmlGuiWindow::event (this=this@entry=0x86b6850, ev=ev@entry=0x963fdc8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#57 0xb67c7b65 in KateMainWindow::event (this=0x86b6850, e=0x963fdc8) at ../../../kate/app/katemainwindow.cpp:1004
#58 0xb6c1cc7c in QApplicationPrivate::notify_helper (this=0x842bf40, receiver=0x86b6850, e=0x963fdc8) at kernel/qapplication.cpp:4567
#59 0xb6c1fbfa in QApplication::notify (this=0x842bf40, receiver=0x86b6850, e=0x963fdc8) at kernel/qapplication.cpp:4532
#60 0xb654c491 in KApplication::notify (this=0xbfd24dcc, receiver=0x86b6850, event=0x963fdc8) at ../../kdeui/kernel/kapplication.cpp:311
#61 0xb617d90e in QCoreApplication::notifyInternal (this=0xbfd24dcc, receiver=0x86b6850, event=0x963fdc8) at kernel/qcoreapplication.cpp:946
#62 0xb6181721 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#63 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x83f8370) at kernel/qcoreapplication.cpp:1570
#64 0xb6181a8c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#65 0xb61afaa4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#66 postEventSourceDispatch (s=0x842bed8) at kernel/qeventdispatcher_glib.cpp:279
#67 0xb5df33b3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#68 0xb5df3750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#69 0xb5df3831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#70 0xb61afc21 in QEventDispatcherGlib::processEvents (this=this@entry=0x8428550, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#71 0xb6cd3a5a in QGuiEventDispatcherGlib::processEvents (this=0x8428550, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0xb617c3ec in QEventLoop::processEvents (this=this@entry=0xbfd24ba8, flags=...) at kernel/qeventloop.cpp:149
#73 0xb617c6e1 in QEventLoop::exec (this=this@entry=0xbfd24ba8, flags=...) at kernel/qeventloop.cpp:204
#74 0xb61823fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#75 0xb6c1afc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#76 0xb7793de5 in kdemain (argc=2, argv=0xbfd24ed4) at ../../../kate/app/katemain.cpp:382
#77 0x0804854b in main (argc=2, argv=0xbfd24ed4) at kate_dummy.cpp:3

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

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-08-26 07:50:28 UTC
Good news is, that this is fixed in KDE 4.11.0.

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