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?

Regards,

- Michael Pyne