The Linux Page

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

As I upgrade to 14.04, I started seeing this error in my console:

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

Quite cryptic if you ask me, but the "leaking memory" did sound bad.

The error would in particular appear when I used sudo for whatever reason, for example:

sudo iptables -L -nvx

So... something to do with sudo?

I found the answer on the Ubuntu forum. The solution is to turn off a feature of samba. Run the samba setup tool in your console:

sudo pam-auth-update

That opens a curses window in your console. You should then see an option named:

SMB password synchronization

Make sure it is NOT selected.

Try a sudo command again, to just test you could do:

sudo whoami

The error should now be gone.

Obviously, this "fix" is just a workaround, hopefully the programmers will come up with a real fix to this problem.

Source: Ubuntu Forums