There is a writeup of the failure here:
http://www.hydrogenaudio.org/forums/index.php?showtopic=62028
In the cdrdao man page there is an example TOC file, that will write the file "pregapdata.wav" as pregap region in track and "track.cdr" starting at 1:0:0 with a length of 1:0:0 as the main track data.
CD_DA
TRACK AUDIO
FILE "pregapdata.wav" 0
START
FILE "track.cdr" 1:0:0 1:0:0
[ignore rest of cmds...]
The bug I see, is that I have a TOC file setup the same way, yet when I scan the cdrdao written disc, using EAC, it reports a 0 pregap length for the track (in my case the track is not the 1st one which has a mandatory 0:2:0 pregap)
I wonder if that has something to do with the bug #2251399 reported... if cdrdao interprets:
PREGAP xx:yy:zz
as the equivalent of:
SILENCE xx:yy:zz
START
That could be it, since cdrdao-1.1.9 parses the file!