#50 Failed verifications at -4 and above

closed-works-for-me
5
2003-09-03
2002-08-16
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

  • Jon Colverson

    Jon Colverson - 2002-08-16

    Test wav files

     
  • Jon Colverson

    Jon Colverson - 2002-08-16

    Test file

     
  • Jon Colverson

    Jon Colverson - 2002-08-16

    Test file

     
  • Jon Colverson

    Jon Colverson - 2002-08-16

    Test file

     
  • 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.

     
  • Josh Coalson

    Josh Coalson - 2003-03-02

    Logged In: YES
    user_id=78173

    I tried encoding with flac 1.0.4 and 1.1.0, using -V -8 on a PIII
    running linux, and it worked fine. I'll try a windows box when I
    get a chance.

    flac -t on alienshock.flac decoded with no sync errors but with
    an MD5 sum mismatch, which means either it went wrong in
    the MD5 calculation or somewhere before the actual encoding
    (but after the data was read in and fed to the MD5 summation).

    Josh

     
  • Carey

    Carey - 2003-03-02

    Logged In: YES
    user_id=723636

    Do you have an AMD system to try it on?

    Because I tried encoding alienshock.wav to .flac on my
    Pentium 100mhz running windows 98SE using -v -8, and it
    worked fine every time. But as soon as I try on my Athlon
    1.2ghz it fails.

    Oh no. I just tried it on my Pentium 200mhz, running
    Mandrake linux 9.0 and it failed first time with
    segmentation error next with verify error and the next 10
    times with verify error, see below.

    -----------------------------
    [root@bose flac-1.1.0-rh7-i386]# bin/flac -V -8
    /storage/alienshock.wav

    flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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 4096 -b 4608 -m -l 12 -e -q 0 -r 0,6 -V
    alienshock.wav: 0% complete, ratio=0.535Segmentation fault
    (core dumped)
    [root@bose flac-1.1.0-rh7-i386]# bin/flac -V -8
    /storage/alienshock.wav

    flac 1.1.0, Copyright (C) 2000,2001,2002,2003 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 4096 -b 4608 -m -l 12 -e -q 0 -r 0,6 -V
    alienshock.wav: 0% complete, ratio=0.535
    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=62118, frame=13, channel=0,
    sample=2214, expected -2035, got -2291
    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.
    Verify FAILED! Do not trust /storage/alienshock.flac
    [root@bose flac-1.1.0-rh7-i386]#
    -----------------------------

     
  • Carey

    Carey - 2003-05-05

    Logged In: YES
    user_id=723636

    ok, I am now using an Epox mobo and a Athlon 1800+@2000+ and
    it's working fine every time. I now run Debian on my
    Pentium200 and it works fine now also.

    I can't explain it...

     
  • Josh Coalson

    Josh Coalson - 2003-09-03
    • status: open-accepted --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks