• Status Closed
  • Percent Complete
  • 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 Nils Wallménius - 2007-02-23
Last edited by Nils Wallménius - 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  Nils Wallménius
2007-09-08 07:44
Reason for closing:  Fixed
Additional comments about closing:  

Big thanks to amiconn for fixing this :-)

Steve Bavin commented on 2007-03-05 09:25

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

Nils Wallménius 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 :)

Simon commented on 2007-04-12 21:33

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.

Steve Bavin commented on 2007-08-01 15:33

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


Available keyboard shortcuts


Task Details

Task Editing