After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126866 - [XINE] Stops responding after it completes a playlist with shuffle/repeat disabled
[XINE] Stops responding after it completes a playlist with shuffle/repeat dis...
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bastien Nocera
Bastien Nocera
: 127006 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-13 05:00 UTC by gusmaster
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
traces output by xine on the console (4.88 KB, text/plain)
2003-11-14 14:55 UTC, Christophe Fergeau
Details
back trace obtained when rhythmbox is hung (11.46 KB, text/plain)
2003-11-14 14:57 UTC, Christophe Fergeau
Details

Description gusmaster 2003-11-13 05:03:23 UTC
Rhythmbox 0.6.99 (built with --enable-xine --prefix=/usr - CVS grab from
Nov 12th 2003, ~8:30PM CST) crashes when you attempt to play another song,
after it completes the final selection in the song window.   This does not
happen with shuffle or repeat enabled.

To attempt to reproduce:

1) Disable both shuffle and repeat.
2) Select an Artist and/or Album, or perform a search that yields at least
1 result.
3) Play the last song on the list, let it play all the way through to the
very end.
4) Select another song, and attempt to play -- this is where Rhythmbox
stops responding.
Comment 1 Christophe Fergeau 2003-11-14 14:55:10 UTC
Created attachment 21453 [details]
traces output by xine on the console
Comment 2 Christophe Fergeau 2003-11-14 14:57:05 UTC
Created attachment 21454 [details]
back trace obtained when rhythmbox is hung
Comment 3 Christophe Fergeau 2003-11-14 15:01:15 UTC
To get the console traces, I had to add 
xine_engine_set_param (mp->priv->xine, XINE_ENGINE_PARAM_VERBOSITY,
XINE_VERBOSITY_DEBUG);
after xine_init (I followed hadess advice).
The backtrace is using xine-lib and rhythmbox from cvs a few hours
old. xine-lib has been compiled using make debug && make install-debug
The console traces correspond to the following actions:
Select a view where there is only one song
Double click on it
Seek to a few seconds before the end of the second
Wait until it finishes
Switch to another view
Double click on a song
=> hang
Comment 4 Bastien Nocera 2003-11-14 20:22:17 UTC
Possible patch:
http://www.hadess.net/files/patches/rb-xine-hang.patch

Please test for regressions.
Comment 5 Christophe Fergeau 2003-11-14 21:09:08 UTC
This patch works for me, I no longer get hangs, and quick tests for
play/pause showed no regression
Comment 6 Bastien Nocera 2003-11-14 21:20:54 UTC
*** Bug 127006 has been marked as a duplicate of this bug. ***
Comment 7 Colin Walters 2003-11-15 05:49:52 UTC
Applied.