Bug#619723: cdrdao extits with ".cue:14: Timecode out of range"

Alexander Kurtz kurtz.alex at googlemail.com
Tue Jun 14 13:56:19 UTC 2011


reassign 619723 brasero
found 619723 2.30.3-2
thanks

Hi everybody,

I think I know what's wrong now. I've attached a simple test case to
reproduce the bug. Here's how it works:

 1. Unpack testcase.tar.xz
 2. Try to burn Track01.wav and Track02.wav (in this order!) to an 
    audio disc. Burning will fail.
 3. Try to create an image file of the tracks. You'll probably get 
    a cuesheet like this:

	FILE "/home/alexander/brasero.bin" MOTOROLA
	TITLE "Audio disc (14 Jun 11)"
	TRACK 01 AUDIO
		INDEX 01 00:00:00
	TRACK 02 AUDIO
		INDEX 01 00:09:75

As you can see, the second track starts at 00:09:75. However, since
there are only 75 frames per second[1], starting at frame #75 is
invalid. The correct start time would be 00:10:00.

Of course, Track01.wav was specifically crafted to demonstrate this bug,
but since all tracks have to start at valid times this bug is actually
quite serious. Say you want to burn a CD with 20 tracks of random
length. To successfully burn the disc, no track must start at XX:XX:75.
For 20 tracks this means a (75/76)^20 = 77% chance of success. In other
words, nearly a quarter of all audio projects can't be burned because of
a stupid off-by-one error.

Please tell me if you need any more information to fix this.

Best regards

Alexander Kurtz

[1] http://en.wikipedia.org/wiki/Cue_sheet_(computing)#Essential_commands
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.tar.xz
Type: application/x-xz-compressed-tar
Size: 343552 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110614/488331b8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110614/488331b8/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list