Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by nls - 2007-02-23
Last edited by nls - 2007-09-08

FS#6691 - 64 bit simulator crashes when playing an mp3 file.

When trying to play an mp3 file in the simulator on my 64 bit ubuntu machine the simulator immediately crashes with a “Segmentation fault (core dumped)”.
Ogg vorbis and flac playback works fine.
This has been confirmed by a number of 64 bit linux users.

Closed by  nls
2007-09-08 07:44
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

Big thanks to amiconn for fixing this :-)

Can you run the simulator under gdb and find out which line is crashing?

nls commented on 2007-03-07 20:10

gdb says it crached in the function synth_full on line 984 in synth.c in
libmad, I'm not very good with gdb so I'm not sure what other info it
could provide. amiconn said this regarding the issue:

amiconn: Rockbox' libmad has an optimisation that is known to break on 64 bit systems
amiconn: I know where it breaks and why, but fixing it will take some work
amiconn: Fixing it without reverting the optimisation, tht is

So I guess he's the man to ask about this :)

For anyone wondering, disabling the optimisation flags in the libmad Makefile doesn't seem to fix this (both ways, the crash occurs on a line with values optimised out). In fact, fairly basic actions seem to trigger a segfault anyway (corrupt double-linked list in glibc is fairly common).

Is anyone able to try an x86 build? I've personally given up on the simulator.

From IRC - Nils retested this today and it's still a problem.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing