Samba 4.1.6 Panic with Trusty 14.04.3 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 14.04.3 LTS
Release: 14.04
The Samba 'panic action' script, /usr/share/
was called for PID 26738 (/usr/sbin/smbd).
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_
0x00007f9955f6eb4c in __libc_waitpid (pid=28019, stat_loc=
#0 0x00007f9955f6eb4c in __libc_waitpid (pid=28019, stat_loc=
#1 0x00007f9955ef42e2 in do_system (line=line@
#2 0x00007f9955ef464a in __libc_system (line=line@
#3 0x00007f9958fd8235 in system (line=line@
#4 0x00007f9957888061 in smb_panic_s3 (why=<optimized out>) at ../source3/
#5 0x00007f9958db0c6f in smb_panic (why=why@
#6 0x00007f9958979116 in change_
#7 0x00007f9958979203 in change_to_user (conn=conn@
#8 0x00007f99589a1cef in make_connection
#9 0x00007f99589a289c in make_connection
#10 0x00007f99589b9214 in smbd_smb2_
#11 smbd_smb2_
#12 smbd_smb2_
#13 0x00007f99589b2f8d in smbd_smb2_
#14 0x00007f99589b3c3b in smbd_smb2_
#15 0x00007f99589b48bc in smbd_smb2_
#16 0x00007f995789e09c in run_events_poll (ev=0x7f9959a14030, pollrtn=<optimized out>, pfds=0x7f9959a5
#17 0x00007f995789e2f0 in s3_event_loop_once (ev=0x7f9959a14030, location=<optimized out>) at ../source3/
#18 0x00007f99562765ed in _tevent_loop_once () from /usr/lib/
#19 0x00007f99589a055a in smbd_process (ev_ctx=
#20 0x00007f9959414fa4 in smbd_accept_
#21 0x00007f995789e09c in run_events_poll (ev=0x7f9959a14030, pollrtn=<optimized out>, pfds=0x7f9959a5
#22 0x00007f995789e2f0 in s3_event_loop_once (ev=0x7f9959a14030, location=<optimized out>) at ../source3/
#23 0x00007f99562765ed in _tevent_loop_once () from /usr/lib/
#24 0x00007f9959411b8b in smbd_parent_loop (parent=<optimized out>, ev_ctx=
#25 main (argc=<optimized out>, argv=<optimized out>) at ../source3/
A debugging session is active.
Inferior 1 [process 26738] will be detached.
testparm:
Load smb config files from /etc/samba/smb.conf
Processing section "[share1]"
Processing section "[share2]"
Processing section "[share3]"
Processing section "[share4]"
Processing section "[share5]"
Processing section "[share6]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
unix charset = ISO8859-1
workgroup = INTERNAL
server string = %h server (Samba, Ubuntu 64Bit)
passdb backend = ldapsam:
passwd program = /usr/local/
passwd chat = *New*password* %n\n *Retype*
username map = /etc/samba/smbusers
username level = 8
syslog = 0
log file = /var/log/
max log size = 100
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY
load printers = No
printcap name = /etc/printcap
logon script = logon.cmd
logon path = \\%L\Profiles\%U
os level = 16
local master = No
domain master = No
dns proxy = No
wins proxy = Yes
ldap admin dn = cn=admin,
ldap group suffix = ou=group
ldap idmap suffix = ou=people
ldap machine suffix = ou=machines
ldap suffix = dc=internal,dc=de
ldap user suffix = ou=people
panic action = /usr/share/
idmap config * : backend = tdb
invalid users = root, admin
hosts allow = 192.168.16., 127.
[share1]
path = /opt/data/share1
read only = No
create mask = 0770
directory mask = 0770
[share2]
path = /opt/data/share2
read only = No
create mask = 0775
directory mask = 0775
[share3]
path = /opt/data/share3
read only = No
create mask = 0775
directory mask = 0775
[share4]
path = /opt/data/share4
read only = No
create mask = 0775
directory mask = 0775
[share5]
path = /opt/data/share5
force group = internal
read only = No
create mask = 0775
directory mask = 0775
[share6]
path = /opt/data/share6
force group = internal
read only = No
create mask = 0755
-------
Samba using ldap authentication. The panic action accour randomized. I have two other servers with similar configuration but without any errors and with less load.
Started getting this as root email today... "Panic or segfault in Samba"
-> I have not changed my etc config in years, so I am not posting it.
-> Nothing really changed on my end and my samba shares are still accessible via Windows - so process seems to be working for the most part.
-> I didn't have samba-dbg installed.. Will install now and repost if I get segfault again.
Ubuntu 14.04.3 LTS dfsg-1ubuntu2. 14.04.9
Uname:
Linux {HOST REMOVED} 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Samba:
Version: 2:4.1.6+
" 64-linux- gnu/libthread_ db.so.1" . stat_loc@ entry=0x7ffd92f 26ef0, options= options@ entry=0) at ../sysdeps/ unix/sysv/ linux/waitpid. c:31 stat_loc@ entry=0x7ffd92f 26ef0, options= options@ entry=0) at ../sysdeps/ unix/sysv/ linux/waitpid. c:31 posix/system. c:148 x86_64- linux-gnu/ libsmbconf. so.0 x86_64- linux-gnu/ libsamba- util.so. 0 x86_64- linux-gnu/ samba/libsmbd_ base.so. 0 common_ loop_timer_ delay () from /usr/lib/ x86_64- linux-gnu/ libtevent. so.0 x86_64- linux-gnu/ libsmbconf. so.0 x86_64- linux-gnu/ libsmbconf. so.0 x86_64- linux-gnu/ libtevent. so.0 x86_64- linux-gnu/ samba/libsmbd_ base.so. 0 x86_64- linux-gnu/ libsmbconf. so.0 x86_64- linux-gnu/ libsmbconf. so.0 x86_64- linux-gnu/ libtevent. so.0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
0x00007f17c348cb4c in __libc_waitpid (pid=1829, stat_loc=
#0 0x00007f17c348cb4c in __libc_waitpid (pid=1829, stat_loc=
#1 0x00007f17c34122e2 in do_system (line=<optimized out>) at ../sysdeps/
#2 0x00007f17c4da6061 in smb_panic_s3 () from /usr/lib/
#3 0x00007f17c62cec6f in smb_panic () from /usr/lib/
#4 0x00007f17c5e9c25d in ?? () from /usr/lib/
#5 0x00007f17c379844f in tevent_
#6 0x00007f17c4dbc0f9 in run_events_poll () from /usr/lib/
#7 0x00007f17c4dbc254 in ?? () from /usr/lib/
#8 0x00007f17c37945ed in _tevent_loop_once () from /usr/lib/
#9 0x00007f17c5ebe55a in smbd_process () from /usr/lib/
#10 0x00007f17c6932fa4 in ?? ()
#11 0x00007f17c4dbc09c in run_events_poll () from /usr/lib/
#12 0x00007f17c4dbc2f0 in ?? () from /usr/lib/
#13 0x00007f17c37945ed in _tevent_loop_once () from /usr/lib/
#14 0x00007f17c692fb8b in main ()
A debugging session is active.
"