Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12546 - mkisofs from cdrtools-2.0_pre3 segfaults without error
Summary: mkisofs from cdrtools-2.0_pre3 segfaults without error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-21 20:54 UTC by Alex Walker
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Alex Walker 2002-12-21 20:54:57 UTC
Trying to back up my FAT partition documents: 
$ mkisofs -R -J -o backup.iso /mnt/f/Documents\ and\ Settings/alex/My\ 
Documents/ 
Segmentation fault 
 
No warning, nothing. 
 
So I NFS mounted /mnt/f/ onto another computer at /home/alex/mnt/, which has 
mkisofs 1.10+alpha2.0pre3-1 (it's Debian unstable, hence the slightly odd 
versioning).  It reports itself the same though: 
this machine: 
$ mkisofs --version 
mkisofs 2.0 (i686-pc-linux-gnu) 
the other machine: 
$ mkisofs --version 
mkisofs 2.0 (i686-pc-linux-gnu) 
 
And I did: 
$ mkisofs -R -J -o backup.iso /home/alex/mnt/Documents\ and\ Settings/alex/My\ 
Documents/ 
and it worked fine (gave warnings about file renames, but that's to be expected). 
 
then wrote the CD and mounted, also no problems. 
 
Not sure if this is an issue with filesystem (it is FAT after all) or software. 
 
Here's some specs: 
this machine: 
# emerge info 
Portage 2.0.46-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine) 
USE="x86 oss 3dnow apm libg++ mikmod nls zlib gtkhtml gdbm berkdb slang aalib 
nas guile mysql X libwww ldap cdr scanner mmx sse nocardbus cups slp x dgs 
opengl xv kde qt qtmt arts gnome gtk gtk2 bonobo evo gtk-html motif tcltk imlib 
ncurses readline sdl svga lcms gif jpeg png tiff avi mpeg quicktime alsa esd dvd 
xmms oggvorbis flash encode pam ssl crypt imap maildir mbox tcpd mozilla spell 
truetype xml xml2 pdflib tetex java perl python samba smooth gpm" 
ARCH="x86" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays" 
ACCEPT_KEYWORDS="x86 ~x86" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/kde/3.1/share/config /usr/share/config 
/opt/quake3/cpma/server.cfg" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
MAKEOPTS="-j2" 
JDK_HOME="/opt/sun-jdk-1.4.1.01" 
JAVA_HOME="/opt/sun-jdk-1.4.1.01" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
 
the other system: 
Debian sid/unstable 
uname -a: Linux judges 2.5.52 #1 Tue Dec 17 00:20:12 GMT 2002 i686 unknown 
unknown GNU/Linux 
(it's a Duron 600) 
 
Any more info required, just let me know.
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-12-25 11:43:46 UTC
Cannot reproduce this.  Works fine with extactly the same command line (don't
have a Fat32 partition to test, though).  Can I suggest recompiling with -O
instead of -O3 (or at least -O2).  -O3 is often a sure way to shoot yourself in
the foot.
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2003-01-05 19:45:04 UTC
Alex, are you still there?

Can you please test mkisofs from cdftools-2.0 (final)?
What happens if you move the directory "Documents and Settings" to a partition
other than FAT and run the same command?
Comment 3 Alex Walker 2003-01-05 20:12:55 UTC
Most revealing question: 
>What happens if you move the directory "Documents and Settings" to a partition 
other than FAT and run the same command? 
 
$ cp -a /mnt/f/Documents\ and\ Settings/alex/My\ Documents/ . 
cp: cannot read symbolic link `/mnt/f/Documents and Settings/alex/My 
Documents/My Webs/Anser Web Page/_vti_cnf/Anser Web Page': Input/output error 
 
$ ls "/mnt/f/Documents and Settings/alex/My Documents/My Webs/Anser Web 
Page/_vti_cnf/Anser Web Page" 
Segmentation fault 
 
$ rm "/mnt/f/Documents and Settings/alex/My Documents/My Webs/Anser Web 
Page/_vti_cnf/Anser Web Page" 
Segmentation fault 
 
OK, looks like this could be a reason!  FAT problem it seems.  So closing as invalid, 
since it's not a cdrtools bug.