#30 mismatch in decoded data

closed-wont-fix
Josh Coalson
5
2002-07-01
2002-04-11
Anonymous
No

Hi!

Unfortunately flac produces encoding/decoding errors
on my computer.
So far I've tried flac-1.0.2-win.zip, flac-1.0.1-
win.zip, as well tried to compile different versions
(with/without asm) from flac-1.0.2-src.tar.gz with gcc
2.95 (cygwin).
All versions fail with the following error. The error
position varies even if I retry the operation with the
same parameters.

Tested with Win2000,SP1, on an AMD K6/II 450MHz.

If you have additional questions please contact me.
<michael@schoeggl.net>

Thanks for an otherwise great program,
michael

/////////////////////////////////

>flac -V test.wav

flac 1.0.2, Copyright (C) 2000,2001 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 0 -b 4608 -m -l 8 -q 0 -r 3,3 -R 0 -V
test.wav: 0% complete, ratio=0.671
test.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=24110, frame=5, channel=0,
sample=1070, expected 605, got
223
test.wav: ERROR during encoding, state =
15:FLAC__STREAM_ENCODER_FATAL_ERROR_WHILE_WRITING

Verify FAILED! (FLAC__VERIFY_FAILED_IN_FRAME) Do not
trust test.flac

Discussion

  • Josh Coalson
    Josh Coalson
    2002-06-05

    Logged In: YES
    user_id=78173

    Is there any sample you have that exhibits the same behavior
    at the same place? If it's not reproducible this way it is
    very unlikely to be flac.

    -Josh

     
  • Josh Coalson
    Josh Coalson
    2002-06-05

    • assigned_to: nobody --> jcoalson
     
  • Logged In: NO

    Now I have done some additional tests:

    - The flac executable (compiled with gcc and without asm
    optimizations) executes without error on the pc at work with a
    P3 processor.
    - The same executable fails on my pc at home with the amd
    K6II processor. (Both pc's with Win2k.)
    - The position where the verify error occurs varies with every
    run.
    - This behavior is independend of the memory timing and any
    other bios settings; independed of the versions of the gcc
    compiler; independend whether input and output are files or
    stdio.
    - I use that pc for other pcu-intense tasks since 2 years
    without any problems.

    As soon as I have some more disk space I will repeat the test
    with a different os (linux) on the same hardware.

    Michael

     
  • Josh Coalson
    Josh Coalson
    2002-07-01

    • status: open --> closed-wont-fix
     
  • Josh Coalson
    Josh Coalson
    2002-07-01

    Logged In: YES
    user_id=78173

    I can't repeat this so I'm going to close it out. I guess
    it could be Win2k related, but I don't have a win2k setup to
    test on. I would say try some more experiments with the
    upcoming 1.0.3 release and refile a bug then if necessary.

    thanks,
    Josh

     
  • Logged In: NO

    I filed another bug, but it looks as if this one describes my
    symptoms perfectly.

    System 1: Athlon 1800+, Windows 2000, SP2.
    System 2: Pentum III 850MHz, Windows 2000, SP2.

    Encoding using flac -V fails approximately 50% of the time on
    system 1. Has not failed at all on System 2 after a moderate
    amount of testing. In order to rule out hardware troubles as
    much as possible, shared drive from System 1 and encoded
    on System 2 over the network - no problems. Encoding does
    not fail in the same place each time, and works fine half of
    the time.

    Could this be a compiler optimization problem? I may try to
    compile flac with MSVC, if that's not too hard to do, and see
    if I have the same problem.

    Michael Dougherty