FS#22802 - [python-qt] phonon.Phonon.BackendCapabilities.availableMimeTypes() results in segfault

Attached to Project: Arch Linux
Opened by jackoneill (jackoneill) - Monday, 07 February 2011, 15:16 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 19 October 2011, 09:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ronald van Haren (pressh)
Andrea Scarpino (BaSh)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
To test:
-----------
#!/usr/bin/env python
from PyQt4.phonon import *
result = Phonon.BackendCapabilities.availableMimeTypes()
-----------
Run the above and watch python segfault.

Message in dmesg:
python[9512]: segfault at 0 ip 00007f79e8c11ae7 sp 00007fff9c58f0d0 error 4 in libphonon.so.4.4.0[7f79e8bc8000+5e000]

Output from « gdb --args python python-segfault.py »:
http://paste.pocoo.org/raw/333715/ (also attached to this task)

Pretty much all the methods in Phonon.BackendCapabilities cause a segfault like the one above (haven't tried notifier())

The "Phonon" tab in qtconfig is all greyed-out and says "Phonon GStreamer backend not available" (has always been like that), but my pyqt app plays video just fine with Phonon.VideoPlayer.

Additional info:
* package version(s)
python 3.1.3-2 (also happens with 2.7.1-4)
python-qt 4.8.3-1
qt 4.7.1-3
phonon 4.4.4-1
phonon-gstreamer 4.4.4-1
gstreamer0.10 0.10.31-1
gstreamer0.10-bad 0.10.20-1
gstreamer0.10-bad-plugins 0.10.20-1
gstreamer0.10-base 0.10.31-1
gstreamer0.10-base-plugins 0.10.31-1
gstreamer0.10-ffmpeg 0.10.11-1
gstreamer0.10-good 0.10.26-1
gstreamer0.10-good-plugins 0.10.26-1
gstreamer0.10-ugly 0.10.16-2
gstreamer0.10-ugly-plugins 0.10.16-2
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 19 October 2011, 09:04 GMT
Reason for closing:  Upstream
Additional comments about closing:  Cannot be fixed until KDE 4.8
Comment by jackoneill (jackoneill) - Monday, 07 February 2011, 15:36 GMT
The gstreamer packages were updated recently (didn't help with this issue), these are the new versions:
gstreamer0.10 0.10.32-1
gstreamer0.10-bad 0.10.21-1
gstreamer0.10-bad-plugins 0.10.21-1
gstreamer0.10-base 0.10.32-2
gstreamer0.10-base-plugins 0.10.32-2
gstreamer0.10-good 0.10.27-1
gstreamer0.10-good-plugins 0.10.27-1
gstreamer0.10-ugly 0.10.17-1
gstreamer0.10-ugly-plugins 0.10.17-1
Comment by Stéphane Gaudreault (stephane) - Monday, 07 February 2011, 16:14 GMT
same here with phonon-vlc
Comment by Andrea Scarpino (BaSh) - Monday, 07 February 2011, 21:10 GMT
  • Field changed: Summary ([pyqt] phonon.Phonon.BackendCapabilities.availableMimeTypes() results in segfault → [python-qt] phonon.Phonon.BackendCapabilities.availableMimeTypes() results in segfault)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Andrea Scarpino (BaSh)
I rebuilt the python-qt packages, but this doesn't help. Maybe it's upstream?
Comment by jackoneill (jackoneill) - Tuesday, 08 February 2011, 08:21 GMT
I forgot to say: one person in #pyqt reported success with the xine backend. Also said he had no pulseaudio support.

I just tried with the vlc, xine and mplayer (aur/phonon-mplayer-git) backends. The first two cause segfaults, the mplayer backend however, works. (That is, it works with the test case above - playing videos in my app, not so much.)

Ok...
This is what I did:
- temporarily removed libpulse (-Rd libpulse)
- rebuilt phonon from abs (removing the pulse (make)deps)
Now the test above works, with phonon-{gstreamer,vlc,xine}. No more segfaults.
Comment by Andrea Scarpino (BaSh) - Tuesday, 08 February 2011, 08:24 GMT
Well, the phonon team suggests to use PA. Sounds like an upstream bug to me.
Comment by jackoneill (jackoneill) - Tuesday, 08 February 2011, 08:59 GMT Comment by Andrea Scarpino (BaSh) - Thursday, 01 September 2011, 23:48 GMT
This has been fixed upstream, but cannot be fixed in KDE 4.7 as I understand from https://bugs.kde.org/show_bug.cgi?id=210427#c66

Loading...