[Samba] Run away samba, and free() errors

Terry Hardie terryh at orcas.net
Sun Apr 9 16:37:53 GMT 2006


On Fri, 7 Apr 2006, Jeremy Allison wrote:

> On Thu, Apr 06, 2006 at 11:23:32PM -0700, Terry Hardie wrote:
> > On Thu, 6 Apr 2006, Jeremy Allison wrote:
> >
> > > On Thu, Apr 06, 2006 at 09:00:49PM -0700, Terry Hardie wrote:
> > > > On Thu, 6 Apr 2006, Jeremy Allison wrote:
> > > > >
> > > > > What OS are you running Samba on ? The directory code is very
> > > > > different between 3.0.14a and 3.0.22, if you're getting an identical
> > > > > bug it may be a glibc or related library platform problem.
> > > >
> > > > Linux kernel 2.6.12.3 SMP. What version of glibc should I try?
> > >
> > > I meant more what distro, and what nss libraries are
> > > you using with it ? I know there have been some
> > > issues with nss_ldap in the past.
> >
> > Oh :) I'm running Debian. nss libs:
> >
> > libc6: /lib/libnss_nis-2.3.6.so
> > libc6: /lib/libnss_files-2.3.6.so
> > libc6: /lib/libnss_compat-2.3.6.so
> > libc6: /lib/libnss_nisplus-2.3.6.so
>
> Ok, seems ok as far as I know. If this is reproducible
> for you you might want to try setting MALLOC_CHECK_=2
> before running smbd, or if you can reproduce it with
> one client use valgrind.

This is what I get:

/etc/samba/gdbcommands:1: Error in sourced command file:
Previous frame inner to this frame (corrupt stack?)
[2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1493)
  smb_panic(): action returned status 0
[2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1495)
  PANIC: internal error
[2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1503)
  BACKTRACE: 17 stack frames:
   #0 smbd(smb_panic2+0x111) [0x81e3b31]
   #1 smbd(smb_panic+0x1a) [0x81e3a1a]
   #2 smbd [0x81d0e58]
   #3 [0xffffe420]
   #4 /lib/tls/libc.so.6(abort+0xeb) [0xb7d4506b]
   #5 /lib/tls/libc.so.6 [0xb7d81185]
   #6 /lib/tls/libc.so.6(__libc_free+0x35) [0xb7d80fc5]
   #7 /lib/libcom_err.so.2(remove_error_table+0x5a) [0xb7ed9d8e]
   #8 /usr/lib/libkrb5.so.3 [0xb7f0f8ef]
   #9 /usr/lib/libkrb5.so.3 [0xb7f0f4fb]
   #10 /usr/lib/libkrb5.so.3 [0xb7f6db9a]
   #11 /lib/ld-linux.so.2 [0xb7fea2de]
   #12 /lib/tls/libc.so.6(exit+0xc4) [0xb7d46494]
   #13 smbd(exit_server+0x16b) [0x8259bdb]
   #14 smbd(main+0x51f) [0x825a1ff]
   #15 /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7d2eeb0]
   #16 smbd [0x8079db1]

---
Terry Hardie					terry at net.com
SHOUTip System Architect & Principal Engineer	ICQ#: 977679
net.com, 6900 Paseo Padre Parkway
Fremont, CA 94555, USA				V: +1-510-574-2366


More information about the samba mailing list