On Wed, Oct 02, 2013 at 06:20:34AM -0600, Wayne Andersen
wrote:> I have Samba 4.0.9 installed on three Centos servers.
>
> On my primary DC I am getting faults and core dumps.
>
> Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.083800, 0]
> ../lib/util/fault.c:72(fault_report)
> Oct 2 06:10:37 dc1 smbd[1195]:
> ==============================================================> Oct 2
06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084493, 0]
> ../lib/util/fault.c:73(fault_report)
> Oct 2 06:10:37 dc1 smbd[1195]: INTERNAL ERROR: Signal 11 in pid
> 1195 (4.0.9)
> Oct 2 06:10:37 dc1 smbd[1195]: Please read the Trouble-Shooting
> section of the Samba HOWTO
> Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084928, 0]
> ../lib/util/fault.c:75(fault_report)
> Oct 2 06:10:37 dc1 smbd[1195]:
> ==============================================================> Oct 2
06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.085268, 0]
> ../source3/lib/util.c:810(smb_panic_s3)
> Oct 2 06:10:37 dc1 smbd[1195]: PANIC (pid 1195): internal error
> Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.087348, 0]
> ../source3/lib/util.c:921(log_stack_trace)
> Oct 2 06:10:37 dc1 smbd[1195]: BACKTRACE: 32 stack frames:
> Oct 2 06:10:37 dc1 smbd[1195]: #0
> /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x2b)
> [0xdd2bc5]
> Oct 2 06:10:37 dc1 smbd[1195]: #1
> /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x7f) [0xdd2a23]
> Oct 2 06:10:37 dc1 smbd[1195]: #2
> /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x2a) [0xb2c76c]
> Oct 2 06:10:37 dc1 smbd[1195]: #3
> /usr/local/samba/lib/libsamba-util.so.0(+0x1745f) [0xb2c45f]
> Oct 2 06:10:37 dc1 smbd[1195]: #4
> /usr/local/samba/lib/libsamba-util.so.0(+0x17470) [0xb2c470]
> Oct 2 06:10:37 dc1 smbd[1195]: #5 [0x521400]
> Oct 2 06:10:37 dc1 smbd[1195]: #6
> /usr/local/samba/lib/private/libdfs_server_ad.so(+0x1d10) [0x3efd10]
> Oct 2 06:10:37 dc1 smbd[1195]: #7
> /usr/local/samba/lib/private/libdfs_server_ad.so(+0x2780) [0x3f0780]
> Oct 2 06:10:37 dc1 smbd[1195]: #8
/usr/local/samba/lib/private/libdfs_server_ad.so(dfs_server_ad_get_referrals+0x38d)
> [0x3f1409]
> Oct 2 06:10:37 dc1 smbd[1195]: #9
> /usr/local/samba/lib/private/libsmbd_base.so(+0x1a1e75) [0x8cfe75]
> Oct 2 06:10:37 dc1 smbd[1195]: #10
/usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_get_dfs_referrals+0x3d)
> [0x83a1f9]
> Oct 2 06:10:37 dc1 smbd[1195]: #11
> /usr/local/samba/lib/private/libsmbd_base.so(setup_dfs_referral+0xea)
> [0x8625ca]
> Oct 2 06:10:37 dc1 smbd[1195]: #12
> /usr/local/samba/lib/private/libsmbd_base.so(+0xed942) [0x81b942]
> Oct 2 06:10:37 dc1 smbd[1195]: #13
> /usr/local/samba/lib/private/libsmbd_base.so(+0xee3d1) [0x81c3d1]
> Oct 2 06:10:37 dc1 smbd[1195]: #14
> /usr/local/samba/lib/private/libsmbd_base.so(reply_trans2+0x8eb)
> [0x81cda0]
> Oct 2 06:10:37 dc1 smbd[1195]: #15
> /usr/local/samba/lib/private/libsmbd_base.so(+0x120055) [0x84e055]
> Oct 2 06:10:37 dc1 smbd[1195]: #16
> /usr/local/samba/lib/private/libsmbd_base.so(+0x1201e5) [0x84e1e5]
> Oct 2 06:10:37 dc1 smbd[1195]: #17
> /usr/local/samba/lib/private/libsmbd_base.so(+0x120c89) [0x84ec89]
> Oct 2 06:10:37 dc1 smbd[1195]: #18
> /usr/local/samba/lib/private/libsmbd_base.so(+0x121b99) [0x84fb99]
> Oct 2 06:10:37 dc1 smbd[1195]: #19
> /usr/local/samba/lib/private/libsmbd_base.so(+0x121c0f) [0x84fc0f]
> Oct 2 06:10:37 dc1 smbd[1195]: #20
> /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481)
> [0xdedef0]
> Oct 2 06:10:37 dc1 smbd[1195]: #21
> /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb]
> Oct 2 06:10:37 dc1 smbd[1195]: #22
> /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3)
> [0x3530c3]
> Oct 2 06:10:37 dc1 smbd[1195]: #23
> /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x120c)
> [0x852f84]
> Oct 2 06:10:37 dc1 smbd[1195]: #24
> /usr/local/samba/sbin/smbd(+0x8515) [0x496515]
> Oct 2 06:10:37 dc1 smbd[1195]: #25
> /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481)
> [0xdedef0]
> Oct 2 06:10:37 dc1 smbd[1195]: #26
> /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb]
> Oct 2 06:10:37 dc1 smbd[1195]: #27
> /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3)
> [0x3530c3]
> Oct 2 06:10:37 dc1 smbd[1195]: #28
> /usr/local/samba/sbin/smbd(+0x90dc) [0x4970dc]
> Oct 2 06:10:37 dc1 smbd[1195]: #29
> /usr/local/samba/sbin/smbd(main+0x1723) [0x498964]
> Oct 2 06:10:37 dc1 smbd[1195]: #30
> /lib/libc.so.6(__libc_start_main+0xe6) [0xb7130ce6]
> Oct 2 06:10:37 dc1 smbd[1195]: #31
> /usr/local/samba/sbin/smbd(+0x3eb1) [0x491eb1]
> Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.092166, 0]
> ../source3/lib/dumpcore.c:317(dump_core)
> Oct 2 06:10:37 dc1 smbd[1195]: dumping core in
> /usr/local/samba/var/cores/smbd
>
> These just started today.
> For the most part things seem to be working except for the fact that
> I tried adding a new user yesterday which is unable to log in.
Add the line:
panic action = /bin/sleep 99999
in the [global] section of your smb.conf,
and reproduce. Attach to the crashed smbd
with gdb and get a good backtrace with
symbols.
Cheers,
Jeremy.