This article is from the CD-Recordable FAQ, by Andy McFadden (email@example.com) with numerous contributions by others.
This often used to be a problem with auto-insert notification being enabled
when it shouldn't be. See the discussion in section (4-1).
If you're using track-at-once recording, and the actual write is failing
when the disc is 100% complete and the TOC is being written, you may be
able to solve your problems by using a different brand of media. See
the notes in section (4-9).
One person supposedly fixed a similar problem by replacing the power
supply in their computer. Apparently the 200W supply wasn't enough to
handle everything that was connected to it, and the resultant "brown out"
may have been causing problems during writing.