Rockbox

Tasklist

FS#7550 - Voice crashes ARM targets and all simulators

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Tuesday, 07 August 2007, 05:57 GMT
Last edited by Steve Bavin (pondlife) - Tuesday, 07 August 2007, 16:55 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System All players
Severity Medium
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

With a voice file present and voice menus enabled, the (H300) simulator crashes in load_voicefile().

gdb gives the following details:
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 9084.0x278c]
0x0045a2c6 in structec_convert (structure=0x2639000, ecinst=0x46a4f6 "ll", count=1, enable=true
at common/structec.c:81
81 *data = swap32(*data);
(gdb) bt
#0 0x0045a2c6 in structec_convert (structure=0x2639000, ecinst=0x46a4f6 "ll", count=1,
enable=true) at common/structec.c:81
#1 0x0041979f in load_voicefile () at talk.c:219
...

I'm using an H300 voice file generated for me by n1s, post removal of the byteswap. Let me know if you want it attached.
This task depends upon

Closed by  Steve Bavin (pondlife)
Tuesday, 07 August 2007, 16:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Works on sim, please re-open if still broken on ARM devices.
Comment by Steve Bavin (pondlife) - Tuesday, 07 August 2007, 08:05 GMT
Same happens with a file generated today by Bagder. The problem seems to be the endianness of the various IDs (or more likely the entire file).
Comment by Steve Bavin (pondlife) - Tuesday, 07 August 2007, 13:08 GMT
iPods (and other ARM targets) also crash if a voice file is in use - maybe a general problem with little-endian targets?

Loading...