Bug 134751 - flac files corrupted after editing tags
Summary: flac files corrupted after editing tags
Status: RESOLVED NOT A BUG
Alias: None
Product: taglib
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
: 134263 135202 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-27 17:23 UTC by Clive Messer
Modified: 2007-02-13 16:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clive Messer 2006-09-27 17:23:12 UTC
Version:           1.3.4 (using KDE KDE 3.5.4)
Installed from:    Fedora RPMs
OS:                Linux

# flac -t 03\ -\ Miles_From_Our_Home.flac
03 - Miles_From_Our_Home.flac: ok

# metaflac --list --block-type=VORBIS_COMMENT 03\ -\ Miles_From_Our_Home.flac
METADATA block #1
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 167
  vendor string: reference libFLAC 1.1.2 20050205
  comments: 6
    comment[0]: ARTIST=Cowboy Junkies
    comment[1]: ALBUM=Miles From Our Home
    comment[2]: GENRE=Rock
    comment[3]: Date=1998
    comment[4]: TrackNumber=3
    comment[5]: TITLE=Miles From Our Home

## Add comment 'TEST' with Amarok.

# metaflac --list --block-type=VORBIS_COMMENT 03\ -\ Miles_From_Our_Home.flac
METADATA block #1
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 187
  vendor string: reference libFLAC 1.1.2 20050205
  comments: 7
    comment[0]: ALBUM=Miles From Our Home
    comment[1]: ARTIST=Cowboy Junkies
    comment[2]: DATE=1998
    comment[3]: DESCRIPTION=Test
    comment[4]: GENRE=Rock
    comment[5]: TITLE=Miles From Our Home
    comment[6]: TRACKNUMBER=3

# flac -t 03\ -\ Miles_From_Our_Home.flac
03 - Miles_From_Our_Home.flac: testing, 100% complete

03 - Miles_From_Our_Home.flac: ERROR while decoding data
                               state = FLAC__STREAM_DECODER_UNPARSEABLE_STREAM

The FLAC stream may have been created by a more advanced encoder.  Try
  metaflac --show-vendor-tag 03 - Miles_From_Our_Home.flac
If the version number is greater than 1.1.2, this decoder is probably
not able to decode the file.  If the version number is not, the file
may be corrupted, or you may have found a bug.  In this case 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.

# metaflac --show-vendor-tag 03\ -\ Miles_From_Our_Home.flac
reference libFLAC 1.1.2 20050205
Comment 1 Mark Kretschmann 2006-09-28 08:00:34 UTC
Amarok 1.3 is no longer supported. I assume you mean 1.4.3?
Comment 2 Clive Messer 2006-09-28 11:26:39 UTC
Apologies. Yes, I do mean 1.4.3.
Comment 3 Mark Kretschmann 2006-10-06 16:29:29 UTC
*** Bug 135202 has been marked as a duplicate of this bug. ***
Comment 4 Jörg Noebels 2006-10-16 17:43:12 UTC
I have the same problem in my gentoo installation. I'm using Amarok 1.4.3 with taglib 1.4 and KDE 3.5.5. In my case every change I commit to the flac tags corrupts the file at 95 to 99 percent when running 'flac -t'. Flac version is 1.1.2. Tagging or retagging files with foobar through wine works fine. Hope you can fix this soon.
Comment 5 Andreas Nuesslein 2006-10-21 23:58:31 UTC
same here. i also have a gentoo-environment. gcc-4.2. taglib 1.4-r1 and amarok-1.4.3-r1. tried rebuilding taglib and amarok a few times. this bug remains.

thanks
Comment 6 Jörg Noebels 2006-11-02 18:28:05 UTC
In my case this seems to be fixed. Don't know what exactly resolved the problem, but I have upgraded Amarok to 1.44. Maybe the devels resolved this (though I didn't find anything in the changelog).
Comment 7 Rémi G. 2006-11-08 19:45:53 UTC
I've got the same problem... After editing tags with amarok 1.4.3 (on Ubuntu 6.10 Edgy), the file cannot be read entirely! A test of the flac file confirm there are a lot of errors... All my music collection is in flac! I don't want to corrupt it all! I hope my english was not too bad...

A french user who loves amarok.
Comment 8 shattered 2006-11-08 23:36:44 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Christos Farinis 2006-11-10 02:58:13 UTC
I have also reported this bug:
http://bugs.kde.org/show_bug.cgi?id=134263
Comment 10 Seb Ruiz 2006-11-10 06:18:20 UTC
*** Bug 134263 has been marked as a duplicate of this bug. ***
Comment 11 Rémi G. 2006-11-14 11:57:27 UTC
I've just installed Amarok 1.4.4 on Ubuntu 6.10 Edgy Eft and the problem seems to be solved : Amarok isn't corrupting my flac files yet :)
Nevertheless, I can't "repair" the file with Amarok... I tried to retag all the files corrupted but it doesn't change anything :(
Comment 12 Scott Wheeler 2007-02-13 12:52:27 UTC
This was an Amarok issue that they solved a while back.  Actually it wasn't FLAC specific, but just happened to have a higher chance of being triggered with larger files.  (Basically they would get two threads writing tags at the same time causing wacky results.)
Comment 13 munlinux 2007-02-13 16:14:58 UTC
Can I request a precisement for the "a while back", please. Can this be expected to not occur any more with AmaroK 1.4.4? Some comments seem to indicate this would be the case.