[Bug 1257186] Re: memory leakage messages (no talloc stackframe)

Ian Abbott ian at abbott.org
Tue Jun 23 10:56:57 UTC 2015


gollum53 wrote in comment #96:
> This bug also affects vsftpd functionality. When SMB password synchronisation is selected in pam-auth-update, vsftpd can not authenticate users and segfaults with OOPS message.

I had a quick go at trying to reproduce that to see if I could install a
modified libpam-smbpass to make the problem go away, but I was unable to
reproduce it. That was probably related to these messages in my
/var/log/auth.log:

Jun 23 11:33:20 ubuntu vsftpd: PAM unable to dlopen(pam_smbpass.so): /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory
Jun 23 11:33:20 ubuntu vsftpd: PAM adding faulty module: pam_smbpass.so

as the PAM modules such as pam_smbpass.so are actually installed in
/lib/x86_64-linux-gnu/security/ on my 64-bit system, not /lib/security/.
This is a separate issue with vsftpd not worth dwelling on in this bug,
though I did try symlinking /lib/x86_64-linux-gnu/security to
/lib/security and got these errors instead:

Jun 23 11:51:40 ubuntu vsftpd: PAM unable to dlopen(pam_smbpass.so): libsamba-hostconfig.so.0: failed to map segment from shared object: Cannot allocate memory
Jun 23 11:51:40 ubuntu vsftpd: PAM adding faulty module: pam_smbpass.so

At that point I gave up trying to reproduce the problem with vsftpd!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1257186

Title:
  memory leakage messages (no talloc stackframe)

Status in One Hundred Papercuts:
  New
Status in Samba:
  Fix Released
Status in samba package in Ubuntu:
  Triaged
Status in samba source package in Trusty:
  Confirmed
Status in samba package in Debian:
  New

Bug description:
  This message appears a lot as of a recent update to samba (Trusty
  development branch):

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

  From this upstream bug report, I am lead to believe the issue is in
  libpam-smbpass, but I don't really know for sure.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728666

  I am filing this bug report mainly so that I can refer to it on the
  testing tracker as an issue, while still setting the test case to
  pass. Note that other than the error message itself, I am not aware of
  any bad side effect.

  doug at v32-serv04:~$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu Trusty Tahr (development branch)
  Release:        14.04
  Codename:       trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1257186/+subscriptions



More information about the foundations-bugs mailing list