Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317709 - mount.cifs from net-fs/samba-3.5 segfaults over ssh tunnel
Summary: mount.cifs from net-fs/samba-3.5 segfaults over ssh tunnel
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 05:57 UTC by Kenneth Miller
Modified: 2011-06-29 17:55 UTC (History)
1 user (show)

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 Kenneth Miller 2010-04-29 05:57:24 UTC
Create a ssh tunnel to a samba server. When mounting through the tunnel using mount.cifs from net-fs/samba-3.5.0 or 3.5.2, mount fails with a segfault at 14 ip b77febc3 sp bfe805d0 error 4 in mount.cifs[b77fa000+8000]. This occurs on samba-3.5 but works with 3.4.6. I am using kernel 2.6.33-gentoo-r1, CIFS is built into the kernel 

Reproducible: Always




emerge info 

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Pentium-R-_III_Mobile_CPU_1000MHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Apr 2010 23:15:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb bzip2 cairo cdda cli cracklib crypt cups cxx dbus dri extras fortran fts3 gdbm gnome gnutls gpm gtk hbci iconv ipv6 java jpeg m4v modules mov mpeg mudflap ncurses nls nptl nptlonly ofx ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 readline reflection secure-delete server session spl sqlite ssl svg sysfs tcl tcpd tiff truetype unicode usb vorbis wmf x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-04 20:43:15 UTC
Maybe something similar to bug 283551?
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2011-04-06 21:08:58 UTC
(In reply to comment #0)
> Create a ssh tunnel to a samba server. When mounting through the tunnel using
> mount.cifs from net-fs/samba-3.5.0 or 3.5.2, mount fails with a segfault at 14
> ip b77febc3 sp bfe805d0 error 4 in mount.cifs[b77fa000+8000]. This occurs on
> samba-3.5 but works with 3.4.6. I am using kernel 2.6.33-gentoo-r1, CIFS is
> built into the kernel 
> 

If you still can reproduce this bug, please attach the full steps (commands, files you modified, etc)
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2011-06-29 17:55:12 UTC
> 
> If you still can reproduce this bug, please attach the full steps (commands,
> files you modified, etc)