FS#12507 - lebellium Samsung-like Theme causing rockbox crash on usb connection

Attached to Project: Rockbox
Opened by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 03 January 2012, 15:37 GMT
Last edited by Jean-Louis Biasini (JeanLouisBiasini) - Thursday, 17 May 2012, 09:37 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.10
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


1) Way to reproduce:
- download and install lebellium Samsung-like Theme.
- select lebellium Samsung-like Theme frome theme from within the setting menu
- once loaded plug the device with usb

2) Bug description
on usb connexion this theme crash rockbox:
- corruption appears on the screen usually it is in the lower part of the screen where ./rockbox/wps/lebellium Samsung-like/hide-background.bmp is to be displayed.
- only hard reboot to get out of that state

- Sometime the following panic screen is displayed instead of corruption
Prefecht abort
FSR 0x1
(domain 0, fault 1)

- Sometime the usb storage doesn't start on usb (only hid). In such case the player won't crash, and work as expected once disconnected

3) Workaround: deleting the file ./rockbox/wps/lebellium Samsung-like/hide-background.bmp
solve the issue (and then the thème is ugly)

4) Already tested:
- change bmp format to whatever the gimp allow no luck

5) Target tested:
- as been seen on Fuze+ (240x320), it would be nice to have it tested on gigabeat-s.
- do not seems to occurs on some other screen size device
This task depends upon

Closed by  Jean-Louis Biasini (JeanLouisBiasini)
Thursday, 17 May 2012, 09:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed by 7909bf0 for Rayboradio_ypr0 and lebellium_theme
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 03 January 2012, 15:40 GMT
I forgot to write that when the bug occurs the only way to get out is hard reboot
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 03 January 2012, 15:43 GMT
another thing I forgot: of course usb work perfectly with other themes
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 03 January 2012, 15:53 GMT
sometime data abort occurs:
at 60071F64
FSR 0x1
(domain 0, fault 1)
address 0x00037265

../utils/analysis/ 0x60071F64 1
.../rockbox/buidl/firmware/libfirmware.a(font_cache.o) -> font_cache_get

../utils/analysis/ 0x00037265 1
.../rockbox/buidl/firmware/libfirmware.a(thread.o) -> threads
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 03 January 2012, 15:54 GMT
the Prefecht abort at FFFFFB44 point to plugins according to find_address but was seen in wps mode so I don't know to what it could be related
Comment by Boris Gjenero (dreamlayers) - Tuesday, 03 January 2012, 17:29 GMT
Last Wednesday in FS#12475, funman reported a data abort on USB connect at
Comment by Michael Chicoine (mc2739) - Tuesday, 03 January 2012, 23:43 GMT

If you are reporting an issue which occurs only with a particular theme, please add a link to the theme with your report. This way, it is not necessary to go hunting for the theme.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Friday, 06 January 2012, 16:52 GMT
Oups right: this is occuring with this theme:
this theme has the same resolution so it would be nice to know if it also occurs with it:

regarding FS#12475 I tested many other theme and this never happen with others: USB does work. The fact that removing the bmp file ./rockbox/wps/lebellium Samsung-like/hide-background.bmp solve the problem clearly demonstrate that it is related to the theme. Lebellium claims his theme is 100% conform to rockbox standarts.
Comment by Michael Chicoine (mc2739) - Saturday, 07 January 2012, 01:05 GMT
That is the same theme listed under two targets with the same resolution (note the themeid: 1472)
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 28 February 2012, 17:04 GMT
My device died a few weeks ago. I bought a new one and was able to reproduce this on a new device/new install
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Wednesday, 29 February 2012, 21:20 GMT
another new theme also lead to data abort on USB:
data abort at 60077744
FSR 0x1
domain 0, fault 1)
address 0x00000005
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Wednesday, 29 February 2012, 21:26 GMT
../utils/analysis/ 0x60077744 1
/home/jean-louis/Bureau/rockbox-devtree/alt/rockbox/buildfirm/lib/libunwarminder.a(unwarm_arm.o) -> UnwStartArm

2c: e5943278 ldr r3, [r4, #632] ; 0x278
> 30: e5933004 ldr r3, [r3, #4]
34: e5940078 ldr r0, [r4, #120] ; 0x78

../utils/analysis/ 0x00000005 1
/usr/local/lib/gcc/arm-elf-eabi/4.4.4/arm926ej-s/libgcc.a(_divdi3.o) -> commit_dcache