[Pkg-samba-maint] Bug#529980: /sbin/mount.cifs: Segmentation fault while running "mount.cifs" without arguments

Nelson A. de Oliveira naoliv at debian.org
Fri May 22 15:35:07 UTC 2009


Package: smbfs
Version: 2:3.3.4-2
Severity: normal
File: /sbin/mount.cifs

Hi!

I am getting a segmentation fault while running "mount.cifs" without any args.
gdb backtrace is:

==============================
(gdb) run
Starting program: /sbin/mount.cifs 

Program received signal SIGSEGV, Segmentation fault.
0x0804b181 in main (argc=Cannot access memory at address 0xa
) at client/mount.cifs.c:1084
1084	client/mount.cifs.c: No such file or directory.
	in client/mount.cifs.c
(gdb) thread apply all bt full

Thread 1 (process 25094):
#0  0x0804b181 in main (argc=Cannot access memory at address 0xa
) at client/mount.cifs.c:1084
        c = <value optimized out>
        flags = 64
        orgoptions = 0x0
        share_name = <value optimized out>
        ipaddr = <value optimized out>
        mountpoint = <value optimized out>
        options = <value optimized out>
        optionstail = <value optimized out>
        resolved_path = <value optimized out>
        temp = <value optimized out>
        dev_name = <value optimized out>
        rc = <value optimized out>
        nomtab = <value optimized out>
        optlen = <value optimized out>
        options_size = <value optimized out>
        current_len = <value optimized out>
        retry = <value optimized out>
        addrhead = <value optimized out>
        addr = <value optimized out>
        statbuf = {st_dev = 577741119501989488, __pad1 = 28660, __st_ino = 0, st_mode = 0, st_nlink = 3087858728, st_uid = 3087773696, st_gid = 1, st_rdev = 0, 
          __pad2 = 0, st_size = 0, st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = -1077053609, tv_nsec = -1208313058}, 
          st_ctim = {tv_sec = -1207587079, tv_nsec = 134541300}, st_ino = 577746101794068120}
        sysinfo = {sysname = "Linux", '\0' <repeats 59 times>, nodename = "orthrus", '\0' <repeats 57 times>, release = "2.6.29-naoliv1", '\0' <repeats 50 times>, 
          version = "#1 SMP PREEMPT Tue Mar 24 00:14:04 BRT 2009", '\0' <repeats 21 times>, machine = "i686", '\0' <repeats 60 times>, domainname = 
    "(none)", '\0' <repeats 58 times>}
        mountent = {mnt_fsname = 0x8 <Address 0x8 out of bounds>, mnt_dir = 0x88 <Address 0x88 out of bounds>, mnt_type = 0xb80d6ff4 "(Ï\001", mnt_opts = 
    0xbfcd54b4 "", mnt_freq = -1207111282, mnt_passno = 136}
        pmntfile = <value optimized out>
==============================

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smbfs depends on:
ii  libc6                    2.9-12          GNU C Library: Shared libraries
ii  libcap2                  1:2.16-5        support for getting/setting POSIX.
ii  libcomerr2               1.41.5-1        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta2-4 MIT Kerberos runtime libraries - k
ii  libk5crypto3             1.7dfsg~beta2-4 MIT Kerberos runtime libraries - C
ii  libkeyutils1             1.2-10          Linux Key Management Utilities (li
ii  libkrb5-3                1.7dfsg~beta2-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2            2.4.15-1.1      OpenLDAP libraries
ii  libpopt0                 1.14-4          lib for parsing cmdline parameters
ii  libtalloc1               1.3.0-1         hierarchical pool based memory all
ii  libwbclient0             2:3.3.4-2       Samba winbind client library
ii  netbase                  4.34            Basic TCP/IP networking system
ii  samba-common             2:3.3.4-2       common files used by both the Samb

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient                     2:3.3.4-2  command-line SMB/CIFS clients for 

-- no debconf information





More information about the Pkg-samba-maint mailing list