FS#12298 - no display / fatal error on Sansa Clip

Attached to Project: Rockbox
Opened by Peter King (sleepypedro) - Thursday, 29 September 2011, 01:11 GMT
Last edited by Bertrik Sikken (bertrik) - Saturday, 15 October 2011, 10:10 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System Sansa AMSv1
Severity High
Priority High
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I upgraded to build 30609 in the last few days. After powering up, the Rockbox logo displays, then the screen goes dark & the unit powers down. It will then not respond to subsequent attempts to power up until connected to USB, at which point it can boot normally into the stock firmware.

This behavior occurred in 30614 as well.

I have worked around this problem by reverting back to a known good previous build, 30400.
This task depends upon

Closed by  Bertrik Sikken (bertrik)
Saturday, 15 October 2011, 10:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Appears to be fixed now.
Comment by Marc Hewson (marc2003) - Thursday, 29 September 2011, 12:03 GMT
clip v2 owner here - same issue.

there was a previous task here on flyspray. - it was supposedly fixed and the task was closed with r30613. but the fix only appears to work on the clip+. i have one myself and that is working again after exhibiting the same problem but my clip v2 still does not work.
Comment by Michael Sevakis (MikeS) - Friday, 30 September 2011, 02:56 GMT
clip v1 here that I haven't updated in some time - nothing happening at boot (tried plugging USB to see if it responded) and requires hard power off.
Comment by Bertrik Sikken (bertrik) - Tuesday, 04 October 2011, 17:32 GMT
For me, on the clipv1,
SVN r30588 works,
SVN r30589 (" FS#12273  - use buflib for font storage. thanks to the testers :)") did work at some point, hangs when trying again.
SVN r30590 ("fix the build errors") hangs
Comment by Fred Bauer (freddyb) - Wednesday, 05 October 2011, 00:52 GMT
This is a patch that locks the font handles during settings_apply_skins(). It fixes some r30589 related crashes for me.
Comment by Marc Hewson (marc2003) - Wednesday, 05 October 2011, 03:15 GMT
unfortunately that patch doesn't do anything for my clip v2. i get the splash and then the screen goes black exactly as before. i have to hard power off for 20 seconds or so to reset it. it's absolutely fine back on 30588 - and yes, i've been making sure the folder is clean with each test. :P
Comment by Justin Hannigan (Chronon) - Wednesday, 05 October 2011, 05:06 GMT
I just reproduced this bug with r30714 and r30715 on my Clip v1.
Comment by Jonathan Gordon (jdgordon) - Thursday, 06 October 2011, 06:09 GMT
Fred: That patch looks good, except the skin engine part of it shold be unnecessary. The fix is very likely lcoking in the scroll function. I'm incorporating it in the patch to fix glyphcache.
Comment by Fred Bauer (freddyb) - Thursday, 06 October 2011, 12:14 GMT
JD, I would have committed it, but the only part that prevents the crash is locking in the skin engine.
Comment by Jonathan Gordon (jdgordon) - Thursday, 06 October 2011, 12:19 GMT
 FS#12299  fixes this bug also
Comment by Marc Hewson (marc2003) - Thursday, 06 October 2011, 19:53 GMT
^thanks for that. my clip v2 is alive again!!
Comment by Björn Stenberg (zagor) - Saturday, 15 October 2011, 10:03 GMT
r30755 works fine on my Clip v1. Can we close this?