Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75923 - sys-apps/util-linux-2.12i-r1::mount -a results in a segfault
Summary: sys-apps/util-linux-2.12i-r1::mount -a results in a segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 77689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-28 10:02 UTC by Lisa Seelye (RETIRED)
Modified: 2005-01-13 07:07 UTC (History)
2 users (show)

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


Attachments
strace of mount -a (strace.log,14.27 KB, text/plain)
2004-12-28 10:03 UTC, Lisa Seelye (RETIRED)
Details
my /etc/fstab (fstab,1.97 KB, text/plain)
2004-12-28 10:05 UTC, Lisa Seelye (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa Seelye (RETIRED) gentoo-dev 2004-12-28 10:02:10 UTC
This might be related to bug 74995, except I am not using labels in my fstab.

my fstab and strace of mount -a will be attached, backtrace is:

#0  0x4008b4e8 in strcmp () from /lib/tls/libc.so.6
#1  0x0804c49c in main ()


Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 26 2004, 11:36:30)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.9.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distcc distlocks nostrip sandbox sfperms userpriv"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://ftp.gentoo.or.kr/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage-rsync"
PORTDIR_OVERLAY="/home/gentoo/portage"
SYNC="rsync://www.thedoh.com/gentoo-portage"
USE="x86 3dnow X acl acpi aim alsa audiofile avi bcmath berkdb bidi bitmap-fonts bonobo bzlib calendar cdb cdr crypt cscope csope ctype curl dio divx4linux dvd dvdr dvdread encode esd ethereal evo exif fam flac flash foomaticdb fortran freetds freewnn ftp gb gd gdbm gif gnome gpm gstreamer gtk gtk2 icq imagemagick imlib innodb ipv6 jpeg ladcca lcms ldap lesstif libg++ libwww mad maildir mbox mcal mikmod mime ming mjpeg mmx mng motif moznocompose moznoirc moznomail moznoxfg mpeg mpi msn mysql ncurses nls nptl offensive oggvorbis opengl oscar oss pam pcre pdflib perl png pnp python qt quicktime readline samba sasl sdl simplexml slang snmp soap speex spell sse ssl svga tcltk tcpd tidy tiff truetype unicode usb xine xml xml2 xmlrpc xmms xsl xv xvid yahoo zlib"
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2004-12-28 10:03:08 UTC
Created attachment 47041 [details]
strace of mount -a
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2004-12-28 10:05:04 UTC
Created attachment 47042 [details]
my /etc/fstab

important passwords have been removed
Comment 3 Emil Beinroth 2004-12-28 11:41:25 UTC
You have a typo in your /etc/fstab:

//www.thedoh.com/htdocs	/mnt/htdocs	smbfs
//username=lisa,password=,auto,ro,iocharset=iso8859-15			0 1

should be

//www.thedoh.com/htdocs	/mnt/htdocs	smbfs username=lisa,password=,auto,ro,iocharset=iso8859-15			0 1
Comment 4 Lisa Seelye (RETIRED) gentoo-dev 2004-12-28 11:54:31 UTC
fark.

i blame vim for, uh, automatically commenting that line.  *grumble*
Comment 5 SpanKY gentoo-dev 2004-12-28 12:42:48 UTC
well, although you botched the fstab, mount shouldnt have barfed like that ;)
Comment 6 Emil Beinroth 2004-12-28 13:35:21 UTC
I attached a patch to http://bugs.gentoo.org/show_bug.cgi?id=74995 that should solve this problem.
Comment 7 SpanKY gentoo-dev 2005-01-09 19:34:47 UTC
fixed in 2.12p, thanks guys :)
Comment 8 SpanKY gentoo-dev 2005-01-13 07:07:58 UTC
*** Bug 77689 has been marked as a duplicate of this bug. ***