Bug 315373

Summary: Kate crashed after Alt-tab
Product: [Applications] kate Reporter: Aleksey <aleksey14>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aleksey 2013-02-18 10:16:57 UTC
Application: kate (3.9.4)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic x86_64
Distribution: Ubuntu 12.10

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

1) typed a text in Kate
2) switched by Alt-Tab to Konsole
then Kate crashed

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

Thread 4 (Thread 0x7f7df797d700 (LWP 10509)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7df85b3cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f7df85b3d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f7e07d13e9a in start_thread (arg=0x7f7df797d700) at pthread_create.c:308
#4  0x00007f7e0a6d1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7df5ae3700 (LWP 10510)):
#0  0x00007f7e0a6c6303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e07844d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e07844ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e0860cc16 in QEventDispatcherGlib::processEvents (this=0x7f7df00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e085dd2bf in QEventLoop::processEvents (this=this@entry=0x7f7df5ae2dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e085dd548 in QEventLoop::exec (this=0x7f7df5ae2dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e084deb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e085bd9af in QInotifyFileSystemWatcherEngine::run (this=0xf51560) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7e084e1aec in QThreadPrivate::start (arg=0xf51560) at thread/qthread_unix.cpp:338
#9  0x00007f7e07d13e9a in start_thread (arg=0x7f7df5ae3700) at pthread_create.c:308
#10 0x00007f7e0a6d1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7df4a5d700 (LWP 15316)):
#0  0x00007f7e0a6c6303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e07844d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e07844ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e0860cc16 in QEventDispatcherGlib::processEvents (this=0x7f7de80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7e085dd2bf in QEventLoop::processEvents (this=this@entry=0x7f7df4a5cdd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e085dd548 in QEventLoop::exec (this=0x7f7df4a5cdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e084deb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f7e085bd9af in QInotifyFileSystemWatcherEngine::run (this=0x11bcc30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7e084e1aec in QThreadPrivate::start (arg=0x11bcc30) at thread/qthread_unix.cpp:338
#9  0x00007f7e07d13e9a in start_thread (arg=0x7f7df4a5d700) at pthread_create.c:308
#10 0x00007f7e0a6d1cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7e0adc6780 (LWP 10508)):
[KCrash Handler]
#6  hasMatch (this=0x15f3090) at ../../part/syntax/katecodefolding.h:228
#7  matchingNode (this=0x15f3090) at ../../part/syntax/katecodefolding.h:231
#8  getStartMatching (endNode=0x16e54a0, this=0x15f3090) at ../../part/syntax/katecodefolding.cpp:155
#9  KateCodeFoldingTree::getLineInfo (this=<optimized out>, info=0x7fffb23b2470, line=<optimized out>) at ../../part/syntax/katecodefolding.cpp:995
#10 0x00007f7df8c89145 in KateIconBorder::paintBorder (this=0xbdbeb0, y=<optimized out>, height=<optimized out>) at ../../part/view/kateviewhelpers.cpp:1203
#11 0x00007f7e09b4d802 in QWidget::event (this=0xbdbeb0, event=0x7fffb23b2e40) at kernel/qwidget.cpp:8517
#12 0x00007f7e09afde9c in QApplicationPrivate::notify_helper (this=this@entry=0x6cbf60, receiver=receiver@entry=0xbdbeb0, e=e@entry=0x7fffb23b2e40) at kernel/qapplication.cpp:4562
#13 0x00007f7e09b0230a in QApplication::notify (this=0x7fffb23b6f00, receiver=0xbdbeb0, e=0x7fffb23b2e40) at kernel/qapplication.cpp:4423
#14 0x00007f7e08dda1d6 in KApplication::notify (this=0x7fffb23b6f00, receiver=0xbdbeb0, event=0x7fffb23b2e40) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f7e085de56e in QCoreApplication::notifyInternal (this=0x7fffb23b6f00, receiver=0xbdbeb0, event=0x7fffb23b2e40) at kernel/qcoreapplication.cpp:915
#16 0x00007f7e09b49524 in sendSpontaneousEvent (event=0x7fffb23b2e40, receiver=0xbdbeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#17 QWidgetPrivate::drawWidget (this=this@entry=0xbdbf80, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5594
#18 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xbe3cd0, pdev=pdev@entry=0xeca2e0, siblings=..., index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5803
#19 0x00007f7e09b49e64 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xbe3cd0, pdev=pdev@entry=0xeca2e0, siblings=..., index=1, index@entry=2, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5790
#20 0x00007f7e09b49e64 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xbe3cd0, pdev=pdev@entry=0xeca2e0, siblings=..., index=2, index@entry=3, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5790
#21 0x00007f7e09b49e64 in QWidgetPrivate::paintSiblingsRecursive (this=0xbe3cd0, pdev=0xeca2e0, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5790
#22 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0xbe3cd0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#23 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0xbbedc0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#24 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0xbbedc0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#25 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x99e150, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#26 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x99e150, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#27 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x99dd10, pdev=pdev@entry=0xeca2e0, siblings=..., index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5803
#28 0x00007f7e09b49e64 in QWidgetPrivate::paintSiblingsRecursive (this=0x99dd10, pdev=0xeca2e0, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5790
#29 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x99dd10, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#30 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x995d80, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#31 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x995d80, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#32 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x987bb0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#33 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x987bb0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#34 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x9871b0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#35 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x9871b0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#36 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x985d30, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#37 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x985d30, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#38 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x9852b0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#39 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x9852b0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#40 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x9840b0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#41 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=this@entry=0x9840b0, pdev=pdev@entry=0xeca2e0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xb04880) at kernel/qwidget.cpp:5647
#42 0x00007f7e09b4a01f in QWidgetPrivate::paintSiblingsRecursive (this=0x97e6e0, pdev=0xeca2e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5803
#43 0x00007f7e09b490b5 in QWidgetPrivate::drawWidget (this=0x97e6e0, pdev=0xeca2e0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xb04880) at kernel/qwidget.cpp:5647
#44 0x00007f7e09d17958 in QWidgetBackingStore::sync (this=0xb04880) at painting/qbackingstore.cpp:1373
#45 0x00007f7e09b3e7f0 in QWidgetPrivate::syncBackingStore (this=this@entry=0x97e6e0) at kernel/qwidget.cpp:1892
#46 0x00007f7e09b4de4c in QWidget::event (this=0x97bfa0, event=0x16dc350) at kernel/qwidget.cpp:8664
#47 0x00007f7e09f161cb in QMainWindow::event (this=0x97bfa0, event=0x16dc350) at widgets/qmainwindow.cpp:1478
#48 0x00007f7e08ecb7d8 in KXmlGuiWindow::event (this=0x97bfa0, ev=0x16dc350) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#49 0x00007f7e09afde9c in QApplicationPrivate::notify_helper (this=this@entry=0x6cbf60, receiver=receiver@entry=0x97bfa0, e=e@entry=0x16dc350) at kernel/qapplication.cpp:4562
#50 0x00007f7e09b0230a in QApplication::notify (this=0x7fffb23b6f00, receiver=0x97bfa0, e=0x16dc350) at kernel/qapplication.cpp:4423
#51 0x00007f7e08dda1d6 in KApplication::notify (this=0x7fffb23b6f00, receiver=0x97bfa0, event=0x16dc350) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f7e085de56e in QCoreApplication::notifyInternal (this=0x7fffb23b6f00, receiver=receiver@entry=0x97bfa0, event=event@entry=0x16dc350) at kernel/qcoreapplication.cpp:915
#53 0x00007f7e085e23f1 in sendEvent (event=0x16dc350, receiver=0x97bfa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x68f670) at kernel/qcoreapplication.cpp:1539
#55 0x00007f7e0860ca63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x6c6910) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f7e07844ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f7e07844de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f7e07844ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f7e0860cbf6 in QEventDispatcherGlib::processEvents (this=0x690b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f7e09ba2c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f7e085dd2bf in QEventLoop::processEvents (this=this@entry=0x7fffb23b6a90, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f7e085dd548 in QEventLoop::exec (this=0x7fffb23b6a90, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f7e085e2708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#65 0x00007f7e0a9b94bd in kdemain (argc=<optimized out>, argv=0x7fffb23b7000) at ../../../kate/app/katemain.cpp:377
#66 0x00007f7e0a5ff76d in __libc_start_main (main=0x400690 <main(int, char**)>, argc=3, ubp_av=0x7fffb23b7088, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb23b7078) at libc-start.c:226
#67 0x00000000004006c1 in _start ()

Possible duplicates by query: bug 311790, bug 311180, bug 309846, bug 308139, bug 306369.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-02-20 11:11:29 UTC

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