FS#37721 - [phonon-gstreamer] amarok crash due to phonon-gstreamer
Attached to Project:
Arch Linux
Opened by ValdikSS (ValdikSS) - Sunday, 10 November 2013, 17:44 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 11 September 2014, 11:14 GMT
Opened by ValdikSS (ValdikSS) - Sunday, 10 November 2013, 17:44 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 11 September 2014, 11:14 GMT
|
Details
Description:
Amarok crashing very often with phonon-gstreamer 4.7.0-1 and current 4.7.0-2, but works perfectly with phonon-gstreamer 4.6.3-1. I'm not sure if this is a packaging issue or should it be reported upstream. Additional info: phonon-gstreamer 4.7.0-2 phonon-qt4 4.7.0-2 Works fine with: phonon-gstreamer 4.7.0-2 phonon-qt4 4.6.3-1 Steps to reproduce: 1. Install latest amarok, phonon-qt4, phonon-gstreamer (, pulseaudio?) 2. Play some music in amarok or change tracks quickly 3. Amarok crashed (log attached) |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Thursday, 11 September 2014, 11:14 GMT
Reason for closing: Fixed
Additional comments about closing: Switching to gst 1.0... re-open if needed
Thursday, 11 September 2014, 11:14 GMT
Reason for closing: Fixed
Additional comments about closing: Switching to gst 1.0... re-open if needed
(amarok + phonon-qt4 + phonon-vlc + pulseaudio) no crash
(amarok + phonon-qt4 + phonon-gstreamer + pulseaudio) crash
If the problem "persist" please report this on bugs.kde.org; fill a bug under phonon/gstreamer.
I tried to delete the cache file in directory ~/.gstreamer-0.10 without success. It continues to crash randomly :(
It crashes also in dolphin file manager when previewing a mp3 file.
Is there a open upstream bug report, where ?
I don't know why phonon non -qt4 was installed, I just haven't upgraded my archlinux installation for several weeks. Should I open another bug report for this issue?
No, the phonon issue has already been fixed. The reporter here wrote he's using phonon-qt4 so I think that's not the issue here.
Unfortunately, the issue is still here. It crashes at the same place, the backtrace is the same.
Unfortunately, the bug is still here :(
I don't like phonon-vlc, the amarok spectrum analyzer doesn't work with it.
any other feedback ?
Edit: I'm talking too quickly, my amarok has just crashed with the same backtrace.
phonon-qt4-gstreamer 4.7.2-1
amarok 2.8.0-3
I tried to bisect this bug, but it's pretty hard.
Here, I have followed the git bisect procedure :
git bisect start v4.7.0 v4.6.3
I think I found out the commit which introduced this bug :
[b07fd213c11f23a6099ab2739b590fb7101e978c] FEATURE: Implement audio channel selection
The backtrace (http://bugsfiles.kde.org/attachment.cgi?id=85152) confirms it :
>> #24 0x00007f54f66959e9 in Phonon::Gstreamer::MediaObject::getAudioChannelInfo (this=this@entry=0x2cbfcb0, stream=<optimized out>) at .../gstreamer/mediaobject.cpp:407
I am not sure at 100% (but 99.9%) because this bug occurs randomly.
could you confirm my bisect result before posting in the kde bug report ?
I can't even configure this commit and the commit before it. How did you compile it?
after bisecting, you must replace the cmake/*.cmake files with those at HEAD because some macro rules have changed.
You can apply it on the current extra/phonon-qt4-gstreamer 4.7.2-1.
Please post this to kde bugtracker.
I notice only archlinux users complain about this issue. Archlinux phonon backend still uses gstreamer 0.10, not 1.2. Ubuntu 14.04 phonon backend is compiled with gstreamer 1.2 and I didn't seen any bug report. Perhaps, it's time to switch to gstreamer 1.2 because 0.10 is no longer maintained ?
PS.
I found out that phonon-qt4-gstreamer has a missing dependency on gstreamer0.10-ugly-plugins, it uses /usr/lib/gstreamer-0.10/libgstmad.so.
EDIT: It doesn't. Ubuntu ships a snapshot from the 1.0-porting-for-merge branch.
it has status RESOLVED UPSTREAM
It compiles but it doesn't work. When using it, sound doesn't play and I get errors like that :
(amarok:28142): GStreamer-CRITICAL **: gst_element_request_pad: assertion 'templ != NULL' failed
(amarok:28142): GStreamer-CRITICAL **: gst_pad_link_full: assertion 'GST_IS_PAD (srcpad)' failed
(amarok:28142): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(amarok:28142): GStreamer-CRITICAL **: gst_element_request_pad: assertion 'templ != NULL' failed
....
This is appearently specific to the GStreamer backend, as everything works correctly (Amarok included) when I select the VLC backend instead.
Right now, Amarok won't even start with gstreamer backend:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (process 7595)]
Thread 1 (process 7595):
#0 0x0000003001cb89ed in ?? ()
#1 0x0000000000000000 in ?? ()
so each boot pulseaudio server is started, which is bad for those who don't want to use pulseaudio,
pulseaudio should not be a mandatory dependency, but only an optional dependency,
with my configuration I can't test amarok because pulseaudio is buggy with my configuration,
see
FS#41889