Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Friday, 23 February 2007, 20:49 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 08 September 2007, 09:44 GMT+2
Task Type Bugs
Category Simulator
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

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.
This task depends upon

Closed by  Nils Wallménius (nls)
Saturday, 08 September 2007, 09:44 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  Big thanks to amiconn for fixing this :-)
Comment by Steve Bavin (pondlife) - Monday, 05 March 2007, 10:25 GMT+2
Can you run the simulator under gdb and find out which line is crashing?
Comment by Nils Wallménius (nls) - Wednesday, 07 March 2007, 21:10 GMT+2
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 :)
Comment by Simon (blendage) - Thursday, 12 April 2007, 23:33 GMT+2
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.
Comment by Steve Bavin (pondlife) - Wednesday, 01 August 2007, 17:33 GMT+2
From IRC - Nils retested this today and it's still a problem.

Loading...