FS#7550 - Voice crashes ARM targets and all simulators
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=0×2639000, ecinst=0x46a4f6 “ll”, count=1, enable=true
at common/structec.c:81
81 *data = swap32(*data);
(gdb) bt
#0 0x0045a2c6 in structec_convert (structure=0×2639000, 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.
Closed by pondlife
2007-08-07 16:55
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
2007-08-07 16:55
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
Works on sim, please re-open if still
broken on ARM devices.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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).
iPods (and other ARM targets) also crash if a voice file is in use - maybe a general problem with little-endian targets?