This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11589 - Early USB broken (no statusbar & crash after disconnect)
Attached to Project:
Rockbox
Opened by Marianne Arnold (pixelma) - Tuesday, 31 August 2010, 18:59 GMT+2
Last edited by Frank Gevaerts (fg) - Sunday, 07 November 2010, 15:12 GMT+2
Opened by Marianne Arnold (pixelma) - Tuesday, 31 August 2010, 18:59 GMT+2
Last edited by Frank Gevaerts (fg) - Sunday, 07 November 2010, 15:12 GMT+2
|
DetailsThis bug already stands for a while and was reported in IRC but since nothing happened so far, I'm going to report it here.
On targets with early USB ("usual" looking USB screen when plugging from off-state and probably only hardware bridge USB) the statusbar that should be there in the screen is missing and when you disconnect the player so that the "rest" of Rockbox would start, it crashes. The address where the crash happens with the build currently flashed to my Ondio is in "lib/libskin_parser.a(skin_parser.o)" - more exactly "9035954: 8b fb bf 903594e <_skin_parse+0x152>". I pastebinned the complete disassembly of the _skin_parse function here: http://pastebin.com/LZMNW96a . I will also try to find the exact revision that introduced the bug but that'll take a while. If I remember correctly it came with some statusbar skinning commit which is already a while ago now and crept up twice in a row (first was fixed, then it came back). Plus it is not the easiest and no quick task testing flashed builds on the Ondio.... |
This task depends upon
I've tested this on h120 (with a 10 second sleep after show_logo() to give me enough time), and commenting out the settings_apply() and settings_apply_skins() lines near the end of apps/gui/usb_screen.c makes things not freeze. That's not a proper fix of course.