That's all really! I now try to run smbtree, and it just prints "Aborted" at me. I found an entry in the RedHat bugzilla describing the problem, which seems to suggest that the new glibc is at fault. This seems reasonable to me, as I first noticed it after doing an emerge -uD world, which updated to glibc-2.3.4.20041006, from glibc-2.3.4.20040808-r1. (I don't think this is amd64 specific either, but I can't confirm it on anything else.) Reproducible: Always Steps to Reproduce: $ emerge info emerge info Portage 2.0.51_rc9 (gcc34-amd64-2004.1, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8.1-ck9 x86_64) ================================================================= System uname: 2.6.8.1-ck9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -frename-registers -ftracer -fweb" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -frename-registers -ftracer -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ \ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo ftp://ftp.solnet.ch/mirror/Gentoo \ ftp://ftp.gentoo.mesh-solutions.com/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 apm avi berkdb bitmap-fonts cdr crypt divx4linux dvd dvdr encode f77 flac foomaticdb gdbm gif gpm gtk gtk2 imlib \ jpeg libg++ libwww mikmod motif mpeg multilib mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline \ sdl slang spell ssl tcpd truetype xml2 xprint xv xvid zlib linguas_en_GB"
I just noticed the same on my machine with samba-3.0.7-r1 and glibc-2.3.4.20041006. It's a 32 bit Athlon so it's not amd64 specific. Also the "Aborted" seams to come from bash itself since zsh prints something differnt ("zsh: abort smbtree"). The program itself just exits with an error code of 137 (SIGABRT?). I also get a message in my syslog like the redhat-guy: Oct 26 11:17:52 com-13 smbtree: *** glibc detected *** free(): invalid pointer: 0x080eea00 ***
The samba team is aware of this, and it should be fixed in 3.0.8: https://bugzilla.samba.org/show_bug.cgi?id=1972
3.0.8 is out, can you try if it solves your problem ? i'm closing the bug now, as the issue should be resolved. Feel free to re-open it if you still encouter problems.
Yup, 3.0.8 fixed it for me.