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

Terry Hardie terryh at orcas.net
Sun Apr 9 17:10:07 GMT 2006


On Sun, 9 Apr 2006, Terry Hardie wrote:

> On Sun, 9 Apr 2006, Terry Hardie wrote:
>
> > > 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.

And, I think this is the corresponding output from valgrind for the same
problem:

==4854== Invalid free() / delete / delete[]
==4854==    at 0x401E048: free (vg_replace_malloc.c:235)
==4854==    by 0x4121D8D: remove_error_table (in /lib/libcom_err.so.2.1)
==4854==    by 0x40948EE: (within /usr/lib/libkrb5.so.3.2)
==4854==    by 0x40944FA: (within /usr/lib/libkrb5.so.3.2)
==4854==    by 0x40F2B99: (within /usr/lib/libkrb5.so.3.2)
==4854==    by 0x400C2DD: (within /lib/ld-2.3.6.so)
==4854==    by 0x41D7493: exit (in /lib/tls/libc-2.3.6.so)
==4854==    by 0x8259BDA: exit_server (in /usr/sbin/smbd)
==4854==    by 0x825A1FE: main (in /usr/sbin/smbd)
==4854==  Address 0x40FCC38 is not stack'd, malloc'd or (recently) free'd

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