Comment 13 for bug 1818638

Revision history for this message
Frederic BUISSON (fbu31) wrote :

Hi,
A few minutes ago (10:15), I had a crash.
This is the trace :

The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 20037 (/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".
0x00007f5f9a37a07a in __GI___waitpid (pid=20038, stat_loc=stat_loc@entry=0x7fffd405d190, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#0 0x00007f5f9a37a07a in __GI___waitpid (pid=20038, stat_loc=stat_loc@entry=0x7fffd405d190, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f5f9a2f2fbb in do_system (line=line@entry=0x55ae6bc2b610 "/usr/share/samba/panic-action 20037") at ../sysdeps/posix/system.c:148
#2 0x00007f5f9a2f339a in __libc_system (line=line@entry=0x55ae6bc2b610 "/usr/share/samba/panic-action 20037") at ../sysdeps/posix/system.c:184
#3 0x00007f5f9cd9e8d1 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:802
#4 0x00007f5f9db11f1f in smb_panic (why=why@entry=0x7f5f9db55ab8 "internal error") at ../lib/util/fault.c:166
#5 0x00007f5f9db12136 in fault_report (sig=<optimized out>) at ../lib/util/fault.c:83
#6 sig_fault (sig=<optimized out>) at ../lib/util/fault.c:94
#7 <signal handler called>
#8 smbXsrv_session_create (conn=conn@entry=0x55ae6bc18c80, now=now@entry=131983244855041970, _session=_session@entry=0x7fffd405db40) at ../source3/smbd/smbXsrv_session.c:1158
#9 0x00007f5f9d6a3643 in reply_sesssetup_and_X (req=req@entry=0x55ae6bc29a00) at ../source3/smbd/sesssetup.c:953
#10 0x00007f5f9d6dfe67 in switch_message (type=<optimized out>, req=req@entry=0x55ae6bc29a00) at ../source3/smbd/process.c:1649
#11 0x00007f5f9d6e1bb3 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=76, inbuf=0x0, xconn=0x55ae6bc18c80) at ../source3/smbd/process.c:1685
#12 process_smb (xconn=xconn@entry=0x55ae6bc18c80, inbuf=<optimized out>, nread=76, unread_bytes=0, seqnum=0, encrypted=<optimized out>, deferred_pcd=0x0) at ../source3/smbd/process.c:1932
#13 0x00007f5f9d6e321c in smbd_server_connection_read_handler (xconn=0x55ae6bc18c80, fd=40) at ../source3/smbd/process.c:2531
#14 0x00007f5f9ba31917 in run_events_poll (ev=0x55ae6bc0c120, pollrtn=<optimized out>, pfds=0x55ae6bc20b00, num_pfds=4) at ../source3/lib/events.c:257
#15 0x00007f5f9ba31b77 in s3_event_loop_once (ev=0x55ae6bc0c120, location=<optimized out>) at ../source3/lib/events.c:326
#16 0x00007f5f9a67bd3d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#17 0x00007f5f9a67bedb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#18 0x00007f5f9d6e4578 in smbd_process (ev_ctx=0x55ae6bc0c120, msg_ctx=<optimized out>, sock_fd=40, interactive=<optimized out>) at ../source3/smbd/process.c:4032
#19 0x000055ae6b29ae12 in smbd_accept_connection (ev=0x55ae6bc0c120, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:646
#20 0x00007f5f9ba31917 in run_events_poll (ev=0x55ae6bc0c120, pollrtn=<optimized out>, pfds=0x55ae6bc20b00, num_pfds=6) at ../source3/lib/events.c:257
#21 0x00007f5f9ba31b77 in s3_event_loop_once (ev=0x55ae6bc0c120, location=<optimized out>) at ../source3/lib/events.c:326
#22 0x00007f5f9a67bd3d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#23 0x00007f5f9a67bedb in tevent_common_loop_wait () from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#24 0x000055ae6b299099 in smbd_parent_loop (parent=0x55ae6bc0e920, ev_ctx=0x55ae6bc0c120) at ../source3/smbd/server.c:1011
#25 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:1663 A debugging session is active.

 Inferior 1 [process 20037] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

It happened when a colleague has wanted to browse the samba directory from outlook to save a file.

You can find attached logfiles and cores.