Bug 349306 - KDEInit could not launch '/usr/bin/kate'
Summary: KDEInit could not launch '/usr/bin/kate'
Status: RESOLVED DUPLICATE of bug 343673
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-17 20:21 UTC by Cláudio Esperança
Modified: 2015-06-19 16:23 UTC (History)
1 user (show)

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 Cláudio Esperança 2015-06-17 20:21:00 UTC
Application: dolphin (14.12.3)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-21-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
After opening a text (PHP) file on kate using dolphin, it was presented on kate without any issue. However if I go back to the Dolphin instance to open another file on the same folder, Dolphin is not responsive and can't interact with it (it is just a grey window). If I close kate, Dolphin issues a message "KDEInit could not launch '/usr/bin/kate' " and the application becomes responsive again.

This happened multiple times.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f981f76e800 (LWP 8968))]

Thread 4 (Thread 0x7f98025c8700 (LWP 8969)):
#0  0x00007f981f02449d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98161622f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f981611e96c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f981611ee60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f981611efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f981afaa87e in QEventDispatcherGlib::processEvents (this=0x7f97fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f981af79d21 in QEventLoop::processEvents (this=this@entry=0x7f98025c7d80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f981af7a085 in QEventLoop::exec (this=this@entry=0x7f98025c7d80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f981ae6de89 in QThread::exec (this=this@entry=0x1648610) at thread/qthread.cpp:538
#9  0x00007f981af5a493 in QInotifyFileSystemWatcherEngine::run (this=0x1648610) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f981ae706ff in QThreadPrivate::start (arg=0x1648610) at thread/qthread_unix.cpp:349
#11 0x00007f98166046aa in start_thread (arg=0x7f98025c8700) at pthread_create.c:333
#12 0x00007f981f033eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9801d11700 (LWP 8970)):
#0  0x00007f981afaa25a in testAndSetOrdered (newValue=1, expectedValue=0, this=0x135c130) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0x135c130) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#2  tryLockInline (this=0x16eb4e8) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0x16eb4e8) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0x16eb4e8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0x16eb4a0) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7f97f40012e0, timeout=0x7f9801d10c04) at kernel/qeventdispatcher_glib.cpp:279
#7  0x00007f981611e3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f981611ede8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f981611efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f981afaa87e in QEventDispatcherGlib::processEvents (this=0x7f97f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007f981af79d21 in QEventLoop::processEvents (this=this@entry=0x7f9801d10dd0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f981af7a085 in QEventLoop::exec (this=this@entry=0x7f9801d10dd0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f981ae6de89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#14 0x00007f981ae706ff in QThreadPrivate::start (arg=0x147a670) at thread/qthread_unix.cpp:349
#15 0x00007f98166046aa in start_thread (arg=0x7f9801d11700) at pthread_create.c:333
#16 0x00007f981f033eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9800e77700 (LWP 8971)):
#0  0x00007f981611bf90 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f981611e39b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f981611ede8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f981611efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f981afaa87e in QEventDispatcherGlib::processEvents (this=0x7f97f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f981af79d21 in QEventLoop::processEvents (this=this@entry=0x7f9800e76d80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f981af7a085 in QEventLoop::exec (this=this@entry=0x7f9800e76d80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f981ae6de89 in QThread::exec (this=this@entry=0x172df30) at thread/qthread.cpp:538
#8  0x00007f981af5a493 in QInotifyFileSystemWatcherEngine::run (this=0x172df30) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f981ae706ff in QThreadPrivate::start (arg=0x172df30) at thread/qthread_unix.cpp:349
#10 0x00007f98166046aa in start_thread (arg=0x7f9800e77700) at pthread_create.c:333
#11 0x00007f981f033eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f981f76e800 (LWP 8968)):
[KCrash Handler]
#6  QObject::thread (this=0x0) at kernel/qobject.cpp:1398
#7  0x00007f981b42ac6e in KDBusConnectionPool::threadConnection () at ../../kdecore/kernel/kdbusconnectionpool.cpp:64
#8  0x00007f981ce9d85c in emitSignal (signalName=..., args=...) at ../../kio/kio/kdirnotify.cpp:34
#9  0x00007f981ce9e0c8 in OrgKdeKDirNotifyInterface::emitLeftDirectory (url=...) at ../../kio/kio/kdirnotify.cpp:69
#10 0x00007f981ce84827 in sendSignal (url=..., entering=false, this=0x1d8b4d0) at ../../kio/kio/kdirlister_p.h:343
#11 ~DirItem (this=0x1d8b4d0, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister_p.h:331
#12 qDeleteAll<QHash<QString, KDirListerCache::DirItem*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#13 qDeleteAll<QHash<QString, KDirListerCache::DirItem*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#14 KDirListerCache::~KDirListerCache (this=this@entry=0x1631b20, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister.cpp:79
#15 0x00007f981ce850fa in ~KDirListerCache (this=0x1631b20, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister.cpp:87
#16 destroy () at ../../kio/kio/kdirlister.cpp:47
#17 0x00007f981ef66d32 in __run_exit_handlers (status=1, listp=0x7f981f2f1698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#18 0x00007f981ef66d85 in __GI_exit (status=<optimized out>) at exit.c:104
#19 0x00007f981b9f3488 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#20 0x00007f981c6e85a0 in KApplication::xioErrhandler (this=0x7ffddc7bee60, dpy=0x13073f0) at ../../kdeui/kernel/kapplication.cpp:419
#21 0x00007f981797a88e in _XIOError (dpy=dpy@entry=0x13073f0) at ../../src/XlibInt.c:1498
#22 0x00007f981797899c in _XReply (dpy=dpy@entry=0x13073f0, rep=rep@entry=0x7ffddc7bdac0, extra=extra@entry=0, discard=discard@entry=1) at ../../src/xcb_io.c:708
#23 0x00007f9817963d9f in XInternAtom (dpy=0x13073f0, name=0x7f98179d9699 "WM_PROTOCOLS", onlyIfExists=<optimized out>) at ../../src/IntAtom.c:181
#24 0x00007f9817973794 in XSetWMProtocols (dpy=0x13073f0, w=71303663, protocols=0x7ffddc7bdd10, count=5) at ../../src/SetWMProto.c:68
#25 0x00007f981ba20a8a in QWidgetPrivate::create_sys (this=this@entry=0x1eed0f0, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at kernel/qwidget_x11.cpp:827
#26 0x00007f981b9d197b in QWidget::create (this=0x1e30780, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at kernel/qwidget.cpp:1513
#27 0x00007f981b9d213c in QWidgetPrivate::createWinId (this=<optimized out>, winid=winid@entry=0) at kernel/qwidget.cpp:2576
#28 0x00007f981b9d219b in QWidget::winId (this=0x1e30780) at kernel/qwidget.cpp:2534
#29 0x00007f981c6438df in KDialog::setPlainCaption (this=this@entry=0x1e30780, caption=...) at ../../kdeui/dialogs/kdialog.cpp:493
#30 0x00007f981c6429d2 in KDialogPrivate::init (this=this@entry=0x19a1c20, q=q@entry=0x1e30780) at ../../kdeui/dialogs/kdialog.cpp:181
#31 0x00007f981c642b52 in KDialog::KDialog (this=0x1e30780, parent=<optimized out>, flags=...) at ../../kdeui/dialogs/kdialog.cpp:192
#32 0x00007f981c654521 in KMessageBox::sorryWId (parent_id=0, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:914
#33 0x00007f981c65475e in KMessageBox::sorry (parent=<optimized out>, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:907
#34 0x00007f981ced4455 in KRun::run (_service=..., _urls=..., window=0x1790501, window@entry=0x0, tempFiles=tempFiles@entry=false, suggestedFileName=..., asn=...) at ../../kio/kio/krun.cpp:1040
#35 0x00007f981ced7ec5 in KRun::runUrl (u=..., _mimetype=..., window=0x0, tempFile=<optimized out>, runExecutables=<optimized out>, suggestedFileName=..., asn=...) at ../../kio/kio/krun.cpp:190
#36 0x00007f981ced8718 in KRun::foundMimeType (this=0x1ef2720, type=...) at ../../kio/kio/krun.cpp:1516
#37 0x00007f981cecd3a2 in KRun::mimeTypeDetermined (this=this@entry=0x1ef2720, mimeType=...) at ../../kio/kio/krun.cpp:1464
#38 0x00007f981ced69a9 in KRun::init (this=0x1ef2720) at ../../kio/kio/krun.cpp:1209
#39 0x00007f981cece3d0 in KRun::slotTimeout (this=0x1ef2720) at ../../kio/kio/krun.cpp:1335
#40 0x00007f981af901ec in QMetaObject::activate (sender=0x1f5d420, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#41 0x00007f981af947b3 in QObject::event (this=0x1f5d420, e=<optimized out>) at kernel/qobject.cpp:1253
#42 0x00007f981b9879bc in QApplicationPrivate::notify_helper (this=this@entry=0x12c3d90, receiver=receiver@entry=0x1f5d420, e=e@entry=0x7ffddc7beac0) at kernel/qapplication.cpp:4570
#43 0x00007f981b98e4d8 in QApplication::notify (this=this@entry=0x7ffddc7bee60, receiver=receiver@entry=0x1f5d420, e=e@entry=0x7ffddc7beac0) at kernel/qapplication.cpp:4356
#44 0x00007f981c6e9b4a in KApplication::notify (this=0x7ffddc7bee60, receiver=0x1f5d420, event=0x7ffddc7beac0) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007f981af7b1cd in QCoreApplication::notifyInternal (this=0x7ffddc7bee60, receiver=0x1f5d420, event=event@entry=0x7ffddc7beac0) at kernel/qcoreapplication.cpp:955
#46 0x00007f981aface9b in sendEvent (event=0x7ffddc7beac0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QTimerInfoList::activateTimers (this=0x12c1b10) at kernel/qeventdispatcher_unix.cpp:621
#48 0x00007f981afa9e91 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#49 0x00007f981611ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f981611ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f981611efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f981afaa85e in QEventDispatcherGlib::processEvents (this=0x12858a0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#53 0x00007f981ba2fc66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f981af79d21 in QEventLoop::processEvents (this=this@entry=0x7ffddc7bed40, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f981af7a085 in QEventLoop::exec (this=this@entry=0x7ffddc7bed40, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f981af7fb09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#57 0x00007f981b985c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#58 0x00007f981f34ab5e in kdemain (argc=5, argv=0x7ffddc7befa8) at ../../../dolphin/src/main.cpp:93
#59 0x00007f981ef4da40 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=5, argv=0x7ffddc7befa8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffddc7bef98) at libc-start.c:289
#60 0x0000000000400709 in _start ()

Possible duplicates by query: bug 349298, bug 337357, bug 335204, bug 326316, bug 326038.

Reported using DrKonqi
Comment 1 Cláudio Esperança 2015-06-17 20:29:01 UTC
A little more information: the problem happens when I open two files on the same directory with Kate. When I try to open the second file, it is presented in kate, but dolphin becomes unresponsive. If I close the tab of the second file, the message is presented and dolphin becomes responsive again.

Thank you.
Comment 2 Arjun AK 2015-06-19 16:23:28 UTC

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