Package: util-linux
Version: 2.19.1-4
Followup-For: Bug #632118

I created a gdb backtrace:

(gdb) run
Starting program: /home/scorpion/util-linux-2.19.1/mount/.libs/mount -a -t
nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2 -O no_netdev

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:32
32      ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
        in ../sysdeps/x86_64/multiarch/../strlen.S
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:32
#1  0x000000000040bfda in check_option (options=0x0, 
    test_opts=<value optimized out>) at sundries.c:183
#2  matching_opts (options=0x0, test_opts=<value optimized out>)
    at sundries.c:236
#3  0x00000000004074e4 in do_mount_all (
    types=0x7fffffffe8d9
"nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2", options=0x0,
test_opts=0x418710 "no_netdev") at mount.c:2138
#4  0x0000000000407d39 in main (argc=<value optimized out>, 
    argv=<value optimized out>) at mount.c:2623

I also found out what causes the segfault in my setup. It is this line in
fstab:

tmpfs           /tmp            tmpfs

Adding the missing fourth field ("defaults") fixes the segmentation fault.
IMHO mount should fail more gracefully in this case.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39.3-00001-g3e08e21 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii  debconf [debconf-2.0]   1.5.40           Debian configuration management sy
ii  dpkg                    1.16.0.3         Debian package management system
ii  initscripts             2.88dsf-13.11    scripts for initializing and shutt
ii  install-info            4.13a.dfsg.1-6   Manage installed documentation in 
ii  libblkid1               2.19.1-4         block device id library
ii  libc6                   2.13-11          Embedded GNU C Library: Shared lib
ii  libncurses5             5.9-1            shared libraries for terminal hand
ii  libselinux1             2.0.98-1.1       SELinux runtime shared libraries
ii  libslang2               2.2.4-2          S-Lang programming library - runti
ii  libuuid1                2.19.1-4         Universally Unique ID library
ii  lsb-base                3.2-27           Linux Standard Base 3.2 init scrip
ii  tzdata                  2011h-3          time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  console-tools              1:0.2.3dbs-70 Linux console and font utilities
ii  dosfstools                 3.0.9-1       utilities for making and checking 
pn  util-linux-locales         <none>        (no description available)

-- debconf information:
  util-linux/noauto-with-nonzero-passnum:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to