Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Music playback
  • Assigned To No-one
  • Operating System Sansa AMSv2
  • Severity Critical
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by freeingdevices - 2017-03-16
Last edited by speachy - 2021-05-12

FS#13108 - Random crashes when playing music

For a couple of months my Sansa Fuze v2 has been crashing randomly when playing music. Most of the time I just get a white screen with an error message. The last message I got was :

‘undefined instruction at 0006DC8C’

(I think that last number varies at each crash)

This didn’t happen with v3.13, but it’s been happening with every daily build I’ve tested IIRC.

It doesn’t happen very often so it’s hard to reproduce. I listen to music in public transports about twice a day and this happens not more than once a week. It seems to happen more often when the battery is low (less than 10%). It generally happens early in a playback session, when the first or second track is played.

Sometimes I don’t get a white screen, but the program freezes and some parts of the interface are surrounded with white frames. I don’t know if it’s the same bug or if it’s unrelated.

Note that I’m always listening to music on a microSD card, and I haven’t tried on the main memory.

PS: I chose “Sansa Fuze+” in the OS list because I couldn’t find Sansa Fuse v2.

Closed by  speachy
2021-05-12 21:17
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Unless this can be recreated with a current dev build, it's going to be stay closed.

Forgot to say : the version I have currently is 1ba5ef7-170303

Here is a build of today's rockbox git, but with CPU voltage scaling disabled:

http://web.mit.edu/~mgg6/www/rockbox-fuzev2-novoltagescaling.7z

This is one of the more recent major changes we've made. 3.13 is 4 years old at this point though, so there are a huge number of things that could have been at fault.

Did this make any difference?

MikeS commented on 2017-04-13 11:48

It's also something eefc7c7 may address since previously the combination of file types you had could crash it or not.

Sorry for the late answer, somehow the mails sent by the rockbox tracker keep arriving in my Spam/ folder.

I haven't tested the firmware version you've linked, but the bug happened once again this morning and I'm not able to boot the device anymore. I had this device for a year, and I bought it "as new" (it's an old model, but it was still in its box). Maybe it had a faulty battery.

It's the second Sansa Fuze v2 that I buy and it's the second one that doesn't last more than a year of use (the other one stopped booting inexplicably after not using it for a couple of month). I also bought an e200 at one point, who didn't last two years (its screen broke, there again inexplicably, without any shock given to it). I think it's the last time I buy a Sandisk device.

At this point the battery has probably run dead and the device rebooted, but if not, try holding power for about 30 seconds. You may also need to recharge the battery if you left it hung for a few days.

Hum I thought I had updated this ticket.

So, my Fuze v2 works, I have the new version 3.14 running on it, I thought the crashes wouldn't happen anymore but recently I got new crashes. I don't know if it's the same problem. When it happens again I'll post the error message here.

It happened again a few times. The two last times it was weird : the music seemed to jolt a bit and then rockbox crashed. Here the message of the last time :

[first line is blacked out but there seem to be something written under it]
rm_handle fail: 16
pc: 30008E38 sp:300B62E8
bt end

MikeS commented on 2017-10-12 21:17

Edit: Nevermind! I guess I talked about it already. ok, wtf.

Edit: Nevermind! Bever Bind. I haven't had all my coffee and I reread and noticed you said you _didn't_ test at least the linked version AND that in combination with my initial comment leaves me unsure. I don't you didn't test HEAD, that's all.

That definitely indicates buffer corruption. I don't recall if the release includes eefc7c7, which did address a crashing issue talked abut here: http://forums.rockbox.org/index.php/topic,50793.0.html.

No, I didn't test the linked version, when the 3.14 was out I assumed it contained the changes you linked to.

Unrelated: why does google keep putting rockbox tracker e-mails in /Spam ?

MikeS commented on 2017-10-15 03:40

I asked and I suppose 3.14 does have them. Having a set of files available to me that can cause the issue on demand is essential since I'm not sure what to even consider as a culprit at this point. I have a Fuze v2 and have had no issues. Under Debug→View HW Info, it says mine is a variant 0. What is yours?

Variant 0 as well.

The problem is that the crash happens always on different files, and I can't reproduce it.

MikeS commented on 2017-10-21 20:16

Well, maybe I'll spot something while rummaging through it on some other endeavor.

It happened again a couple of times on low battery (below 20%) so I've let it run on a very long album until something happened, and it crashed eventually.

Same as usual :

rm_handle fail: 49
pc: 30008E38 sp:300B62E8
bt end

MikeS commented on 2017-12-10 06:00

Since I did spot something when doing something else, maybe 6ee3b6f is the magic needed?

MikeS commented on 2017-12-16 03:46

Make sure to move up to latest build to test. There was a mistake in a recent change that I corrected.

Edit: Continuing to test and report on 3.14 release is pointless and doesn't contribute useful information.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing