#600150 k3b writes directory entry to DVD but not file

Package:
k3b
Source:
k3b
Description:
Sophisticated CD/DVD burning application
Submitter:
Date:
2010-10-13 23:33:05 UTC
Severity:
important
#600150#5
Date:
2010-10-13 23:28:18 UTC
From:
To:
k3b spoils the DVD by writing the directory entry and presumably closing
the DVD without actually writing the file. The progress bar goes
immediately to 100%, stays there for more than 2 minutes, and then I get
the write error message. This is the debug trace of k3b:

System
-----------------------
K3b Version: 1.0.5

KDE Version: 3.5.10
QT Version:  3.3.8b
Kernel:      2.6.32-bpo.5-686
Devices
-----------------------
HL-DT-ST DVD-RAM GH40L 1.04 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM,
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM,
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R
Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R,
RAW/R96R, Restricted Overwrite, Layer Jump]

Burned media
-----------------------
DVD-R Sequential

K3bIsoImager
-----------------------
mkisofs print size result: 2294179 (4698478592 bytes)
Pipe throughput: 34758304 bytes read, 34753856 bytes written.

Used versions
-----------------------
mkisofs: 1.1.9
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: "Current Write Speed" is 16.4x1352KBps.
:-[ WRITE@LBA=220h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid
argument
:-( write failed: Invalid argument
/dev/sr0: flushing cache
/dev/sr0: updating RMA
/dev/sr0: closing disc

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=tracksize:2294179
-dvd-compat -speed=16 -use-the-force-luke=bufsize:32m

mkisofs
-----------------------
2294179
I: -input-charset not specified, using utf-8 (detected in locale
settings)
This size can only be represented in the UDF filesystem.
Make sure that your clients support and use it.
ISO9660, Joliet, RockRidge, HFS will display incorrect size.
  0.02% done, estimate finish Wed Oct 13 17:32:57 2010
  0.04% done, estimate finish Wed Oct 13 17:32:57 2010
  0.07% done, estimate finish Wed Oct 13 17:32:57 2010
  0.09% done, estimate finish Wed Oct 13 17:32:57 2010
  0.11% done, estimate finish Wed Oct 13 17:32:57 2010
  0.13% done, estimate finish Wed Oct 13 17:32:57 2010
  0.15% done, estimate finish Wed Oct 13 17:32:57 2010
  0.17% done, estimate finish Wed Oct 13 17:32:57 2010
  0.20% done, estimate finish Wed Oct 13 17:32:57 2010
  0.22% done, estimate finish Wed Oct 13 17:32:57 2010
  0.24% done, estimate finish Wed Oct 13 17:32:57 2010
  0.26% done, estimate finish Wed Oct 13 17:32:57 2010
  0.28% done, estimate finish Wed Oct 13 17:32:57 2010
  0.31% done, estimate finish Wed Oct 13 17:32:57 2010
  0.33% done, estimate finish Wed Oct 13 17:32:57 2010
  0.35% done, estimate finish Wed Oct 13 17:32:57 2010
  0.37% done, estimate finish Wed Oct 13 17:32:57 2010
  0.39% done, estimate finish Wed Oct 13 17:32:57 2010
  0.41% done, estimate finish Wed Oct 13 17:32:57 2010
  0.44% done, estimate finish Wed Oct 13 17:32:57 2010
  0.46% done, estimate finish Wed Oct 13 17:32:57 2010
  0.48% done, estimate finish Wed Oct 13 17:32:57 2010
  0.50% done, estimate finish Wed Oct 13 17:32:57 2010
  0.52% done, estimate finish Wed Oct 13 17:32:57 2010
  0.55% done, estimate finish Wed Oct 13 17:32:57 2010
  0.57% done, estimate finish Wed Oct 13 17:32:57 2010
  0.59% done, estimate finish Wed Oct 13 17:32:57 2010
  0.61% done, estimate finish Wed Oct 13 17:32:57 2010
  0.63% done, estimate finish Wed Oct 13 17:32:57 2010
  0.65% done, estimate finish Wed Oct 13 17:32:57 2010
  0.68% done, estimate finish Wed Oct 13 17:32:57 2010
  0.70% done, estimate finish Wed Oct 13 17:32:57 2010
  0.72% done, estimate finish Wed Oct 13 18:21:35 2010
  0.74% done, estimate finish Wed Oct 13 18:20:10 2010

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid
2010-10-01_full.1 -volset  -appid K3B THE CD KREATOR (C) 1998-2006
SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX
-volset-size 1 -volset-seqno 1 -sort /tmp/kde-peter/k3bFawWHb.tmp
-rational-rock -hide-list /tmp/kde-peter/k3bBcrWia.tmp -no-cache-inodes
-allow-limited-size -udf -full-iso9660-filenames -iso-level 2 -path-list
/tmp/kde-peter/k3bYB03ub.tmp

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid 2010-10-01_full.1 -volset
-appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM
-publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort
/tmp/kde-peter/k3b8YYy9b.tmp -rational-rock -hide-list
/tmp/kde-peter/k3bC12lQb.tmp -no-cache-inodes -allow-limited-size -udf
-full-iso9660-filenames -iso-level 2 -path-list
/tmp/kde-peter/k3bha9MMb.tmp