[Bug 1016895] Re: smbd crashed with SIGABRT in dump_core()/setgroups being passed a -1 group is causing crashes.

Dave Walker davewalker at ubuntu.com
Thu Mar 7 22:28:54 UTC 2013


Hello Dheepan, or anyone else affected,

Accepted samba into precise-proposed. The package will build now and be
available at
http://launchpad.net/ubuntu/+source/samba/2:3.6.3-2ubuntu2.4 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: samba (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

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

Title:
  smbd crashed with SIGABRT in dump_core()/setgroups being passed a -1
  group is causing crashes.

Status in Samba:
  Fix Released
Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Precise:
  Fix Committed
Status in “samba” source package in Quantal:
  Fix Released

Bug description:
  [Impact]
  12.04.2 users cannot share dirs with Samba due to smbd crashing with "sys_setgroups failed".
  With 12.04.2 shipping linux-generic-lts-quantal, Samba is now completely unusable due to this bug, so an SRU is justified.
  The fix has been included upstream and is Fix-Released in the current development versions of Ubuntu (Quantal+).

  [Test Case]
  Right click on a folder, e.g. ~/share, from nautilus, and select to share it.
  If prompted to install Samba, do so, then logout/login and start over the test case.
  Then run `nautilus-connect-server`, select
  Type: Windows share,
  Server: localhost,
  Share: share,
  Domain name: WORKGROUP,
  User name: your unix username,
  Password: your unix password.

  and press the [Connect] button. It will fail, and /var/log/samba/log.hostname will contain an smbd crash with the following lines among others:
  [2013/02/18 12:51:16.500421,  0] lib/util.c:1117(smb_panic)
    PANIC (pid 7594): sys_setgroups failed

  [Regression Potential]
  Since the bug was fixed upstream, and since Samba is now completely unusable, regressions are not very likely.

  
  [Original bug description]
  Sorry for not being of any help here. I don't really know what happened. There was suddenly a report about a system problem. and apport started. just updated a few hours ago.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.10
  Package: samba 2:3.6.5-3ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-1.1-generic 3.5.0-rc3
  Uname: Linux 3.5.0-1-generic i686
  ApportVersion: 2.2.5-0ubuntu1
  Architecture: i386
  CrashCounter: 1
  Date: Sun Jun 24 19:37:16 2012
  ExecutablePath: /usr/sbin/smbd
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120509)
  NmbdLog:

  ProcCmdline: smbd -F
  ProcEnviron:
   PATH=(custom, no user)
   TERM=linux
  SambaServerRegression: Yes
  Signal: 6
  SmbConfIncluded: Yes
  SmbLog:

  SourcePackage: samba
  StacktraceTop:
   raise () from /lib/i386-linux-gnu/libc.so.6
   abort () from /lib/i386-linux-gnu/libc.so.6
   dump_core ()
   smb_panic ()
   ?? ()
  Title: smbd crashed with SIGABRT in raise()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  WindowsFailedConnect: Yes

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




More information about the foundations-bugs mailing list