[Samba] Panic without coredump

Alex Masterov amasterov at gmail.com
Tue Jun 23 03:58:50 GMT 2009


Hi All!

I have samba 3.3.4 installed on FreeBSD 7.2.
Once a day, avg, smbd panics with this messages like following in log file:


[2009/06/22 16:40:50,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2009/06/22 16:40:50,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 14985 (3.3.4)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/06/22 16:40:50,  0] lib/fault.c:fault_report(43)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/06/22 16:40:50,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2009/06/22 16:40:50,  0] lib/util.c:smb_panic(1667)
  smb_panic: clobber_region() last called from [cli_connect(1527)]
[2009/06/22 16:40:50,  0] lib/util.c:smb_panic(1673)
  PANIC (pid 14985): internal error
[2009/06/22 16:40:50,  0] lib/util.c:log_stack_trace(1777)
  BACKTRACE: 22 stack frames:
   #0 0x2d1a1d <smb_panic+175> at /usr/local/sbin/smbd
   #1 0x2bae8d <dump_core_setup+1957> at /usr/local/sbin/smbd
   #2 0xbfbfffb4
   #3 0x2d61be <receive_smb_raw+55> at /usr/local/sbin/smbd
   #4 0xfe72e <cli_receive_smb+120> at /usr/local/sbin/smbd
   #5 0xffe06 <cli_negprot+500> at /usr/local/sbin/smbd
   #6 0x100674 <cli_start_connection+854> at /usr/local/sbin/smbd
   #7 0x10347e <cli_full_connection+135> at /usr/local/sbin/smbd
   #8 0x3245a1 <enumerate_domain_trusts+309> at /usr/local/sbin/smbd
   #9 0x32430d <update_trustdom_cache+237> at /usr/local/sbin/smbd
   #10 0x318b77 <is_trusted_domain+87> at /usr/local/sbin/smbd
   #11 0x31cfef <make_user_info_map+358> at /usr/local/sbin/smbd
   #12 0x31f4d8 <auth_ntlmssp_start+550> at /usr/local/sbin/smbd
   #13 0x127954 <ntlmssp_set_username+1675> at /usr/local/sbin/smbd
   #14 0x127194 <ntlmssp_update+659> at /usr/local/sbin/smbd
   #15 0x31f239 <auth_ntlmssp_update+60> at /usr/local/sbin/smbd
   #16 0xb291d <parse_spnego_mechanisms+2733> at /usr/local/sbin/smbd
   #17 0xb3e48 <reply_sesssetup_and_X+2723> at /usr/local/sbin/smbd
   #18 0xe90cf <remove_deferred_open_smb_message+2063> at
/usr/local/sbin/smbd
   #19 0xeb37e <smbd_process+2390> at /usr/local/sbin/smbd
   #20 0x4fcdb1 <main+8819> at /usr/local/sbin/smbd
   #21 0x68df3 <_start+131> at /usr/local/sbin/smbd
[2009/06/22 16:40:50,  0] lib/util.c:smb_panic(1678)
  smb_panic(): calling panic action [/bin/sleep 999999999]


I compiled samba with maximal debug information, i.e.
CPPFLAGS+=              -g
LDFLAGS+=               -g
Configure args:
--enable-debug \
--enable-socket-wrapper --enable-nss-wrapper \
--enable-developer --enable-krb5developer \
--enable-dmalloc --with-profiling-data

But I can not find core! Standard FreeBSD place for samba cores
/var/log/samba/cores/smbd is empty.
I've used /bin/find / -name \*.core but it has found nothing.

sysctl variables about core:
kern.corefile: %N.core
kern.nodump_coredump: 0
kern.coredump: 1
kern.sugid_coredump: 0
debug.elf32_legacy_coredump: 0

System version:
FreeBSD zpl.bit.ab.ru 7.2-20090423-SNAP FreeBSD 7.2-20090423-SNAP #0: Fri
Apr 24 09:53:12 OMSST 2009     alex at zpl.bit.ab.ru:/usr/obj/usr/src/sys/GENERIC
i386


Where can I find core file to use gdb as Samba Howto advices?

Thanks a lot!


More information about the samba mailing list