Samba panic or segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Incomplete
|
Medium
|
Andreas Hasenack |
Bug Description
Once a day, we are confronted to 'samba panic or segfault' when trying to access samba files. The client computer keeps asking for password but rejects every password. At that point, access to files becomes impossible on that PC and very slow on all others. The only solution is to restart the samba servers.
At that point, the logs are full of lines like (100 kb for each PC):
[2019/03/27 13:01:58.639514, 0] ../source3/
smbXsrv_
[2019/03/27 13:01:58.640062, 0] ../source3/
smb2: Failed to update session for vuid=2500254858 - NT_STATUS_
[2019/03/27 13:01:58.641668, 0] ../source3/
smbXsrv_
[2019/03/27 13:01:58.641712, 0] ../source3/
smbXsrv_
[2019/03/27 13:01:58.652245, 0] ../source3/
smbXsrv_
The meassage I get is the following:
The Samba 'panic action' script, /usr/share/
This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows the state of the program at the time the error occurred. The Samba log files may contain additional information about the problem.
If the problem persists, you are encouraged to first install the samba-dbg package, which contains the debugging symbols for the Samba binaries. Then submit the provided information as a bug report to Ubuntu by visiting this link:
https:/
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_
0x00007f55fe00e687 in __GI___waitpid (pid=22659, stat_loc=
#0 0x00007f55fe00e687 in __GI___waitpid (pid=22659, stat_loc=
#1 0x00007f55fdf79067 in do_system (line=<optimized out>) at ../sysdeps/
#2 0x00007f55ff6f2b51 in smb_panic_s3 () from /usr/lib/
#3 0x00007f56017db8cf in smb_panic () from /usr/lib/
#4 0x000055e931013030 in smbd_accept_
#5 0x00007f55fe324ed0 in ?? () from /usr/lib/
#6 0x00007f55fe323357 in ?? () from /usr/lib/
#7 0x00007f55fe31f7cd in _tevent_loop_once () from /usr/lib/
#8 0x00007f55fe31f9eb in tevent_
#9 0x00007f55fe3232f7 in ?? () from /usr/lib/
#10 0x000055e93100e34a in smbd_parent_loop (parent=
#11 main (argc=<optimized out>, argv=<optimized out>) at ../source3/
Inferior 1 [process 22658] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
Versions:
Ubuntu 18.04.2 LTS
Samba 4.7.6
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2011-07-27 (2801 days ago)
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
NmbdLog: messaging_reinit() failed: NT_STATUS_DISK_FULL
Package: samba 2:4.7.6+
PackageArchitec
ProcVersionSign
SambaServerRegr
SmbConfIncluded: Yes
Tags: bionic
TestparmExitCode: 0
Uname: Linux 4.15.0-46-generic x86_64
UpgradeStatus: Upgraded to bionic on 2018-08-22 (218 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WindowsFailedCo
_MarkForUpload: True
mtime.conffile.
mtime.conffile.
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
@Paride - I think Andreas said we should ask for the .crash file right?
@Marc - could you please attach the full crash file that is create din /var/crash for this?
That would allow to see more than just the backtrace.
To know exactly the versions you have installed atm I think you could also run
$ apport-collect 1821935
I'm not entirely sure if this also auto-attaches the crash.
If it doesn't you can do so manually after the other info is added.
Setting incomplete waiting for that extra data.