I have compiled Midnight Commander with Samba support on Intel Xeon (EMT64), and every time I try to connect to samba share (Esc 9 -> Left -> SMB Link..., enter //server/share, then login, password and Windows Domain), mc dies with Segmentation Fault. I've also seen this bug on Athlon AMD64 CPU. ctrl ~ # emerge --info Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 Intel(R) Xeon(TM) CPU 3.20GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 apache2 berkdb bzip2 cli crypt ctype dba dri expat fastbuild force-cgi-redirect fortran ftp gd idn java jpeg junit memlimit mysql ncurses pam pcre perl png posix python readline samba session simplexml soap sockets spl ssl tcpd tokenizer truetype udev userlocales xml xsl zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Reopen with some debugging info, please... http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap3
Created attachment 83005 [details] Just after segfault
Created attachment 83006 [details] Screenshot with gdb bt output
Created attachment 83007 [details] Strace log
Additional info attached
Please, try w/ 4.6.1 and report back. Thanks.
It works. I did not carry out extensive testing - just connected to 2-3 samba shares on both Athlon 64 machine and Intel Xeon with EMT64 support machine - and transfered a pair of files and directories from samba shares. No segfaults anymore. So we can consider the bug fixed. It'd also be nice if you incorporate a fix for this bug - http://bugs.gentoo.org/show_bug.cgi?id=127411 - into mc 4.6.1.