#50 Failed verifications at -4 and above

closed-works-for-me
Josh Coalson
5
2003-09-03
2002-08-16
Jon Colverson
No

Hi, I'm also having a problem of failed verifications.
I'm using flac 1.0.3 on Linux on a Duron 600 machine.
These problems have also occured with Windows XP on the
same machine and with different versions of flac. The
binary I'm currently using is the one in Debian package
flac_1.0.3-2_i386.deb
http://packages.debian.org/testing/sound/flac.html
The problem seems to occur only at compression levels 4
and above. It doesn't always happen on every attempt,
but when it does occur, it does so at the same sample
and with the same expected/got results. I had some
trouble trying to use the options to tune the
compression to find out which feature was causing the
errors. flac reported that at -3 it's options are "-P-
-b 4608 -l 6 -q 0 -r 3,3 -R 0" but when I tried
substituting this for the -3 in the command line I got
the error "ERROR: invalid option '-R'". When I tried
removing the -R I got the verify error at the same
sample as usual. I will attach test case wav files with
three of the 4608 sample blocks which are failing.
iits1792.wav fails much more frequently than the other two.

iits392.wav
Absolute sample=392, frame=0, channel=0, sample=392,
expected -1504, got -1376
fails approximately once every 150 tries

iits1792.wav:
Absolute sample=1792, frame=0, channel=0, sample=1792,
expected -3316, got -3284
fails approximately once every 3 tries

iits2430.wav:
Absolute sample=2430, frame=0, channel=1, sample=2430,
expected -7, got -39
fails approximately once every 500 tries

I am monitoring this bug, please let me know if there's
any other information that would be helpful.

Thanks.

Discussion

1 2 > >> (Page 1 of 2)
  • Jon Colverson
    Jon Colverson
    2002-08-16

    Test wav files

     
    Attachments
  • Jon Colverson
    Jon Colverson
    2002-08-16

    Test file

     
    Attachments
  • Jon Colverson
    Jon Colverson
    2002-08-16

    Test file

     
    Attachments
  • Jon Colverson
    Jon Colverson
    2002-08-16

    Test file

     
    Attachments
  • Josh Coalson
    Josh Coalson
    2002-08-16

    • assigned_to: nobody --> jcoalson
    • status: open --> open-accepted
     
  • Josh Coalson
    Josh Coalson
    2002-08-16

    Logged In: YES
    user_id=78173

    OK, even though this is kind of a duplicate of #585158, I don't see a quick way to transfer the attached files over, so I'll leave it here and point the people on flac-dev over to see if anyone else can reproduce it.

    Josh

     
  • Josh Coalson
    Josh Coalson
    2003-01-14

    Logged In: YES
    user_id=78173

    As much as I try I cannot reproduce this. I have tried running
    all the files hundreds of thousands of times with different
    options (including the variations you mentioned), on windows
    and linux, on different machines, and it never fails.

    Based on your experience that the failure is occasional, and
    does not happen on every single run, I'm still inclined to think
    it's a hardware problem.

    Josh

     
  • Jon Colverson
    Jon Colverson
    2003-01-14

    Logged In: YES
    user_id=479642

    Thanks very much for your effort. I have to agree that it
    smells very much like a hardware problem, and I don't have
    absolute confidence in the CPU because I accidently
    over-heated it about a year ago. I haven't noticed any other
    problems with it, but I suppose it's conceivable that there
    was some minute damage which is only triggered by a
    particular sequence of instructions that happen to be used
    by flac.

    Thanks again.

    --
    Jon

     
  • Carey
    Carey
    2003-03-01

    Logged In: YES
    user_id=723636

    I am getting similar problems.

    Here are my results:
    0 and 1 always verify
    2 and 3 verify just about always.
    4 and 5 verify half the time
    6 and 7 verify rarely
    8 ---> never verifies.

    I am using a Athlon Thunderbird - 1200mhz cpu / ASUS
    A7V133-C mobo / 256mb sdram.

    The file I am trying to encode is this ->
    http://users.on.net/toast/files/alienshock.rar (or .zip if
    you want).

    It always comes out as this ->
    http://www.users.on.net/toast/files/alienshock.flac

    And the error is this ->
    -----------------------------
    options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3 -V
    alienshock.wav: 19% complete, ratio=0.536
    alienshock.wav: ERROR during encoding
    state =
    2:FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA

    alienshock.wav: ERROR: mismatch in decoded data, verify FAILED!
    Absolute sample=387900, frame=84, channel=0,
    sample=828, expected 6003, g
    ot 6019
    -----------------------------

    Can anyone else encode my file at say compression 8?

    Any ideas as to why I can't?

    Thanks!

    PS: Just let me know iif I did something wrong, I'm new to
    this and not sure what I am doing :)

     
  • Carey
    Carey
    2003-03-01

    Logged In: YES
    user_id=723636

    Please note that I'm not sure if that error that I pasted
    below was for the exact same error for the alienshock.flac
    file that I uploaded to my webspace. As I tried to encode
    the file many times and that error that I copied and pasted
    was for a different time trying to encode that file than the
    file that I actually uploaded. I don't think it should
    matter as each time it was the same error (I think) but just
    at a different % complete.

    I hope that made sense.

     
1 2 > >> (Page 1 of 2)