classicupgrade fails with: PANIC: No talloc stackframe
abartlet at samba.org
Thu Jul 19 07:11:19 MDT 2012
On Thu, 2012-07-19 at 15:07 +0200, Gémes Géza wrote:
> Trying to write the patch I've mentioned on an other tread
> I've discovered, that now classicupgrade fails (even the one without my
> samba-tool domain classicupgrade --dbdir=./tmp/samba_tdb/
> --use-xattrs=yes --realm=KZSDABAS.HU ./tmp/smb.conf.regno talloc
> stackframe at ../source3/param/loadparm.c:6709, leaking memory
> PANIC: No talloc stackframe
> Running it under valgrind (valgrind --tool=memcheck --leak-check=yes -v
> python /usr/local/samba/bin/samba-tool domain classicupgrade
> --dbdir=./tmp/samba_tdb/ --use-xattrs=yes --realm=KZSDABAS.HU
> ./tmp/smb.conf.reg) gives the attached file.
> Sorry had to remove the attachement, it was to big (even for pastebin).
If you compile with --enable-debug rather than --enable-developer this
will go away, but you need to mail rusty (CC'ed) and me the gdb/valgrind
output and we can sort it out.
This is a new check, to catch abuse of talloc_tos().
The purpose of this check is to find these leaks, rather than leak
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical