Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343857 - app-cdr/cdrtools-3.00 - a text file becoming garbage after burning (or making an image)
Summary: app-cdr/cdrtools-3.00 - a text file becoming garbage after burning (or making...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 15:47 UTC by PM
Modified: 2012-07-11 20:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2010-11-02 15:47:36 UTC
I posted it originally on bugs.kde.org, but nobody cared. Maybe here I'll have better luck. I'll just copy-paste it:

I have a 4,4 GB movie and a subtitle file I'd like to burn to a DVD+R. The
movie burns fine and there are no problems about it. The subtitle file however
becomes garbage. I tried burning it two times and the results were identical
(same md5sums for the 'garbage' files). I'm attaching the original file as
1.txt and the file copied from dvd after burning it as 2.txt. I also tried to
burn the text file alone to a DVD-RW and it burned fine. I'm also ataching the
k3b's log file.

I also noticed, that this bug also manifests itself in an iso image created
with k3b. So it's likely a mkisofs issue.

(the files are attached in the linked kde.org report)

So far I tried burning 4 different movies, each was just 1 or 2MB smaller than the disc capacity, along with subtitle files. Only one of those worked out fine.

Reproducible: Always




Portage 2.2.0_alpha3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-zen3+ x86_64)
=================================================================
System uname: Linux-2.6.35-zen3+-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Nov 2010 22:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde-sunset dupa
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.po.opole.pl http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.supp.name/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-sunset /usr/local/portage/moje"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb async audiofile automount bash-completion berkdb bfq bineditor branding bzip2 cairo cdda cddb cdio cdparanoia cdr chdir cli consolekit cracklib crypt css cuda cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix enca encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm geoip gif glitz gmedia gphoto2 gpm gtk hal hddtemp iconv id3 id3tag imagemagick inotify ipod jpeg kde kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libcaca libnotify libsamplerate lm_sensors lzma lzo mad midi mikmod mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg openal opencore-amr opengl openmp pam pango pch pcre pdf perl plasma png policykit portage ppds pppd python qt3 qt3support qt4 readline realmedia roe sasl scanner schroedinger sdl secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification suid svg swat symlink sysfs syslog tcpd theora threads tiff truetype udev unicode upnp usb vaapi vamp vcd vdpau vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Pielmeier gentoo-dev 2010-11-21 13:32:06 UTC
I guess you will have more luck on this if you report this issue to the cdrtools mailing list [1]. The author of cdrtools is also active on the gentoo-user mailing list [2].

[1] https://lists.berlios.de/mailman/listinfo/cdrecord-support
[2] http://www.gentoo.org/main/de/lists.xml
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-02-14 23:16:11 UTC
From upstream bug report:

I also noticed, that this bug also manifests itself in an iso image created
with k3b. So it's mkisofs issue.
Comment 3 Daniel Pielmeier gentoo-dev 2012-01-21 15:25:14 UTC
If this is a mkisofs bug you should try to reproduce this issue by using mkisofs only and report success or failure here. There is still a chance k3b is messing something up.
Comment 4 schily 2012-01-21 20:23:11 UTC
Your report is not repeatable as you did not send any related information that would allow to understand your problem. I would thus give this report the unconfirmed status with respect to cdrtools.

First a note: cdrtools-3.00 is a dead product. There will be no changes regardless of what is reported. If you detect something that does not look correct, you should first check the latest release. 

Also note: K3b calls mkisofs in really weird ways and it's debug output does not include all needed information to repeat a case..... so please use plain mkisofs command lines to create a test case. As structural problems are hard to repeat in general, you need to create a test case that is independent from e.g. file ordering in source directories (see readdir() and btree vs. create time ordering). Also try to make a test case as simple as possible.

To repeat a case, I need all files including content in case that the content of a file controls mkisofs (or at least all file sizes and file names).

Note that a year ago, someone reported a similar problem and even send all needed information. I could repeat the case and no problem was found - maybe because I fixed a bug with sorting and files > 4 GB in November 2010 already. Also note that it may be that some problems with files > 2 GB are really caused by bugs in the kernel file system implmentation. Linux e.g. is known to show strange timestamps if you use mkisofs -R -long-rr-time which is desired, as it permits to have a time stamp resolution finer than 1s.

Maybe you now see why it is a bad idea to use older versions..... 3.00 is from June 2010 this is 19 months ago and 74 file changes (just for mkisofs) in 28 commits have been applied since 3.00.
Comment 5 PM 2012-01-21 23:25:04 UTC
Hi Joerg, thanks for showing up!

As you can see I reported this bug over a year ago and didn't notice this issue later, so it may be already fixed. On the other hand I don't remember burning any movies later either...

I tried to reproduce this just now with 3.01_alpha06 and was unsuccessful. However I have another really weird problem with burning files over 4.4GiB in this release. Could you please take a look at https://bugs.gentoo.org/show_bug.cgi?id=343857 ?
Comment 6 schily 2012-01-22 13:36:09 UTC
I am not sure whether this is your intention, but your link is a self reference to this report
Comment 7 Daniel Pielmeier gentoo-dev 2012-01-22 16:28:18 UTC
(In reply to comment #6)
> I am not sure whether this is your intention, but your link is a self reference
> to this report

He most likely meant bug #394553.
Comment 8 PM 2012-01-22 18:57:11 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I am not sure whether this is your intention, but your link is a self reference
> > to this report
> 
> He most likely meant bug #394553.

Yes. Sorry.
Comment 9 PM 2012-01-22 19:07:27 UTC
In comment 5 I also meant files over 4 GiB, not 4.4 GiB. It was late...
Comment 10 Daniel Pielmeier gentoo-dev 2012-01-23 17:21:20 UTC
How do we proceed here? Is this the same issue as in bug #394553 and we can close it as duplicate? If it is a separate issue can you test if creating the iso and burning it without k3b works?
Comment 11 PM 2012-07-11 20:47:57 UTC
(In reply to comment #10)
> How do we proceed here? Is this the same issue as in bug #394553 and we can
> close it as duplicate? If it is a separate issue can you test if creating
> the iso and burning it without k3b works?

As I said in comment 5 I was no longer successful in reproducing this, so I'll just set it as resolved fixed.