Bug 326284 - Kate crashed after killing one instance that hung during save
Summary: Kate crashed after killing one instance that hung during save
Status: RESOLVED DUPLICATE of bug 324786
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.11.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-19 19:44 UTC by Dennis Schridde
Modified: 2013-11-02 13:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-10-19 19:44:40 UTC
Application: kate (3.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I killed one instance of kate


- Unusual behavior I noticed:

1) There were two instances of kate running. One I started manually and one I started from Kontact using Open-With:

$ ps aux | grep kate
USER 14451  5.5  1.3 2782268 83668 ?       Sl   21:27   0:38 /usr/bin/kate /tmp/.private/XXX/kontactaC2743.index.3/THE_FILE
USER 21557  0.0  0.3 293064 20720 ?        S    21:35   0:00 /usr/bin/kate -b /tmp/.private/XXX/kontactaC2743.index.3/THE_FILE

No idea, why they both have the same file in their arguments.

2) Despite there being two kate processes, only one window was visible

3) The visible kate window hung after I pressed ^S. There was no significant disk activity, but the window never came back to life, even after almost a minute. Thus I killed this instance of kate using ctrl+alt+esc and clicking the window.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fadec563780 (LWP 14451))]

Thread 3 (Thread 0x7fade5854700 (LWP 14453)):
#0  0x0000003a0480b8b4 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00000032db9874eb in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00000032db987529 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x0000003a04807dff in start_thread () from /lib64/libpthread.so.0
#4  0x0000003a040e701d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fad627d3700 (LWP 14555)):
#0  0x0000003f7a087adf in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x0000003f7a087e09 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x0000003f7a048076 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x0000003f7a0488e3 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x0000003f7a048ad4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00000032d09aa2ce in QEventDispatcherGlib::processEvents (this=0x7fad5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00000032d097badf in QEventLoop::processEvents (this=this@entry=0x7fad627d2e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000032d097bdcd in QEventLoop::exec (this=this@entry=0x7fad627d2e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00000032d0879860 in QThread::exec (this=this@entry=0x1942c50) at thread/qthread.cpp:536
#9  0x00000032d095cf2b in QInotifyFileSystemWatcherEngine::run (this=0x1942c50) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00000032d087c0ff in QThreadPrivate::start (arg=0x1942c50) at thread/qthread_unix.cpp:338
#11 0x0000003a04807dff in start_thread () from /lib64/libpthread.so.0
#12 0x0000003a040e701d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fadec563780 (LWP 14451)):
[KCrash Handler]
#6  QObject::thread (this=0x0) at kernel/qobject.cpp:1370
#7  0x0000003734b4bf3f in KDBusConnectionPool::threadConnection () at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kdecore/kernel/kdbusconnectionpool.cpp:64
#8  0x0000003735d30e4a in emitSignal (signalName=..., args=...) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirnotify.cpp:34
#9  0x0000003735d314da in OrgKdeKDirNotifyInterface::emitLeftDirectory (url=...) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirnotify.cpp:69
#10 0x0000003735d19c72 in sendSignal (this=<optimized out>, url=..., entering=false) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirlister_p.h:343
#11 ~DirItem (this=0x2301820, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirlister_p.h:331
#12 clear (this=0x20daa30) at /usr/include/qt4/QtCore/qcache.h:139
#13 KDirListerCache::~KDirListerCache (this=0x20daa10, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirlister.cpp:82
#14 0x0000003735d1a189 in KDirListerCache::~KDirListerCache (this=0x20daa10, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kio/kio/kdirlister.cpp:87
#15 0x0000003a040379e9 in __run_exit_handlers () from /lib64/libc.so.6
#16 0x0000003a04037a65 in exit () from /lib64/libc.so.6
#17 0x00000032d3a33e58 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#18 0x000000373523f2c8 in KApplication::xioErrhandler (this=0x7fff284fa7a0, dpy=0x1171c30) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:419
#19 0x00000030c2c44a1e in _XIOError (dpy=dpy@entry=0x1171c30) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/XlibInt.c:1498
#20 0x00000030c2c424fa in _XReadEvents (dpy=dpy@entry=0x1171c30) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/xcb_io.c:414
#21 0x00000030c2c2a581 in XIfEvent (dpy=0x1171c30, event=event@entry=0x7fff284f8750, predicate=predicate@entry=0x30c2c70d70 <_CheckCMEvent>, arg=arg@entry=0x1c69b60 " V\363\302\060") at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/src/IfEvent.c:68
#22 0x00000030c2c714e4 in _XimXRead (im=0x1c69b60, recv_buf=0x7fff284f9140 "", buf_len=2032, ret_len=0x7fff284f886c) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/modules/im/ximcp/imTrX.c:476
#23 0x00000030c2c7207f in _XimReadData (im=im@entry=0x1c69b60, len=len@entry=0x7fff284f88ce, buf=buf@entry=0x7fff284f9130 "<", buf_size=2032, buf_size@entry=2048) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/modules/im/ximcp/imTransR.c:188
#24 0x00000030c2c723e9 in _XimRead (im=im@entry=0x1c69b60, len=len@entry=0x7fff284f892e, buf=buf@entry=0x7fff284f9130 "<", buf_size=buf_size@entry=2048, predicate=predicate@entry=0x30c2c60010 <_XimResetICCheck>, arg=arg@entry=0x212d230 "\300U\363\302\060") at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/modules/im/ximcp/imTransR.c:235
#25 0x00000030c2c60156 in _XimProtoReset (xic=0x212d230, retfunc=0x30c2c61010 <_XimCommitedMbString>) at /var/tmp/portage/x11-libs/libX11-1.6.2/work/libX11-1.6.2/modules/im/ximcp/imDefIc.c:1109
#26 0x00000032d3f724b7 in QXIMInputContext::reset (this=0x1c69820) at inputmethod/qximinputcontext_x11.cpp:584
#27 0x00000032d39cf68a in QApplicationPrivate::setFocusWidget (focus=focus@entry=0x1939c90, reason=reason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:2228
#28 0x00000032d3a17a4b in QWidget::setFocus (this=0x1939c90, reason=reason@entry=Qt::MouseFocusReason) at kernel/qwidget.cpp:6464
#29 0x00000032d39c99d7 in QApplicationPrivate::giveFocusAccordingToFocusPolicy (widget=widget@entry=0x1648230, focusPolicy=focusPolicy@entry=Qt::ClickFocus, focusReason=focusReason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:5596
#30 0x00000032d39d1727 in QApplication::notify (this=this@entry=0x7fff284fa7a0, receiver=receiver@entry=0x1648230, e=e@entry=0x7fff284f9e60) at kernel/qapplication.cpp:4062
#31 0x00000037352406fb in KApplication::notify (this=0x7fff284fa7a0, receiver=0x1648230, event=0x7fff284f9e60) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#32 0x00000032d097cecc in QCoreApplication::notifyInternal (this=0x7fff284fa7a0, receiver=receiver@entry=0x1648230, event=event@entry=0x7fff284f9e60) at kernel/qcoreapplication.cpp:949
#33 0x00000032d39d0f72 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1648230, event=event@entry=0x7fff284f9e60, alienWidget=alienWidget@entry=0x1648230, nativeWidget=nativeWidget@entry=0x150e190, buttonDown=buttonDown@entry=0x32d44a2498 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#35 0x00000032d3a45170 in QETWidget::translateMouseEvent (this=this@entry=0x150e190, event=event@entry=0x7fff284fa180) at kernel/qapplication_x11.cpp:4517
#36 0x00000032d3a43521 in QApplication::x11ProcessEvent (this=0x7fff284fa7a0, event=event@entry=0x7fff284fa180) at kernel/qapplication_x11.cpp:3640
#37 0x00000032d3a6a172 in x11EventSourceDispatch (s=0x116a890, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x0000003f7a0486d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x0000003f7a048a28 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x0000003f7a048ad4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00000032d09aa2b3 in QEventDispatcherGlib::processEvents (this=0x1130b30, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#42 0x00000032d3a6a20e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00000032d097badf in QEventLoop::processEvents (this=this@entry=0x7fff284fa560, flags=...) at kernel/qeventloop.cpp:149
#44 0x00000032d097bdcd in QEventLoop::exec (this=this@entry=0x7fff284fa560, flags=...) at kernel/qeventloop.cpp:204
#45 0x00000032d0981009 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#46 0x00007fadec80bc55 in kdemain () from /usr/lib64/libkdeinit4_kate.so
#47 0x0000003a040219e5 in __libc_start_main () from /lib64/libc.so.6
#48 0x0000000000400771 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 324786.

Possible duplicates by query: bug 324786.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-02 13:12:46 UTC

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