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
Opened by jackoneill (jackoneill) - Monday, 07 February 2011, 15:16 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 19 October 2011, 09:04 GMT
|
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
Wednesday, 19 October 2011, 09:04 GMT
Reason for closing: Upstream
Additional comments about closing: Cannot be fixed until KDE 4.8
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
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.