Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 23:08:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205256] Segmentation fault with mount_smbfs
Message-ID:  <bug-205256-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205256

            Bug ID: 205256
           Summary: Segmentation fault with mount_smbfs
           Product: Base System
           Version: 9.3-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dohzono@gmail.com

After updating /usr/src, mount_smbfs corrupts.
Here is a log file.  
I have created /etc/src.conf contains "WITH_ICONV=yes", but has no effect.
The command "super" is just a setuided local program I have been using long
time.

[dohzono@abacusUSB ~]$ uname -a
FreeBSD abacusUSB 9.3-STABLE FreeBSD 9.3-STABLE #9: Sat Dec 12 06:10:42 JST
2015     dohzono@abacusUSB:/usr/obj/usr/src/sys/GENERIC  i386
[dohzono@abacusUSB ~]$ super mount_smbfs -E UTF-8:cp936 -N
//dohzono@orange/share /mnt/orange
Segmentation fault (core dumped)
[dohzono@abacusUSB ~]$ super gdb /usr/sbin/mount_smbfs mount_smbfs.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...

warning: exec file is newer than core file.
Core was generated by `mount_smbfs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsmb.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libsmb.so.4
Reading symbols from /lib/libkiconv.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libkiconv.so.4
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x2807572b in nls_setrecode () from /usr/lib/libsmb.so.4
#2  0xbfbfe854 in ?? ()
#3  0xbfbfede5 in ?? ()
#4  0x28077814 in ?? () from /usr/lib/libsmb.so.4
#5  0xbfbfeddf in ?? ()
#6  0xbfbfe864 in ?? ()
#7  0xbfbfe678 in ?? ()
#8  0x28070b6d in smb_ctx_setcharset () from /usr/lib/libsmb.so.4
#9  0x00000036 in ?? ()
#10 0x00000000 in ?? ()
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205256-8>