Bug 346655 - Dolphin freeze when I clic on a file like a text file or an image
Summary: Dolphin freeze when I clic on a file like a text file or an image
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kservice
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 346743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-25 17:32 UTC by floown
Modified: 2015-05-05 05:39 UTC (History)
6 users (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 floown 2015-04-25 17:32:30 UTC
Hello,

When I'm in a directory, I try to open file by clicking on the files, like an image or a text files.

But instead to launch the application that open this file, Dolphin freeze.

Reproducible: Always
Comment 1 Frank Reininghaus 2015-04-26 10:03:26 UTC
Thanks for the bug report! In order to understand why the freeze occurs on your system, we need a backtrace. Please see https://community.kde.org/Dolphin/FAQ/Freeze for details.

Thanks for your help!
Comment 2 floown 2015-04-26 10:19:52 UTC
Thx for your quick respons.

Here it is :

gdb dolphin
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dolphin...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
dolphin(17188) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! 
^Z[New Thread 0x7fffd3fff700 (LWP 17242)]
[New Thread 0x7fffda2a1700 (LWP 17193)]
[New Thread 0x7fffdab58700 (LWP 17192)]

Program received signal SIGTSTP, Stopped (user).
0x00007ffff785b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: Aucun fichier ou dossier de ce type.
(gdb) thread apply all backtrace

Thread 4 (Thread 0x7fffdab58700 (LWP 17192)):
#0  0x00007ffff785b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee94febc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee94ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff37db82e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff37aacd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff37ab035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff369ee89 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff378b443 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffff36a16ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fffeee356aa in start_thread (arg=0x7fffdab58700) at pthread_create.c:333
#10 0x00007ffff7866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffda2a1700 (LWP 17193)):
#0  0x00007ffff785b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee94febc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee94ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff37db82e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff37aacd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff37ab035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff369ee89 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff36a16ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fffeee356aa in start_thread (arg=0x7fffda2a1700) at pthread_create.c:333
#9  0x00007ffff7866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffd3fff700 (LWP 17242)):
#0  0x00007ffff785d743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff3787bbf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffff36a16ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fffeee356aa in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
#4  0x00007ffff7866eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7f9c800 (LWP 17188)):
#0  0x00007ffff785b8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffed15de78 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#2  0x00007fffed15ccb8 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#3  0x00007fffed146074 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#4  0x00007fffed146a4d in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#5  0x00007fffed14702a in dbus_connection_send_with_reply_and_block () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#6  0x00007ffff33d0f10 in ?? () from /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
#7  0x00007ffff33bc88b in QDBusConnection::call(QDBusMessage const&, QDBus::CallMode, int) const () from /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
---Type <return> to continue, or q <return> to quit---
#8  0x00007ffff3c6d35c in KToolInvocation::startServiceInternal(char const*, QString const&, QStringList const&, QString*, QString*, int*, QByteArray const&, bool, QString const&) () from /usr/lib/libkdecore.so.5
#9  0x00007ffff3c6dd12 in KToolInvocation::startServiceByDesktopPath(QString const&, QStringList const&, QString*, QString*, int*, QByteArray const&, bool)
    () from /usr/lib/libkdecore.so.5
#10 0x00007ffff57053d7 in KRun::run(KService const&, KUrl::List const&, QWidget*, bool, QString const&, QByteArray const&) () from /usr/lib/libkio.so.5
#11 0x00007ffff5708ec5 in KRun::runUrl(KUrl const&, QString const&, QWidget*, bool, bool, QString const&, QByteArray const&) () from /usr/lib/libkio.so.5
#12 0x00007ffff5709718 in KRun::foundMimeType(QString const&) () from /usr/lib/libkio.so.5
#13 0x00007ffff56fe3a2 in KRun::mimeTypeDetermined(QString const&) () from /usr/lib/libkio.so.5
#14 0x00007ffff57079a9 in KRun::init() () from /usr/lib/libkio.so.5
#15 0x00007ffff56ff3d0 in KRun::slotTimeout() () from /usr/lib/libkio.so.5
#16 0x00007ffff37c119c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff37c5763 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff41b89bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff41bf4d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff4f1ab4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007ffff37ac17d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007ffff37dde3b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007ffff37dae41 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fffee94fc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fffee94ff20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fffee94ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff37db80e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff4260c66 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff37aacd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007ffff37ab035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007ffff37b0ab9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007ffff7b7dabe in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#33 0x00007ffff7780a40 in __libc_start_main (main=0x4006d0, argc=1, argv=0x7fffffffdf28, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdf18) at libc-start.c:289
#34 0x0000000000400709 in _start ()
(gdb)
Comment 3 Frank Reininghaus 2015-04-26 10:25:42 UTC
Thanks for the quick respsonse. It freezes while performing a DBus call from KToolInvocation, which is part of the KService framework. Maybe DBus is not running properly on your system?
Comment 4 floown 2015-04-26 10:45:23 UTC
How can I make Dbus run proprely? I can reinstall it ?
Comment 5 Frank Reininghaus 2015-04-26 12:00:32 UTC
(In reply to floown from comment #4)
> How can I make Dbus run proprely? I can reinstall it ?

I don't know, sorry. In principle, DBus should be running. If it wasn't, then you would see much more severe problems than you do. I hope that someone with more knowledge about KService has an idea about what might be going wrong on your system.
Comment 6 floown 2015-04-27 11:23:54 UTC
I forgot to say that the bug happens whenever I open multiple files from Dolphin.

I tried to create a new user, so I have a default  /home, and I have the same bug present.
Comment 7 Frank Reininghaus 2015-04-30 17:41:40 UTC
It would also be nice if you could tell us which Dolphin version you are using. Thanks.
Comment 8 Andrzej 2015-04-30 19:53:22 UTC
Reproducible on:
Qt: 4.8.6
KDE Development Platform: 4.14.6
Dolphin: 14.12.3
Comment 9 Martin Pola 2015-05-02 19:58:11 UTC
I am also experiencing this issue with Dolphin 14.12.3 on Kubuntu 15.04.

- Martin
Comment 10 Frank Reininghaus 2015-05-03 17:44:40 UTC
Thanks for the information. I could not reproduce the problem so far. I'm not sure if the problem is in kdelibs 4.x (which the Dolphin that is shipped by Kubuntu uses) or if it is some KF5-based code in the kservice framework or elsewhere that KToolInvocation tries to talk to via D-Bus. I hope that someone with better knowledge of this code has an idea.
Comment 11 Frank Reininghaus 2015-05-03 17:48:24 UTC
*** Bug 346743 has been marked as a duplicate of this bug. ***
Comment 12 floown 2015-05-03 18:00:14 UTC
I explain again step by step:
- open Dolphin in a folder containing for exemple tree or more txt files or css
- the first file opens in Kate when you double-clic, that's ok
- when you try to open the second files (in the same Kate's occurence) and the last file by a double-clic too, Dolphin does not respons : you must kill the windows to have the hand again (or close Kate). A pop-up message appear, said : Il est impossible pour KDEInit de lancer « /usr/bin/kate » (= in english : it's impossible to launch /user/bin/kate for KDEInit)
Comment 13 Martin Pola 2015-05-04 13:17:46 UTC
Here is a video illustrating the issue.
https://www.youtube.com/watch?v=uFFHAB1hPRY
Comment 14 Wojciech Więckowski 2015-05-05 05:28:37 UTC
Version 15.04.0, platform KDE 4.14.7 solved the problem. Thanks!
Comment 15 floown 2015-05-05 05:39:03 UTC
Very nice! Good job!