• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category User Interface
  • Assigned To No-one
  • Operating System iAudio X5
  • Severity High
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by username_already_taken - 2011-11-23
Last edited by fg - 2011-11-27

FS#12400 - Quickscreen freezes iAudio X5V on builds newer than rel 3.9.1

Present in builds r31036, 40, 42 and 45, at least.

I initially thought it was somewhat reproducible in a simulator due to the absence of the top/bottom quickscreen defaults, but it seems those were intentionally removed, so the sim is performing correctly.
However, my X5V freezes every time I hold REC long enough to call the quickscreen. Sometimes the quickscreen is displayed but cannot be interacted with, others the display freezes immediately.

3.9.1 and earlier releases, that still show the top and bottom defaults, seem to have no issues. Assigning functions to the top and bottom slots before using the quickscreen does not appear to prevent the problem.

Closed by  fg
2011-11-27 15:37
Reason for closing:  Fixed
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

Fixed in r31075

Can also reproduce this on r31045 - 111122
Seems like it's accessing the disk, as the disk icon appears then it crashes and needs the paperclip to reset.

I couldn't reproduce this on my M5 running build r30933 yet, although I admit that my unit is a bit different. At first I thought it could be dircache related as I have it switched off usually (and because of Stephen's observation) but turning it on didn't help me trying to reproduce this.

But it made me think that it *could* be helpful to see your settings - so maybe one (or either) of you could post the config.cfg in the .rockbox folder?

The bug is present with Rockbox's default settings, but here's my typical config anyway.

Update: I deleted .rockbox, extracted r31045 to the HDD and started the X5V. I called the quickscreen as soon as it booted and it didn't freeze the first time. I turned it off, started playback and tried again and it froze.
I deleted .rockbox and installed r31045 one more time to repeat the experiment but this time it froze on my very first attempt.
I reinstalled r31045 once more, turned off dircache, rebooted and called the quickscreen: freeze once again. Hope any of this helps.

fg commented on 2011-11-24 21:12

This also happens on the 3.10 branch

fg commented on 2011-11-27 13:24

I bisected the lot, and the culprit seems to be r30814

fg commented on 2011-11-27 15:37

The problem seems to be that font_lock() (introduced in r30814) accesses arrays out of bounds when called with FONT_UI, which apparently happens when initialising the remote display for the quickscreen.

The current font arguably shouldn't be set to FONT_UI at that point any more, so there might be a bug in the startup code somewhere, but guarding the font_*() functions against invalid ids makes things work.


Available keyboard shortcuts


Task Details

Task Editing