← Back to team overview

enterprise-support team mailing list archive

[Bug 1821935] [NEW] Samba panic or segfault

 

Public bug reported:

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/smbd/smbXsrv_session.c:1402(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0x9506dc8a) store failed - NT_STATUS_UNSUCCESSFUL
[2019/03/27 13:01:58.640062,  0] ../source3/smbd/smb2_sesssetup.c:471(smbd_smb2_auth_generic_return)
  smb2: Failed to update session for vuid=2500254858 - NT_STATUS_UNSUCCESSFUL
[2019/03/27 13:01:58.641668,  0] ../source3/smbd/smbXsrv_session.c:1676(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0x9506dc8a): failed to delete global key '9506DC8A': NT_STATUS_NOT_FOUND
[2019/03/27 13:01:58.641712,  0] ../source3/smbd/smbXsrv_session.c:1192(smbXsrv_session_destructor)
  smbXsrv_session_destructor: smbXsrv_session_logoff() failed: NT_STATUS_NOT_FOUND
[2019/03/27 13:01:58.652245,  0] ../source3/smbd/smbXsrv_session.c:1402(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0x0fecb083) store failed - NT_STATUS_UNSUCCESSFUL

The meassage I get is the following:
The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 22658 (/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".
0x00007f55fe00e687 in __GI___waitpid (pid=22659, stat_loc=stat_loc@entry=0x7ffdc4b521b8, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#0  0x00007f55fe00e687 in __GI___waitpid (pid=22659, stat_loc=stat_loc@entry=0x7ffdc4b521b8, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007f55fdf79067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007f55ff6f2b51 in smb_panic_s3 () from /usr/lib/x86_64-linux-gnu/libsmbconf.so.0
#3  0x00007f56017db8cf in smb_panic () from /usr/lib/x86_64-linux-gnu/libsamba-util.so.0
#4  0x000055e931013030 in smbd_accept_connection (ev=0x55e931409a50, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:1027
#5  0x00007f55fe324ed0 in ?? () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#6  0x00007f55fe323357 in ?? () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#7  0x00007f55fe31f7cd in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#8  0x00007f55fe31f9eb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#9  0x00007f55fe3232f7 in ?? () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#10 0x000055e93100e34a in smbd_parent_loop (parent=0x55e93141a2d0, ev_ctx=0x55e931409a50) at ../source3/smbd/server.c:1397
#11 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:2164 A debugging session is active.

        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

** 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/1821935

Title:
  Samba panic or segfault

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