Closing several documents in rapid succession in Kate often leads to a crash with the following backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7856930 (LWP 1643))]
Thread 2 (Thread 0xb4663b70 (LWP 3649)):
#0 0x00ed4e46 in *__GI_clock_gettime (clock_id=15568884, tp=0xb4662f90) at ../sysdeps/unix/clock_gettime.c:100
#1 0x0579e7eb in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2 qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3 0x05874ac5 in QTimerInfoList::updateCurrentTime (this=0xa03512c) at kernel/qeventdispatcher_unix.cpp:339
#4 0x05874b0a in QTimerInfoList::timerWait (this=0xa03512c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5 0x05872b98 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb46630bc) at kernel/qeventdispatcher_glib.cpp:136
#6 0x05872c2d in timerSourcePrepare (source=0x0, timeout=0xed8ff4) at kernel/qeventdispatcher_glib.cpp:169
#7 0x007347ca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8 0x00734bd9 in ?? () from /lib/libglib-2.0.so.0
#9 0x007351a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0587298f in QEventDispatcherGlib::processEvents (this=0xa035240, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#11 0x05842cb9 in QEventLoop::processEvents (this=0xb4663290, flags=) at kernel/qeventloop.cpp:149
#12 0x0584313a in QEventLoop::exec (this=0xb4663290, flags=...) at kernel/qeventloop.cpp:201
#13 0x05740a8e in QThread::exec (this=0xa4d2040) at thread/qthread.cpp:490
#14 0x05821eab in QInotifyFileSystemWatcherEngine::run (this=0xa4d2040) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05743d09 in QThreadPrivate::start (arg=0xa4d2040) at thread/qthread_unix.cpp:266
#16 0x00502cc9 in start_thread (arg=0xb4663b70) at pthread_create.c:304
#17 0x001e073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb7856930 (LWP 1643)):
[KCrash Handler]
#7 QList (this=0x35f5d67) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118
#8 QWidget::actions (this=0x35f5d67) at kernel/qwidget.cpp:3151
#9 0x018246cd in DBusMenuExporterDBus::GetChildren (this=0xa4b74b8, parentId=847, names=...) at ../3rdparty/dbusmenu-qt/src/dbusmenuexporterdbus_p.cpp:53
#10 0x0183cd1d in DBusMenuExporterDBus::qt_metacall (this=0xa4b74b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa6ca7c) at .moc/release-shared/moc_dbusmenuexporterdbus_p.cpp:103
#11 0x0054918c in QDBusConnectionPrivate::deliverCall (this=0x9db9260, object=0xa4b74b8, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:909
#12 0x0054a4a5 in QDBusConnectionPrivate::activateCall (this=0x9db9260, object=0xa4b74b8, flags=4080, msg=...) at qdbusintegrator.cpp:819
#13 0x0054ac0c in QDBusConnectionPrivate::activateObject (this=0x9db9260, node=..., msg=..., pathStartPos=10) at qdbusintegrator.cpp:1388
#14 0x0054b17a in QDBusActivateObjectEvent::placeMetaCall (this=0xa9bf908) at qdbusintegrator.cpp:1482
#15 0x05856cf2 in QObject::event (this=0xa4b74b8, e=0xbfa6c8c8) at kernel/qobject.cpp:1219
#16 0x010ce08c in QApplicationPrivate::notify_helper (this=0x9dbcca8, receiver=0xa4b74b8, e=0xa9bf908) at kernel/qapplication.cpp:4389
#17 0x010d40ce in QApplication::notify (this=0xbfa6d4fc, receiver=0xa4b74b8, e=0xa9bf908) at kernel/qapplication.cpp:3791
#18 0x00a3f06a in KApplication::notify (this=0xbfa6d4fc, receiver=0xa4b74b8, event=0xa9bf908) at ../../kdeui/kernel/kapplication.cpp:309
#19 0x058441eb in QCoreApplication::notifyInternal (this=0xbfa6d4fc, receiver=0xa4b74b8, event=0xa9bf908) at kernel/qcoreapplication.cpp:732
#20 0x0584743b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9da10b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9da10b8) at kernel/qcoreapplication.cpp:1373
#22 0x058475fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#23 0x05872e5f in QCoreApplication::sendPostedEvents (s=0x9dbc958) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x9dbc958) at kernel/qeventdispatcher_glib.cpp:276
#25 0x007311b5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00734fc8 in ?? () from /lib/libglib-2.0.so.0
#27 0x007351a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x05872955 in QEventDispatcherGlib::processEvents (this=0x9dc0910, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0x0118eac5 in QGuiEventDispatcherGlib::processEvents (this=0x9dc0910, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x05842cb9 in QEventLoop::processEvents (this=0xbfa6d3f4, flags=) at kernel/qeventloop.cpp:149
#31 0x0584313a in QEventLoop::exec (this=0xbfa6d3f4, flags=...) at kernel/qeventloop.cpp:201
#32 0x058476bf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x010cceb7 in QApplication::exec () at kernel/qapplication.cpp:3665
#34 0x005d3b07 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#35 0x080485fb in _start ()