PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 128 - Phonon.createPath locking up
: Phonon.createPath locking up
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: phonon
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-01-21 13:55 EET by Lauro Moura
Modified: 2010-06-07 09:30 EEST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2010-01-21 13:55:58 EET
The example pysideqplayer.py locks up when creating the first path:

class QPlayer(QtGui.QWidget):

    def __init__(self):
        #QtGui.QWidget.__init__(self)
        super(QPlayer, self).__init__()
        self.audioOuptut=Phonon.AudioOutput(Phonon.MusicCategory, self)
        self.player=Phonon.MediaObject(self)
        Phonon.createPath(self.player, self.audioOuptut)

Relevant backtrace during the lock:

#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffff5e394fb in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x12995c0, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12995c0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fffe52251d6 in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fffe522539b in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#5  0x00007fffe52253cd in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#6  0x00007fffe523d7b9 in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#7  0x00007fffe5245835 in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ffff020d34f in Phonon::Factory::createMediaObject (parent=0x12f1f30)
at ../3rdparty/phonon/phonon/factory.cpp:317
#9  0x00007ffff01f91a6 in Phonon::MediaObjectPrivate::createBackendObject
(this=0x12f1f70) at ../3rdparty/phonon/phonon/mediaobject.cpp:47
#10 0x00007ffff01fb73b in Phonon::MediaNodePrivate::backendObject
(this=0x12f1f70) at ../3rdparty/phonon/phonon/medianode.cpp:63
#11 0x00007ffff01fdfe9 in Phonon::Path::reconnect (this=0x7fffffffd6e0,
source=0x80, sink=0x1135020) at ../3rdparty/phonon/phonon/path.cpp:158
#12 0x00007ffff01fe44d in Phonon::createPath (source=0x12f1f40, sink=0x1135020)
at ../3rdparty/phonon/phonon/path.cpp:432
Comment 1 Hugo Parente Lima 2010-05-20 16:11:19 EEST
Works fine on PySide HEAD, and maybe on 0.3.1
Comment 2 renato filho 2010-06-07 09:30:58 EEST
released 0.3.2.