[Pkg-samba-maint] Bug#492856: Panic or segfault in Samba

Steve Langasek vorlon at debian.org
Tue Jul 29 21:25:03 UTC 2008


tags 492856 moreinfo unreproducible
thanks

On Tue, Jul 29, 2008 at 02:47:08PM +0200, CORNU Frédéric wrote:
> Using host libthread_db library "/lib/tls/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread -1213172032 (LWP 7391)]
> 0xb7c15eee in waitpid () from /lib/tls/libc.so.6
> #0  0xb7c15eee in waitpid () from /lib/tls/libc.so.6
> #1  0xb7bbd699 in strtold_l () from /lib/tls/libc.so.6
> #2  0xb7d4e56d in system () from /lib/tls/libpthread.so.0
> #3  0x0822c52a in smb_panic (why=0x8321a5f "internal error") at lib/util.c:1608
> #4  0x0821a69a in sig_fault (sig=11) at lib/fault.c:47
> #5  <signal handler called>
> #6  0xb7c85b0b in xdr_uint8_t () from /lib/tls/libc.so.6
> #7  0xb7c85453 in xdr_uint8_t () from /lib/tls/libc.so.6
> #8  0xb7c135a0 in fgetgrent () from /lib/tls/libc.so.6
> #9  0xb7c136dd in initgroups () from /lib/tls/libc.so.6
> #10 0x08246b3d in sys_getgrouplist (user=0x8418df0 "hcjava", gid=1001, 
>     groups=0xb7972008, grpcnt=0xbf84c684) at lib/system_smbd.c:72

This is a rather strange failure mode; it doesn't appear to be a bug in
Samba at all, this is glibc that's crashing.

Can you please send us:

- the contents of /etc/nsswitch.conf
- the output of 'groups hcjava'

> A fix for this is :
> ===================

> 1) stopping samba deamon : /etc/init.d/samba stop
> 2) killing all smbd processes with 'kill -9 ...'. 'killall smbd' doesn't will them.
> 3) starting samba deamon : /etc/init.d/samba start

Does this /fix/ the problem, or does it just reset it until the next time?

> # Change this to the workgroup/NT-domain name your Samba server will part of
>    workgroup = etudes.groupehelice.local

Not that this should be related, but this is not a proper 'workgroup' name -
this appears to be an AD realm name instead, so this is probably not working
as you intended.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list