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

Steve Langasek vorlon at debian.org
Wed Aug 6 08:11:13 UTC 2008


tags 492856 -moreinfo
reassign 492856 glibc
thanks

On Wed, Jul 30, 2008 at 09:57:08AM +0200, CORNU Frédéric wrote:
> >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'

> Content of /etc/nsswitch.conf :
> ===============================

> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.

> passwd:         compat
> group:          compat
> shadow:         compat

<snip>

> Output of 'groups hcjava' :
> ===========================
> hcjava : hcjava

Ok; between this and the backtrace, I don't see any reason to think that
this is a Samba bug as opposed to a glibc bug.  Reassigning the report.

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

> This makes samba work flawlessly until machine is rebooted (wich occurs too
> often for me, thanx to buggy server-room air coolers)

Hrm, I would almost suspect that the samba failures were themselves a
hardware issue, except that there's no reason for the failure to be
repeatable at this particular point...

-- 
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