Problems with phonon-gst and JuK

Michael Pyne mpyne at
Mon May 19 04:04:20 BST 2008

Hi all,

In the process of trying to debug whether volume changes I get with phonon-
xine are due to JuK code is JuK's fault, I tried to use phonon-gst (from 
kdereview) to test a different backend.

I got it to build and install, and after a change to JuK to actually work with 
phonon-gst (JuK's fault ;), I have issues with crashing when switching to the 
next song (relevant code is in playermanager.cpp, crossfadeToFile()).

I tried debugging it in gdb and it crashes in medianode.cpp, line 203, where 
it calls Q_ASSERT(sink->root());  In this case, the sink indeed has no root.

Now, if I single step through the crossfadeTo() function in gdb, I get no 
crashes whatsoever (although nothing is playing once I continue either, I can 
play a song fine).  So it seems like some kind of timing issue.

Even if I replace the crossfadeToFile() call with a simple 
MediaObject::setCurrentSource() on m_media in playermanager.cpp, I get the 
same crash.  Is this a known problem or am I using the Phonon API wrong?

 - Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <>
-------------- next part --------------
kde-multimedia mailing list
kde-multimedia at

More information about the kde-multimedia mailing list