Recently I ran into a bug in cdrdao where certain disc that contain CD-TEXT data were causing TOC file generation to fail. The symptom was that cdrdao would run through each track, but when it got to actually generating the TOC file it would throw the following error:
Found CD-TEXT data.
cdrdao: Track.cc:1415: void Track::addCdTextItem(CdTextItem*): Assertion
`CdTextItem::isTrackPack(item->packType())' failed.
Aborted
It turns out that the isTrackPack method was only testing for a number of types, and missing several (including genre and discid, which one would think is pretty common).
In any case, I wrote a patch for cdrdao 1.2.2 that adds in the missing types, which seems to have fixed the problems. Caveat emptor and have fun.
-c