GNOME Bugzilla – Bug 324641
Rhythmbox crashes on random play
Last modified: 2006-01-21 12:30:12 UTC
Steps to reproduce: 1. Play full random for a while 2. 3. Stack trace: Other information: Rhythmbox crashes with the following error message: Rhythmbox-ERROR **: file rb-play-order-random.c: line 363 (rb_random_play_order_go_next): assertion failed: (entry == NULL || entry == rb_history_current (history)) I'm using a custom-compiled Rhythmbox from CVS, built against GStreamer 0.10.
Does this only happen when you've changed the browser/search so that the current playing song is not shown, and either the song ends or you hit next/prev?
I can reproduce it in the situation you are mentioning. I will observe rhythmbox in the next days to see whether it does it in other situations, too.
Created attachment 56231 [details] [review] patch for random play order This should fix the random play order. The shuffle play order suffers from the same problem, but I don't have time to fix that right now.
What is the difference between random and shuffle play? Anyway, the crash definitely only happens in the situation described by you above.
The random play order you get by selecting both shuffle and repeat weights songs on rating and time since last play, and the shuffle play order won't (in theory) play a song again until all other songs have been played. I've tested the above patch for about 6 hours of actual playback with no problems.
Created attachment 56522 [details] [review] better patch fixes shuffle play order too.
This looks fine to be committed to cvs.
Committed, thanks.
*** Bug 327916 has been marked as a duplicate of this bug. ***