Bug 377467

Summary: konsole doesn't start
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Jukka Lahtinen <jslahtin>
Component: generalAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED WORKSFORME    
Severity: crash CC: julakali, myriam, rdieter, romain.perier, sitter, tdfischer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jukka Lahtinen 2017-03-10 16:44:10 UTC
I haven't been able to get konsole started for a few days.

When I try to start it from the kde menu, it just creates a tiny transparent window which almost immeadiately disappears.
So I started xterm to see possible error messages when I start it from there.

First it shows this:

KCrash: Application 'konsole' crashing...
Invalid read from eventfd: Bad file descriptor
Code should not be reached at pulsecore/fdsem.c:157, function flush(). Aborting.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Aborted (luotiin core-tiedosto)

When I tried again, it showed this:

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib64/gstreamer-1.0/libgsttypefindfunctions.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
KCrash: Application 'konsole' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/500/kdeinit5__0

It said it created a core file, but I can't find one from my home directory or /tmp.
I wonder what it tries to do with gstreamer..

$ grep konsole /var/log/rpmpkgs
konsole5-16.12.2-1.fc25.x86_64.rpm
konsole5-part-16.12.2-1.fc25.x86_64.rpm
konsole-part-4.14.3-11.fc24.x86_64.rpm

$ grep gstreamer /var/log/rpmpkgs
gstreamer-0.10.36-15.fc25.x86_64.rpm
gstreamer1-1.10.4-1.fc25.x86_64.rpm
gstreamer1-plugins-bad-free-1.10.4-1.fc25.x86_64.rpm
gstreamer1-plugins-bad-free-gtk-1.10.4-1.fc25.x86_64.rpm
gstreamer1-plugins-base-1.10.4-1.fc25.x86_64.rpm
gstreamer1-plugins-good-1.10.4-1.fc25.x86_64.rpm
gstreamer1-rtsp-server-1.10.4-1.fc25.x86_64.rpm
gstreamer-ffmpeg-0.10.13-16.fc25.x86_64.rpm
gstreamer-plugins-bad-0.10.23-7.fc24.x86_64.rpm
gstreamer-plugins-bad-free-0.10.23-35.fc25.x86_64.rpm
gstreamer-plugins-base-0.10.36-15.fc25.x86_64.rpm
gstreamer-plugins-good-0.10.31-17.fc25.x86_64.rpm
gstreamer-plugins-ugly-0.10.19-19.fc24.x86_64.rpm
gstreamer-python-0.10.22-11.fc25.x86_64.rpm
gstreamer-rtsp-0.10.8-12.fc25.x86_64.rpm
gstreamer-tools-0.10.36-15.fc25.x86_64.rpm
libnice-gstreamer1-0.1.13-7.fc25.x86_64.rpm
PackageKit-gstreamer-plugin-1.1.5-1.fc25.x86_64.rpm
phonon-backend-gstreamer-4.9.0-1.fc25.x86_64.rpm
phonon-qt5-backend-gstreamer-4.9.0-1.fc25.x86_64.rpm
qt-gstreamer-1.2.0-11.fc25.x86_64.rpm
Comment 1 Jukka Lahtinen 2017-03-11 10:42:31 UTC
It just occurred to me to try "su -c konsole" from xterm.
After entering root password it displayed 
QStandardPaths: wrong ownership on runtime directory /run/user/500, 500 instead of 0
and started konsole as root.
Of course, it still should be runnable as a normal user..
Comment 2 Jukka Lahtinen 2017-04-17 14:17:52 UTC
This problem seems fixed now.
No idea what was going on, but now I was able to start konsole as a normal user again. Apparently some update has fixed it.
Comment 3 Julian Kalinowski 2017-07-21 20:36:40 UTC
I have the same problem after upgrading to KDE 16.12.3 on gentoo.
konsole works as root, as user i get a segementation fault while loading /usr/lib64/gstreamer-1.0/libgsttypefindfunctions.so.

Did you upgrade to a newer version to fix this?
Comment 4 Jukka Lahtinen 2017-07-22 07:51:03 UTC
(In reply to Julian Kalinowski from comment #3)
> I have the same problem after upgrading to KDE 16.12.3 on gentoo.
> 
> Did you upgrade to a newer version to fix this?

Some package update fixed it in April, over a month after the problem started.
I still don't know which package was the actual culprit and which update fixed it, but I didn't update the whole distributon in betweem, I used Fedora 25 all that time. And didn't find any settings that would have fixed it.
Comment 5 Julian Kalinowski 2017-08-27 19:18:20 UTC
... after some updates today the bug was fixed on my system, too.
Some KDE packages got updated to 17.07.3 in the process, especially konsole, so i guess this update is responsible for fixing the bug for me: kde-apps/konsole-17.04.3.