← Back to team overview

enterprise-support team mailing list archive

[Bug 1829843] [NEW] Panic in Samba when creating session

 

Public bug reported:

This happens on an up-to-date Ubunto 16.04 machine about once an hour.
It also happens on a system running Debian Jessie.

Another similar machines running the same version of Ubuntu has not
shown any problems.

Debug trace of the an incident.
===============================
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1f7b4ce07a in __GI___waitpid (pid=6274, stat_loc=stat_loc@entry=0x7fff9c81ced0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#0  0x00007f1f7b4ce07a in __GI___waitpid (pid=6274, stat_loc=stat_loc@entry=0x7fff9c81ced0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007f1f7b446fbb in do_system (line=line@entry=0x55986403a460 "/usr/share/samba/panic-action 6272") at ../sysdeps/posix/system.c:148
#2  0x00007f1f7b44739a in __libc_system (line=line@entry=0x55986403a460 "/usr/share/samba/panic-action 6272") at ../sysdeps/posix/system.c:184
#3  0x00007f1f7def28d1 in smb_panic_s3 (why=<optimised out>) at ../source3/lib/util.c:802
#4  0x00007f1f7ec65f1f in smb_panic (why=why@entry=0x7f1f7eca9ab8 "internal error") at ../lib/util/fault.c:166
#5  0x00007f1f7ec66136 in fault_report (sig=<optimised out>) at ../lib/util/fault.c:83
#6  sig_fault (sig=<optimised out>) at ../lib/util/fault.c:94
#7  <signal handler called>
#8  smbXsrv_session_create (conn=conn@entry=0x5598640237b0, now=now@entry=132029055841769190, _session=_session@entry=0x7fff9c81d740) at ../source3/smbd/smbXsrv_session.c:1158
#9  0x00007f1f7e7f7643 in reply_sesssetup_and_X (req=req@entry=0x559864038df0) at ../source3/smbd/sesssetup.c:953
#10 0x00007f1f7e833e67 in switch_message (type=<optimised out>, req=req@entry=0x559864038df0) at ../source3/smbd/process.c:1649
#11 0x00007f1f7e835bb3 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=76, inbuf=0x0, xconn=0x5598640237b0) at ../source3/smbd/process.c:1685
#12 process_smb (xconn=xconn@entry=0x5598640237b0, inbuf=<optimised out>, nread=76, unread_bytes=0, seqnum=0, encrypted=<optimised out>, deferred_pcd=0x0) at ../source3/smbd/process.c:1932
#13 0x00007f1f7e83721c in smbd_server_connection_read_handler (xconn=0x5598640237b0, fd=39) at ../source3/smbd/process.c:2531
#14 0x00007f1f7cb85917 in run_events_poll (ev=0x559864021020, pollrtn=<optimised out>, pfds=0x5598640363b0, num_pfds=4) at ../source3/lib/events.c:257
#15 0x00007f1f7cb85b77 in s3_event_loop_once (ev=0x559864021020, location=<optimised out>) at ../source3/lib/events.c:326
#16 0x00007f1f7b7cfd3d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#17 0x00007f1f7b7cfedb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#18 0x00007f1f7e838578 in smbd_process (ev_ctx=0x559864021020, msg_ctx=<optimised out>, sock_fd=39, interactive=<optimised out>) at ../source3/smbd/process.c:4032
#19 0x0000559863aeee12 in smbd_accept_connection (ev=0x559864021020, fde=<optimised out>, flags=<optimised out>, private_data=<optimised out>) at ../source3/smbd/server.c:646
#20 0x00007f1f7cb85917 in run_events_poll (ev=0x559864021020, pollrtn=<optimised out>, pfds=0x5598640363b0, num_pfds=6) at ../source3/lib/events.c:257
#21 0x00007f1f7cb85b77 in s3_event_loop_once (ev=0x559864021020, location=<optimised out>) at ../source3/lib/events.c:326
#22 0x00007f1f7b7cfd3d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#23 0x00007f1f7b7cfedb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#24 0x0000559863aed099 in smbd_parent_loop (parent=0x559864021330, ev_ctx=0x559864021020) at ../source3/smbd/server.c:1011
#25 main (argc=<optimised out>, argv=<optimised out>) at ../source3/smbd/server.c:1663
A debugging session is active.

        Inferior 1 [process 6272] will be detached.

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

Title:
  Panic in Samba when creating session

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