3.6.4 INTERNAL ERROR: Signal 11

Andrew Morgan morgan at orst.edu
Wed Apr 11 17:16:53 MDT 2012


I just upgraded to Samba v3.6.4 on Solaris 10 (previously running 
v3.5.12).  After the upgrade, I found that nothing was being logged to my 
syslog host anymore, so I started playing around with the "log level" 
setting.  I ended up discovering a crash bug that is triggered by setting 
"log level = 3" and attempting to connect to the share.

I have attached my redacted smb.conf, log file, and GDB backtrace.

I don't know if the problem is related, but I still would like to get 
syslog logging working too!  :)

Let me know if there is more information needed.

Thanks,
 	Andy
-------------- next part --------------
[global]
	netbios name = NOLIJ
	security = domain
	password server = *
	encrypt passwords = true
	guest account = nobody
	domain master = no
	local master = yes
	preferred master = yes
	os level = 65
	#log level = 1
	log level = 3
	syslog = 6
#	syslog only = yes

	name resolve order = wins host
	wide links = yes
	unix extensions = no
	wins server = <redacted>
	workgroup = CN
	server string = Nolij File Server
	allow trusted domains = no
	printing = bsd
	printcap name = /dev/null

[nolij]
	path = <redacted>
	comment = Nolij
	browseable = false
	read only = yes
	force create mode = 0660
	force directory mode = 2770


[data$]
	path = <redacted>
	comment = Nolij
	browseable = false
	read only = no
	force create mode = 0660
	force directory mode = 2770

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb-g-bt.txt
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120411/49e28230/attachment.txt>
-------------- next part --------------
[2012/04/11 15:57:27,  0] smbd/server.c:1051(main)
  smbd version 3.6.4 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/04/11 15:58:14.908960,  1] auth/auth.c:170(check_domain_match)
  check_domain_match: Attempt to connect as user morgan from domain ONID denied.
[2012/04/11 15:58:43.824244,  2] param/loadparm.c:8327(do_section)
  Processing section "[nolij]"
[2012/04/11 15:58:43.824964,  2] param/loadparm.c:8327(do_section)
  Processing section "[data$]"
[2012/04/11 15:58:43.825512,  3] param/loadparm.c:6630(lp_add_ipc)
  adding IPC service
[2012/04/11 15:58:43.826045,  2] lib/interface.c:341(add_interface)
  added interface bge0 ip=128.193.135.220 bcast=128.193.135.255 netmask=255.255.255.128
[2012/04/11 15:58:43.826319,  3] lib/access.c:338(allow_access)
  Allowed connection from 128.193.4.25 (128.193.4.25)
[2012/04/11 15:58:43.826473,  3] smbd/oplock.c:922(init_oplocks)
  init_oplocks: initializing messages.
[2012/04/11 15:58:43.826878,  3] smbd/process.c:1662(process_smb)
  Transaction 0 of length 72 (0 toread)
[2012/04/11 15:58:43.827075,  2] smbd/reply.c:553(reply_special)
  netbios connect: name1=NOLIJ          0x20 name2=BABEL          0x0
[2012/04/11 15:58:43.827228,  2] smbd/reply.c:573(reply_special)
  netbios connect: local=nolij remote=babel, name type = 0
[2012/04/11 15:58:43.828260,  3] smbd/process.c:1662(process_smb)
  Transaction 0 of length 137 (0 toread)
[2012/04/11 15:58:43.828423,  3] smbd/process.c:1467(switch_message)
  switch message SMBnegprot (pid 8362) conn 0x0
[2012/04/11 15:58:43.829587,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2012/04/11 15:58:43.829741,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN1.0]
[2012/04/11 15:58:43.829844,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2012/04/11 15:58:43.829942,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LM1.2X002]
[2012/04/11 15:58:43.830042,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN2.1]
[2012/04/11 15:58:43.830140,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [NT LM 0.12]
[2012/04/11 15:58:43.830638,  3] smbd/negprot.c:419(reply_nt1)
  using SPNEGO
[2012/04/11 15:58:43.830755,  3] smbd/negprot.c:704(reply_negprot)
  Selected protocol NT LM 0.12
[2012/04/11 15:58:43.831721,  3] smbd/process.c:1662(process_smb)
  Transaction 1 of length 270 (0 toread)
[2012/04/11 15:58:43.831837,  3] smbd/process.c:1467(switch_message)
  switch message SMBsesssetupX (pid 8362) conn 0x0
[2012/04/11 15:58:43.831982,  3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2012/04/11 15:58:43.832084,  2] smbd/sesssetup.c:1279(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/04/11 15:58:43.832184,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2012/04/11 15:58:43.832318,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[Windows Server 2003 3790 Service Pack 2] NativeLanMan=[] PrimaryDomain=[Windows Server 2003 5.2]
[2012/04/11 15:58:43.832635,  3] smbd/sesssetup.c:660(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2012/04/11 15:58:43.833594,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xa2088207
[2012/04/11 15:58:43.834584,  3] smbd/process.c:1662(process_smb)
  Transaction 2 of length 286 (0 toread)
[2012/04/11 15:58:43.834706,  3] smbd/process.c:1467(switch_message)
  switch message SMBsesssetupX (pid 8362) conn 0x0
[2012/04/11 15:58:43.834823,  3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2012/04/11 15:58:43.834921,  2] smbd/sesssetup.c:1279(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/04/11 15:58:43.835020,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2012/04/11 15:58:43.835127,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[Windows Server 2003 3790 Service Pack 2] NativeLanMan=[] PrimaryDomain=[Windows Server 2003 5.2]
[2012/04/11 15:58:43.835275,  3] ../libcli/auth/ntlmssp_server.c:348(ntlmssp_server_preauth)
  Got user=[] domain=[] workstation=[BABEL] len1=1 len2=0
[2012/04/11 15:58:43.835520,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[BABEL] with the new password interface
[2012/04/11 15:58:43.835631,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [NOLIJ]\[]@[BABEL]
[2012/04/11 15:58:43.835796,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2012/04/11 15:58:43.838903,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2012/04/11 15:58:43.839042,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xa2088205
[2012/04/11 15:58:43.839271,  3] smbd/password.c:297(register_existing_vuid)
[2012/04/11 15:58:43.839394,  0] lib/fault.c:47(fault_report)
  ===============================================================
[2012/04/11 15:58:43.840138,  0] lib/fault.c:48(fault_report)
  INTERNAL ERROR: Signal 11 in pid 8362 (3.6.4)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2012/04/11 15:58:43.840685,  0] lib/fault.c:50(fault_report)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2012/04/11 15:58:43.841257,  0] lib/fault.c:51(fault_report)
  ===============================================================
[2012/04/11 15:58:43.841603,  0] lib/util.c:1117(smb_panic)
  PANIC (pid 8362): internal error
[2012/04/11 15:58:43.842006,  0] lib/util.c:1271(log_stack_trace)
  unable to produce a stack trace on this platform
[2012/04/11 15:58:43.842375,  0] lib/fault.c:372(dump_core)
  dumping core in /private/samba/var/cores/smbd
[2012/04/11 15:58:45.646529,  1] smbd/server.c:300(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/04/11 15:58:45.654320,  2] param/loadparm.c:8327(do_section)
  Processing section "[nolij]"
[2012/04/11 15:58:45.655050,  2] param/loadparm.c:8327(do_section)
  Processing section "[data$]"
[2012/04/11 15:58:45.655613,  3] param/loadparm.c:6630(lp_add_ipc)
  adding IPC service
[2012/04/11 15:58:45.656670,  2] lib/interface.c:341(add_interface)
  added interface bge0 ip=128.193.135.220 bcast=128.193.135.255 netmask=255.255.255.128
[2012/04/11 15:58:45.657039,  3] lib/access.c:338(allow_access)
  Allowed connection from 128.193.4.25 (128.193.4.25)
[2012/04/11 15:58:45.657207,  3] smbd/oplock.c:922(init_oplocks)
  init_oplocks: initializing messages.
[2012/04/11 15:58:45.657694,  3] smbd/process.c:1662(process_smb)
  Transaction 0 of length 72 (0 toread)
[2012/04/11 15:58:45.657969,  2] smbd/reply.c:553(reply_special)
  netbios connect: name1=NOLIJ          0x20 name2=BABEL          0x0
[2012/04/11 15:58:45.658137,  2] smbd/reply.c:573(reply_special)
  netbios connect: local=nolij remote=babel, name type = 0
[2012/04/11 15:58:45.659588,  3] smbd/process.c:1662(process_smb)
  Transaction 0 of length 137 (0 toread)
[2012/04/11 15:58:45.659785,  3] smbd/process.c:1467(switch_message)
  switch message SMBnegprot (pid 8363) conn 0x0
[2012/04/11 15:58:45.661294,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2012/04/11 15:58:45.661474,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN1.0]
[2012/04/11 15:58:45.661588,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2012/04/11 15:58:45.661697,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LM1.2X002]
[2012/04/11 15:58:45.661807,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [LANMAN2.1]
[2012/04/11 15:58:45.661942,  3] smbd/negprot.c:598(reply_negprot)
  Requested protocol [NT LM 0.12]
[2012/04/11 15:58:45.662463,  3] smbd/negprot.c:419(reply_nt1)
  using SPNEGO
[2012/04/11 15:58:45.662593,  3] smbd/negprot.c:704(reply_negprot)
  Selected protocol NT LM 0.12
[2012/04/11 15:58:45.663565,  3] smbd/process.c:1662(process_smb)
  Transaction 1 of length 270 (0 toread)
[2012/04/11 15:58:45.663700,  3] smbd/process.c:1467(switch_message)
  switch message SMBsesssetupX (pid 8363) conn 0x0
[2012/04/11 15:58:45.663864,  3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2012/04/11 15:58:45.663976,  2] smbd/sesssetup.c:1279(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/04/11 15:58:45.664111,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2012/04/11 15:58:45.664254,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[Windows Server 2003 3790 Service Pack 2] NativeLanMan=[] PrimaryDomain=[Windows Server 2003 5.2]
[2012/04/11 15:58:45.664600,  3] smbd/sesssetup.c:660(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2012/04/11 15:58:45.665788,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xa2088207
[2012/04/11 15:58:45.667073,  3] smbd/process.c:1662(process_smb)
  Transaction 2 of length 358 (0 toread)
[2012/04/11 15:58:45.667258,  3] smbd/process.c:1467(switch_message)
  switch message SMBsesssetupX (pid 8363) conn 0x0
[2012/04/11 15:58:45.667389,  3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2012/04/11 15:58:45.667498,  2] smbd/sesssetup.c:1279(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2012/04/11 15:58:45.667606,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2012/04/11 15:58:45.667725,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[Windows Server 2003 3790 Service Pack 2] NativeLanMan=[] PrimaryDomain=[Windows Server 2003 5.2]
[2012/04/11 15:58:45.667892,  3] ../libcli/auth/ntlmssp_server.c:348(ntlmssp_server_preauth)
  Got user=[morgan] domain=[ONID] workstation=[BABEL] len1=24 len2=24
[2012/04/11 15:58:45.668440,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [ONID]\[morgan]@[BABEL] with the new password interface
[2012/04/11 15:58:45.668581,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ONID]\[morgan]@[BABEL]
[2012/04/11 15:58:45.668690,  1] auth/auth.c:170(check_domain_match)
  check_domain_match: Attempt to connect as user morgan from domain ONID denied.
[2012/04/11 15:58:45.668860,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2012/04/11 15:58:45.676053,  3] smbd/server_exit.c:180(exit_server_common)
  Server exit (failed to receive smb request)
[2012/04/11 15:59:05.646555,  1] smbd/server.c:272(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown
[2012/04/11 15:59:55.499826,  1] smbd/process.c:457(receive_smb_talloc)
  receive_smb_raw_talloc failed for client 10.128.151.34 read error = NT_STATUS_CONNECTION_RESET.


More information about the samba-technical mailing list