To all who have an AMD + Windows based PC: I have gotten a few similar bug reports about encoding errors with FLAC. The common features are: - Repeatedly encoding the same file with verify will have verify errors some of the time (looks like aroung 50%) and the verify errors will occur in different places each time. - This is happening on AMD PCs running Windows. More reports come from Athlon systems but there has been one from a Duron. More reports come from win2k but there has been one from win98se and XP. - Some people are using only the win32 binary flac release but a couple have compiled from source, even under cygwin, with similar results (see links at the end). Since I have neither an AMD machine nor Windows > NT4, I need some help tracking this down. I'm not *totally* convinced its flac's fault since I know some people here use AMD's and no one's brought it up here. It could be a case that when it works there's no need to say anything; but now there is. If anyone with a similar set up can read the comments in the following bug reports and do some investigation it would really help a lot. I would like to hear about setups that are working as much as ones that aren't. Thanks, Josh http://sourceforge.net/tracker/?func=detail&atid=113478&aid=585158&group_id=13478 http://sourceforge.net/tracker/?func=detail&aid=542501&group_id=13478&atid=113478 http://sourceforge.net/tracker/?func=detail&aid=590561&group_id=13478&atid=113478 __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
I've been running FLAC on both my home desktop and server. I don't remember the exact specs, but they're both AMD-based CPU's. I've been testing FLAC (trying to break it) for at least 8 months, and have not experienced any of these issues. I'm running Win2k on the desktop, and Advanced Server on the server. I've been using the pre-complied win32 binaries. Hope this helps. I'll try and bang on things tonight for a few hours to try and reproduce the errors below. MW On Wed, 14 Aug 2002, Josh Coalson wrote:> To all who have an AMD + Windows based PC: > > I have gotten a few similar bug reports about encoding > errors with FLAC. The common features are: > > - Repeatedly encoding the same file with verify will have > verify errors some of the time (looks like aroung 50%) and > the verify errors will occur in different places each time. > > - This is happening on AMD PCs running Windows. More reports > come from Athlon systems but there has been one from a Duron. > More reports come from win2k but there has been one from > win98se and XP. > > - Some people are using only the win32 binary flac release but > a couple have compiled from source, even under cygwin, with > similar results (see links at the end). > > Since I have neither an AMD machine nor Windows > NT4, > I need some help tracking this down. I'm not *totally* > convinced its flac's fault since I know some people here use > AMD's and no one's brought it up here. It could be a case that > when it works there's no need to say anything; but now there is. > > If anyone with a similar set up can read the comments in the > following bug reports and do some investigation it would really > help a lot. I would like to hear about setups that are working > as much as ones that aren't. > > Thanks, > Josh > > http://sourceforge.net/tracker/?func=detail&atid=113478&aid=585158&group_id=13478 > http://sourceforge.net/tracker/?func=detail&aid=542501&group_id=13478&atid=113478 > http://sourceforge.net/tracker/?func=detail&aid=590561&group_id=13478&atid=113478 > > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev >
Great call, Jason. The trouble may also be from overclocking their CPU's. We ran into some similar bug reports in the Furthur project with people swearing up and down that random application hangs and glitches was our software (which in part it was). However, as soon as they brought their CPU's and video cards back to spec, their problems magically went away. I would follow this one up with those people... like Jason said, FLAC is very cpu intensive, and if overheating would occur, it would be during a FLAC encode/decode/verify pass. MW On Wed, 14 Aug 2002, Jason Lunz wrote:> xflac@yahoo.com said: > > I have gotten a few similar bug reports about encoding > > errors with FLAC. The common features are: > > > > - Repeatedly encoding the same file with verify will have > > verify errors some of the time (looks like aroung 50%) and > > the verify errors will occur in different places each time. > > > > - This is happening on AMD PCs running Windows. More reports > > come from Athlon systems but there has been one from a Duron. > > More reports come from win2k but there has been one from > > win98se and XP. > > > > - Some people are using only the win32 binary flac release but > > a couple have compiled from source, even under cygwin, with > > similar results (see links at the end). > > These attributes (especially their randomness) are all consistent with > slight overheating or memory problems in the hardware. Overheating is > common with AMD systems and will often only show up when doing something > like FLAC encoding. If the problem is overheating, just opening up the > case will often drop the system's temperature several degrees and make > these kinds of problems go away. If it's slighly bad memory, then > memtest86 will likely find it: http://www.memtest86.com/ > > Jason > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev >
--- Josh Coalson <xflac@yahoo.com> wrote:>... > If anyone with a similar set up can read the comments in the > following bug reports and do some investigation it would really > help a lot. I would like to hear about setups that are working > as much as ones that aren't.OK, someone with a Duron has uploaded some test files which reproduce errors in the same spot, but sporadically, on Linux too. His comments and files are here: http://sourceforge.net/tracker/index.php?func=detail&aid=595858&group_id=13478&atid=113478 Josh __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
On Fri, Aug 16, 2002 at 11:14:01AM -0700, Josh Coalson wrote:> --- Josh Coalson <xflac@yahoo.com> wrote: > >... > > If anyone with a similar set up can read the comments in the > > following bug reports and do some investigation it would really > > help a lot. I would like to hear about setups that are working > > as much as ones that aren't. > > OK, someone with a Duron has uploaded some test files which > reproduce errors in the same spot, but sporadically, on Linux too. > His comments and files are here: > > http://sourceforge.net/tracker/index.php?func=detail&aid=595858&group_id=13478&atid=113478I am able to reproduce this on my system. I am of course using the same Debian packaged binary, and the test files from the bug tracker. It does not happen every time. Sometimes I can get the failure in a few tries, and sometimes I run several hundred iterations with no problems. processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 4 model name : AMD Athlon(tm) Processor stepping : 4 cpu MHz : 1394.099 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 2785.28 mizar:[/tmp] flac -4 -V *.wav flac 1.0.3, Copyright (C) 2000,2001,2002 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type `flac' for details. options: -P- -b 4608 -M -l 8 -q 0 -r 3,3 -R 0 -V iits1792.wav: Verify OK, wrote 11886 bytes, ratio=0.643 iits2430.wav: Verify OK, wrote 9274 bytes, ratio=0.502 iits2430.wav: ERROR: mismatch in decoded data, verify FAILED! Please submit a bug report to http://sourceforge.net/bugs/?func=addbug&group_id=13478 Make sure to include an email contact in the comment and/or use the "Monitor" feature to monitor the bug status. Absolute sample=3453, frame=0, channel=1, sample=3453, expected 325, got 69 iits2430.wav: ERROR during encoding, state = 15:FLAC__STREAM_ENCODER_FATAL_ERROR_WHILE_WRITING iits2430.wav: 200% complete, ratio=0.504 iits2430.wav: ERROR: verification decoder returned error 1:FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER Verify FAILED! (FLAC__VERIFY_FAILED_IN_FRAME) Do not trust iits2430.flac zsh: exit 1 flac -4 -V *.wav mizar:[/tmp] flac -4 -V *.wav -- - mdz
xflac@yahoo.com said:> I have gotten a few similar bug reports about encoding > errors with FLAC. The common features are: > > - Repeatedly encoding the same file with verify will have > verify errors some of the time (looks like aroung 50%) and > the verify errors will occur in different places each time. > > - This is happening on AMD PCs running Windows. More reports > come from Athlon systems but there has been one from a Duron. > More reports come from win2k but there has been one from > win98se and XP. > > - Some people are using only the win32 binary flac release but > a couple have compiled from source, even under cygwin, with > similar results (see links at the end).These attributes (especially their randomness) are all consistent with slight overheating or memory problems in the hardware. Overheating is common with AMD systems and will often only show up when doing something like FLAC encoding. If the problem is overheating, just opening up the case will often drop the system's temperature several degrees and make these kinds of problems go away. If it's slighly bad memory, then memtest86 will likely find it: http://www.memtest86.com/ Jason
On Fri, Aug 16, 2002 at 11:14:01AM -0700, Josh Coalson wrote:> OK, someone with a Duron has uploaded some test files which > reproduce errors in the same spot, but sporadically, on Linux too. > His comments and files are here: > > http://sourceforge.net/tracker/index.php?func=detail&aid=595858&group_id=13478&atid=113478Well, I've downloaded the files and test it: A Duron 600 machine, linux 2.4.19, same debian binary, 50000 attempts for each file. But no error at all. -- Miroslav Lichvar
On Fri, Aug 16, 2002 at 11:14:01AM -0700, Josh Coalson wrote:> OK, someone with a Duron has uploaded some test files which > reproduce errors in the same spot, but sporadically, on Linux too. > His comments and files are here: > http://sourceforge.net/tracker/index.php?func=detail&aid=595858&group_id=13478&atid=113478 > JoshI am running tests now on my Athlon 1200 (not overclocked, seems to be well cooled) running a FLAC I built myself under Cygwin without and NASM support. I'm at 2,200 iterations and counting with no errors so far. It might be inetresteing for the people who can reproduce the problem to try a hand-rolled flac binary without the asm code enabled. -- Caleb Epstein | bklyn . org | cae at | Brooklyn Dust | If you have to hate, hate gently. bklyn dot org | Bunny Mfg. |