Rockbox

Tasklist

FS#9813 - RockBOX freezes on X5L when changing between songs while RockBOX is accessing HDD.

Attached to Project: Rockbox
Opened by Dark Madder (DarkMadness) - Sunday, 18 January 2009, 17:07 GMT
Last edited by Andree Buschmann (Buschel) - Saturday, 15 January 2011, 23:36 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello to all,
recently I installed the RockBOX on my Cowon iAudio X5L 30GB and I experience freezing of player when I add new songs from database into playlist replacing actual playlist and player is playing song from the removed playlist. Also similar to this closed bug  FS#6764  - X5 freezing , when I change between songs when HDD activity is being performed RockBOX freezes and I must shut it down by holding power button for approx. 10 seconds. It seems to me that this freezes happen always when RockBOX is doing something on the HDD and I try to start playing new song or switch between songs in playlist.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Saturday, 15 January 2011, 23:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Reported as fixed ith 3.3
Comment by Sergey Babichev (bsl84) - Sunday, 01 February 2009, 09:03 GMT
It seems as if it is the same reason as http://www.rockbox.org/tracker/9066
It happens both on X5L and Toshiba F20.
I've never seen this on Sansa E280 yet.
Comment by Dark Madder (DarkMadness) - Sunday, 01 February 2009, 22:05 GMT
It seems to be the same problem at least there are the same symptoms. I am not familiar with exact architecture of RocxBOX but for me it seems that there is some locking/synchronization/priority/timing sort of problem between the buffering thread, thread that plays music and HDD access that causes race conditions and lockups of the music playback system. Similar problems also occur when some demos like "VU-meter" are working parallel to the music playing. In irregular times after some time playback start to stop for several seconds an resumes again. It is only a guess like I said before because I am not familiar with RockBOX software architecture but perhaps some of the developers can examine this.
Comment by Sergey Babichev (bsl84) - Monday, 02 February 2009, 16:29 GMT
My sympthoms on F20 yet worse than yours - shutting up player dows not work after lockup and I have to power the battery off (there is a slider).
As system and driver programmer with 25-years experience I'm strongly sure - you are right, there are race conditions that caused locking.
Unfortunatelly, I have nor time nor courage to participate in yet one device driver product...
Comment by Dark Madder (DarkMadness) - Monday, 02 February 2009, 17:43 GMT
I am also programmer and unfortunately in the moment I also have no time to look into the sourcecode, thats pity because I like RockBOX very much and it is superior firmware then original firmware in many ways. For now my problem is not so bad, I just don't use demos especially VU-meter and I stop the Playback before I switch the titles trough the playlist, that solves my lockups for now. I hope some experienced contributor to the project can check this. When I have some more spare time I will try to see myself what is going on but it will last some time till I get to do it. In that other thread you mentioned in your post somebody has written that problem disappears when he is using some older rockbox version, so I think it should be not too difficult, for somebody more experienced with rockbox sourcecode, to check what has changed in the firmware between the versions and correct the issue.
I thank anybody that can help further.
Comment by Dark Madder (DarkMadness) - Saturday, 04 July 2009, 16:46 GMT
I don't have this probelm any more since version 3.3. For me the problem is solved.

Loading...