<div dir="ltr">Hi, <br><br>I am not a KDE Developer and do not have much knowledge about Amarok code, but I am reading the source code now since two days, and trying to understand it. so, please forgive me if the following is not correct. <div>


<br>I cannot reproduce this bug, but I remember it happened exactly **once** on Amarok in ArchLinux some four days ago. Since then, it hasn't happened again. It seemed as if amarok orphaned the sound playing system and then generated another instance to play the next song. Also, I let it play, since I had read this bug, and I noticed that while the second track was completely synced according to the display and then the playback was normal w.r.t to it, the first track kept looping. I could not stop it even by quitting and stopping amarok. I killed and restarted pulseaudio, but I think the problem might be between pulseaudio and amarok. <br>


<br>When I encountered this problem, I was reminded of another problem that I am still facing[0]. And it seems to me as if there must be something problematic in the code which handles switching of tracks which might be related. May be in the above case, a resourced was allocated twice and may be in the [0] case, the resource allocation fails?  The problem being a random problem suggests there must be a race condition somewhere.<br>

<br>And yes, the problem started occuring since Amarok 2.5 and KDE 4.8. If Debian is backporting bug patches from KDE 4.8 or Amarok 2.5 currently, then this might seem to be related. <br>
<div><br></div><div><div class="gmail_extra">-- <br>Regards<br>Jayesh
<br>[0] <a href="https://bugs.kde.org/show_bug.cgi?id=296100" target="_blank">https://bugs.kde.org/show_bug.cgi?id=296100</a></div></div></div></div>