Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#5961 - crash while recording

Attached to Project: Rockbox
Opened by Oliver (polluxx2006) - Saturday, 09 September 2006, 10:24 GMT+2
Task Type Bugs
Category Recording
Status Closed
Assigned To No-one
Player Type All players
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

model: iriver H140
build: CVS-060907

hi developers. i encountered several problems with recording. it crashed while trying to record radio
or just with microphone. for example, i turn on the radio, choose source=fm radio, adjust the gain and
then it crashes. there was the following message:
I05: at 310205F8

also, i recorded somethin in wavepack, turned on time split and set it to 01:00... but the file i had
later was 01:09...
This task depends upon

Closed by  Martin Scarratt (mmmm-)
Wednesday, 13 September 2006, 20:22 GMT+2
Reason for closing:  Fixed
Comment by Toni (ahellmann) - Sunday, 10 September 2006, 12:27 GMT+2
The same here, very reproducable with rockbox-daily-20060909.
IO5: at 310205A0

This does not happen at all when I use m68k-elf-gcc-elf 3.4.3 and old configure script
compiling the rockbox-daily-20060909 source.

So I suspect the compiler or the new configure script.
Comment by Magnus Holmgren (learman) - Monday, 11 September 2006, 23:50 GMT+2
Hm... IO5, that must mean a division by zero error. Previously, "software" divide was used, and wouldn't trigger that exception. Now it can happen, and the function read_peak_levels seems to be the most likely cause for it (only loosely based on map file examination, so I could be wrong...).
Comment by Martin Scarratt (mmmm-) - Wednesday, 13 September 2006, 14:12 GMT+2
Does this patch fix it ok? I can't seem to reproduce this problem at all!
(application/octet-stream)    peak.patch (1 KiB)
 apps/recorder/recording.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comment by Toni (ahellmann) - Wednesday, 13 September 2006, 17:17 GMT+2
Yes, patch applied to rockbox-daily-20060909 fixes the problem.
Seems to be also better than my fix: http://www.rockbox.org/tracker/task/5972

Loading...