enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #04511
[Bug 1488567] [NEW] Samba 4.1.6 Panic with Trusty 14.04.3 LTS
Public bug reported:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
The Samba 'panic action' script, /usr/share/samba/panic-action,
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://launchpad.net/ubuntu/+source/samba/+filebug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f9955f6eb4c in __libc_waitpid (pid=28019, stat_loc=stat_loc@entry=0x7ffe73814640, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#0 0x00007f9955f6eb4c in __libc_waitpid (pid=28019, stat_loc=stat_loc@entry=0x7ffe73814640, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007f9955ef42e2 in do_system (line=line@entry=0x7f9959aa0f20 "/usr/share/samba/panic-action 26738") at ../sysdeps/posix/system.c:148
#2 0x00007f9955ef464a in __libc_system (line=line@entry=0x7f9959aa0f20 "/usr/share/samba/panic-action 26738") at ../sysdeps/posix/system.c:184
#3 0x00007f9958fd8235 in system (line=line@entry=0x7f9959aa0f20 "/usr/share/samba/panic-action 26738") at pt-system.c:28
#4 0x00007f9957888061 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:798
#5 0x00007f9958db0c6f in smb_panic (why=why@entry=0x7f9958ab9f00 "assert failed: conn->force_group_gid != (gid_t)-1") at ../lib/util/fault.c:159
#6 0x00007f9958979116 in change_to_user_internal (conn=conn@entry=0x7f9959aa19c0, session_info=<optimized out>, vuid=831126676) at ../source3/smbd/uid.c:317
#7 0x00007f9958979203 in change_to_user (conn=conn@entry=0x7f9959aa19c0, vuid=<optimized out>) at ../source3/smbd/uid.c:396
#8 0x00007f99589a1cef in make_connection_snum (sconn=sconn@entry=0x7f9959a47370, conn=conn@entry=0x7f9959aa19c0, snum=snum@entry=5, pdev=pdev@entry=0x7f9958aabb2f "???", vuser=0x7f9959a6edb0, vuser=0x7f9959a6edb0) at ../source3/smbd/service.c:730
#9 0x00007f99589a289c in make_connection_smb2 (sconn=0x7f9959a47370, tcon=0x7f9959a610c0, snum=snum@entry=5, vuser=0x7f9959a6edb0, pdev=pdev@entry=0x7f9958aabb2f "???", pstatus=pstatus@entry=0x7ffe73814b50) at ../source3/smbd/service.c:974
#10 0x00007f99589b9214 in smbd_smb2_tree_connect (out_tree_id=0x7f9959acece8, out_maximal_access=0x7f9959acece4, out_capabilities=0x7f9959acece0, out_share_flags=0x7f9959acecdc, out_share_type=0x7f9959acecd8 "", in_path=<optimized out>, req=0x7f9959ace650) at ../source3/smbd/smb2_tcon.c:269
#11 smbd_smb2_tree_connect_send (in_path=<optimized out>, smb2req=0x7f9959ace650, ev=0x7f9959a14030, mem_ctx=0x7f9959ace650) at ../source3/smbd/smb2_tcon.c:372
#12 smbd_smb2_request_process_tcon (req=req@entry=0x7f9959ace650) at ../source3/smbd/smb2_tcon.c:92
#13 0x00007f99589b2f8d in smbd_smb2_request_dispatch (req=req@entry=0x7f9959ace650) at ../source3/smbd/smb2_server.c:2130
#14 0x00007f99589b3c3b in smbd_smb2_io_handler (sconn=0x7f9959a47370, fde_flags=<optimized out>) at ../source3/smbd/smb2_server.c:3253
#15 0x00007f99589b48bc in smbd_smb2_connection_handler (ev=0x6d73, fde=0x7ffe73814640, flags=0, private_data=0xffffffffffffffff) at ../source3/smbd/smb2_server.c:3291
#16 0x00007f995789e09c in run_events_poll (ev=0x7f9959a14030, pollrtn=<optimized out>, pfds=0x7f9959a57020, num_pfds=4) at ../source3/lib/events.c:257
#17 0x00007f995789e2f0 in s3_event_loop_once (ev=0x7f9959a14030, location=<optimized out>) at ../source3/lib/events.c:326
#18 0x00007f99562765ed in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#19 0x00007f99589a055a in smbd_process (ev_ctx=0x7f9959a14030, msg_ctx=<optimized out>, sock_fd=<optimized out>, interactive=<optimized out>) at ../source3/smbd/process.c:3626
#20 0x00007f9959414fa4 in smbd_accept_connection (ev=0x7f9959a14030, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:621
#21 0x00007f995789e09c in run_events_poll (ev=0x7f9959a14030, pollrtn=<optimized out>, pfds=0x7f9959a57020, num_pfds=5) at ../source3/lib/events.c:257
#22 0x00007f995789e2f0 in s3_event_loop_once (ev=0x7f9959a14030, location=<optimized out>) at ../source3/lib/events.c:326
#23 0x00007f99562765ed in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#24 0x00007f9959411b8b in smbd_parent_loop (parent=<optimized out>, ev_ctx=0x7f9959a14030) at ../source3/smbd/server.c:943
#25 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:1577
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:"ldap://ldap.internal.de"
passwd program = /usr/local/sbin/smbldap-passwd "%u"
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
username map = /etc/samba/smbusers
username level = 8
syslog = 0
log file = /var/log/samba/log.%m
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,dc=internal,dc=de
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/samba/panic-action %d
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.
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1488567
Title:
Samba 4.1.6 Panic with Trusty 14.04.3 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1488567/+subscriptions