#15 FLAC file with bad metadata causes crash

closed
M@B
tagsupport (14)
8
2006-11-25
2006-11-13
soiaf
No

FLAC file that plays correctly (so if tag extender
plugin is disabled, file will play), however if tag
extender is active it crashes WMP when it tries to
read the tags from the file.
When playing the same file on Foobar 2000, foobar
2000 gives a warning message "bad FLAC metadata: "" -
length: 0, index: 6" - however it also is able to
play the file correctly and can show all the correct
tags for the file.
Using tag extender 1.1.1
File is approx. 28 MB in size, so don't wish to
upload here.

Discussion

  • M@B
    M@B
    2006-11-13

    Logged In: YES
    user_id=1364593

    The file seems to be corrupted...

    WMPTSE is using libFLAC to read FLAC metadata. It could be
    some kind of incompatibility between different version of
    libFLAC or a bug in the metadata handling algorithm...

    In both case, we'll have to report the bug to libFLAC author.

    First, i want to be sure that WMPTSE is not mis-using the
    libFLAC.

    Could you please answer :
    How did you encoded this file ?
    What was the software you used ?
    If you know, which version of Flac library does it uses ?

    Thanks

    MaB_fr

     
  • soiaf
    soiaf
    2006-11-13

    Logged In: YES
    user_id=1644233

    I'm not sure which program was used to rip the file, it was either dBPowerAmp or EAC - I ripped this CD several months ago.
    According to foobar2000 tag properties the FLAC vendor was "reference libFLAC 1.1.1 20041001"

     
  • soiaf
    soiaf
    2006-11-13

    Logged In: YES
    user_id=1644233

    I ran metaflac.exe on a copy of the file. It looks like it has an 'emtpy' vorbis comment (with zero length). This corresponds to the 'index 6' that foobar2000 give the warning
    message for.

    ++
    C:\Program Files (x86)\FLAC>metaflac --list test.flac
    METADATA block #0
    type: 0 (STREAMINFO)
    is last: false
    length: 34
    minumum blocksize: 4608 samples
    maximum blocksize: 4608 samples
    minimum framesize: 1311 bytes
    maximum framesize: 16361 bytes
    sample_rate: 44100 Hz
    channels: 2
    bits-per-sample: 16
    total samples: 10307640
    MD5 signature: 5514dab7409fc4cd814b3f2a99d726ca
    METADATA block #1
    type: 4 (VORBIS_COMMENT)
    is last: false
    length: 161
    vendor string: reference libFLAC 1.1.1 20041001
    comments: 7
    comment[0]: Title=When You Lose
    comment[1]: Artist=Deine Lakaien
    comment[2]: Album=April Skies
    comment[3]: Genre=Darkwave
    comment[4]: DATE=2005
    comment[5]: TRACKNUMBER=10
    comment[6]:
    METADATA block #2
    type: 1 (PADDING)
    is last: true
    length: 32647
    ++

     
  • M@B
    M@B
    2006-11-13

    Logged In: YES
    user_id=1364593

    Ok, i'll verify if a zero length string return is handled
    correctly...

    MaB_fr

     
  • M@B
    M@B
    2006-11-13

    • priority: 5 --> 8
     
  • M@B
    M@B
    2006-11-23

    FLACTagSupport DLL 1.1.1

     
    Attachments
  • M@B
    M@B
    2006-11-23

    Logged In: YES
    user_id=1364593
    Originator: NO

    Could you try the attached v1.1.1 of FLACTagSupport.dll ?

    It should resolve the problem...

    Thanks

    MaB_fr

     
  • soiaf
    soiaf
    2006-11-23

    Logged In: YES
    user_id=1644233
    Originator: YES

    Excellent! Thats working now. Thanks a lot for the fix.

     
  • M@B
    M@B
    2006-11-25

    • status: open --> closed
     
  • M@B
    M@B
    2006-11-25

    Logged In: YES
    user_id=1364593
    Originator: NO

    Corrected in version 1.1.1 of FLACTagSupport.dll