[Pkg-samba-maint] Bug#484235: Bug#484235: panic-action called for /usr/sbin/winbindd

Jim Barber jim.barber at ddihealth.com
Tue Jul 22 02:06:38 UTC 2008


I've now upgraded to the following related packages:

	ii  ldap-utils                  2.4.10-2+lenny1             OpenLDAP utilities
	ii  libldap-2.4-2               2.4.10-2+lenny1             OpenLDAP libraries
	ii  samba                       2:3.0.31-1                  a LanManager-like file and printer server for Unix
	ii  samba-common                2:3.0.31-1                  Samba common files used by both the server and the client
	ii  samba-dbg                   2:3.0.31-1                  Samba debugging symbols
	ii  samba-doc                   2:3.0.31-1                  Samba documentation
	ii  smbclient                   2:3.0.31-1                  a LanManager-like simple client for Unix
	ii  winbind                     2:3.0.31-1                  service to resolve user and group information from Windows NT servers

The crash still happens.
There were two crashes last night, one immediately after the other.
The first at 03:59 and the next at 04:00 (going by the time stamp of the panic emails that came in).
The dumps are as follows:

	[Thread debugging using libthread_db enabled]
	[New Thread 0xb7b896d0 (LWP 19400)]
	0xb7d836be in waitpid () from /lib/libc.so.6
	#0  0xb7d836be in waitpid () from /lib/libc.so.6
	#1  0xb7d2b02e in ?? () from /lib/libc.so.6
	#2  0x08120a6e in smb_panic (why=0x8273130 "internal error") at lib/util.c:1639
	#3  0x0810b328 in sig_fault (sig=6) at lib/fault.c:47
	#4  <signal handler called>
	#5  0xb7d1dd96 in raise () from /lib/libc.so.6
	#6  0xb7d1f541 in abort () from /lib/libc.so.6
	#7  0xb7d17230 in __assert_fail () from /lib/libc.so.6
	#8  0xb7e4725a in ldap_parse_result () from /usr/lib/libldap_r-2.4.so.2
	#9  0x08235ed7 in ads_do_paged_search_args (ads=0x83545c0, bind_path=0x837c068 "", scope=0, expr=0x8261ac5 "(objectclass=*)",
	    attrs=0xbf8830b0, args=0x0, res=0xbf8830b8, count=0xbf882fc4, cookie=0xbf882fc8) at libads/ldap.c:700
	#10 0x08236293 in ads_do_search_all_args (ads=0x83545c0, bind_path=0x837c068 "", scope=0, expr=0x8261ac5 "(objectclass=*)",
	    attrs=0xbf8830b0, args=0x0, res=0xbf8830b8) at libads/ldap.c:772
	#11 0x0823f7da in ads_do_search_retry_internal (ads=0x83545c0, bind_path=0x82a64f5 "", scope=0, expr=0x8261ac5 "(objectclass=*)",
	    attrs=0xbf8830b0, args=0x0, res=0xbf8830b8) at libads/ldap_utils.c:60
	#12 0x0823fd6e in ads_do_search_retry (ads=0x83545c0, bind_path=0x82a64f5 "", scope=0, expr=0x8261ac5 "(objectclass=*)",
	    attrs=0xbf8830b0, res=0xbf8830b8) at libads/ldap_utils.c:124
	#13 0x08232c5c in ads_USN (ads=0x83545c0, usn=0x8354d3c) at libads/ldap.c:2350
	#14 0x080b3429 in sequence_number (domain=0x83548b8, seq=0x8354d3c) at nsswitch/winbindd_ads.c:1021
	#15 0x0809883b in refresh_sequence_number (domain=0x83548b8, force=<value optimized out>) at nsswitch/winbindd_cache.c:484
	#16 0x08098c22 in wcache_fetch (cache=0x8354830, domain=0x83548b8, format=0x825ca73 "LOC_POL/%s") at nsswitch/winbindd_cache.c:606
	#17 0x080998f8 in lockout_policy (domain=0x83548b8, mem_ctx=0x82cc408, policy=0xbf883304) at nsswitch/winbindd_cache.c:2042
	#18 0x080b927d in account_lockout_policy_handler (ctx=0x83552a8, te=0x837b610, now=0xbf883364, private_data=0x8354d90)
	    at nsswitch/winbindd_dual.c:733
	#19 0x0813de7a in run_events (event_ctx=0x83552a8, selrtn=0, read_fds=0x0, write_fds=0x0) at lib/events.c:242
	#20 0x080b8490 in fork_domain_child (child=0x8354d90) at nsswitch/winbindd_dual.c:1029
	#21 0x080b902e in schedule_async_request (child=0x8354d90) at nsswitch/winbindd_dual.c:296
	#22 0x08095d8e in init_child_connection (domain=0x83548b8, continuation=0x80ba4b0 <domain_init_recv>, private_data=0x8357bb8)
	    at nsswitch/winbindd_util.c:374
	#23 0x080ba61b in async_domain_request (mem_ctx=0x83552e8, domain=0x83548b8, request=0x8356678, response=0x8356ed8,
	    continuation=0x80964e0 <trustdom_recv>, private_data_data=0x8355320) at nsswitch/winbindd_dual.c:358
	#24 0x080963c4 in rescan_trusted_domains () at nsswitch/winbindd_util.c:218
	#25 0x0808c602 in main (argc=) at nsswitch/winbindd.c:779
	The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

And:

	[Thread debugging using libthread_db enabled]
	[New Thread 0xb7b896d0 (LWP 19395)]
	0xb7d836be in waitpid () from /lib/libc.so.6
	#0  0xb7d836be in waitpid () from /lib/libc.so.6
	#1  0xb7d2b02e in ?? () from /lib/libc.so.6
	#2  0x08120a6e in smb_panic (why=0x8273130 "internal error") at lib/util.c:1639
	#3  0x0810b328 in sig_fault (sig=6) at lib/fault.c:47
	#4  <signal handler called>
	#5  0xb7d1dd96 in raise () from /lib/libc.so.6
	#6  0xb7d1f541 in abort () from /lib/libc.so.6
	#7  0xb7d17230 in __assert_fail () from /lib/libc.so.6
	#8  0xb7e4725a in ldap_parse_result () from /usr/lib/libldap_r-2.4.so.2
	#9  0x08235ed7 in ads_do_paged_search_args (ads=0x8353700, bind_path=0x82cc358 "dc=PRY,dc=COM,dc=AU", scope=2,
	    expr=0x826227d "(objectCategory=user)", attrs=0xbf884758, args=0x0, res=0xbf884778, count=0xbf8845c4, cookie=0xbf8845c8)
	    at libads/ldap.c:700
	#10 0x08236293 in ads_do_search_all_args (ads=0x8353700, bind_path=0x82cc358 "dc=PRY,dc=COM,dc=AU", scope=2,
	    expr=0x826227d "(objectCategory=user)", attrs=0xbf884758, args=0x0, res=0xbf884778) at libads/ldap.c:772
	#11 0x0823f7da in ads_do_search_retry_internal (ads=0x8353700, bind_path=0x8353f60 "dc=PRY,dc=COM,dc=AU", scope=2,
	    expr=0x826227d "(objectCategory=user)", attrs=0xbf884758, args=0x0, res=0xbf884778) at libads/ldap_utils.c:60
	#12 0x0823fd6e in ads_do_search_retry (ads=0x8353700, bind_path=0x8353f60 "dc=PRY,dc=COM,dc=AU", scope=2,
	    expr=0x826227d "(objectCategory=user)", attrs=0xbf884758, res=0xbf884778) at libads/ldap_utils.c:124
	#13 0x0823ff3d in ads_search_retry (ads=0x8353700, res=0xbf884778, expr=0x826227d "(objectCategory=user)", attrs=0xbf884758)
	    at libads/ldap_utils.c:139
	#14 0x080b5575 in query_user_list (domain=0x83548b8, mem_ctx=0x8379e48, num_entries=0xbf884a34, info=0xbf884a38)
	    at nsswitch/winbindd_ads.c:178
	#15 0x0809be26 in query_user_list (domain=0x83548b8, mem_ctx=0x8379e48, num_entries=0xbf884a34, info=0xbf884a38)
	    at nsswitch/winbindd_cache.c:1140
	#16 0x0808d073 in winbindd_list_users (state=0x83b7a68) at nsswitch/winbindd_user.c:777
	#17 0x0808b735 in request_recv (private_data=0x83b7a68, success=1) at nsswitch/winbindd.c:322
	#18 0x0808be10 in rw_callback (event=0x83b7a74, flags=1) at nsswitch/winbindd.c:405
	#19 0x0808c83f in main (argc=) at nsswitch/winbindd.c:861
	The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

The /var/log/samba/log.wb-PRY (PRY is the domain name) log file seems to have details about the first crash dump:

	[2008/07/22 03:59:31, 3] nsswitch/winbindd_ads.c:sequence_number(1010)
	  ads: fetch sequence_number for PRY
	winbindd: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)' failed.
	[2008/07/22 03:59:31, 0] lib/fault.c:fault_report(41)
	  ===============================================================
	[2008/07/22 03:59:31, 0] lib/fault.c:fault_report(42)
	  INTERNAL ERROR: Signal 6 in pid 19400 (3.0.31)
	  Please read the Trouble-Shooting section of the Samba3-HOWTO
	[2008/07/22 03:59:31, 0] lib/fault.c:fault_report(44)

	  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
	[2008/07/22 03:59:31, 0] lib/fault.c:fault_report(45)
	  ===============================================================
	[2008/07/22 03:59:31, 0] lib/util.c:smb_panic(1633)
	  PANIC (pid 19400): internal error
	[2008/07/22 03:59:31, 0] lib/util.c:log_stack_trace(1737)
	  BACKTRACE: 26 stack frames:
	   #0 /usr/sbin/winbindd(log_stack_trace+0x2d) [0x81208dd]
	   #1 /usr/sbin/winbindd(smb_panic+0x5d) [0x8120a0d]
	   #2 /usr/sbin/winbindd [0x810b328]
	   #3 [0xb7fcd420]
	   #4 /lib/libc.so.6(abort+0x101) [0xb7d1f541]
	   #5 /lib/libc.so.6(__assert_fail+0xf0) [0xb7d17230]
	   #6 /usr/lib/libldap_r-2.4.so.2(ldap_parse_result+0x48a) [0xb7e4725a]
	   #7 /usr/sbin/winbindd [0x8235ed7]
	   #8 /usr/sbin/winbindd(ads_do_search_all_args+0x73) [0x8236293]
	   #9 /usr/sbin/winbindd [0x823f7da]
	   #10 /usr/sbin/winbindd(ads_do_search_retry+0x3e) [0x823fd6e]
	   #11 /usr/sbin/winbindd(ads_USN+0x6c) [0x8232c5c]
	   #12 /usr/sbin/winbindd [0x80b3429]
	   #13 /usr/sbin/winbindd [0x809883b]
	   #14 /usr/sbin/winbindd [0x8098c22]
	   #15 /usr/sbin/winbindd [0x80998f8]
	   #16 /usr/sbin/winbindd [0x80b927d]
	   #17 /usr/sbin/winbindd(run_events+0x6a) [0x813de7a]
	   #18 /usr/sbin/winbindd [0x80b8490]
	   #19 /usr/sbin/winbindd [0x80b902e]
	   #20 /usr/sbin/winbindd(init_child_connection+0x18e) [0x8095d8e]
	   #21 /usr/sbin/winbindd(async_domain_request+0x7b) [0x80ba61b]
	   #22 /usr/sbin/winbindd(rescan_trusted_domains+0x104) [0x80963c4]
	   #23 /usr/sbin/winbindd(main+0x792) [0x808c602]
	   #24 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7d0a450]
	   #25 /usr/sbin/winbindd [0x808a8e1]
	[2008/07/22 03:59:31, 0] lib/util.c:smb_panic(1638)
	  smb_panic(): calling panic action [/usr/share/samba/panic-action 19400]
	Failed to read a valid object file image from memory.
	Cannot access memory at address 0x4bc8
	[2008/07/22 03:59:32, 0] lib/util.c:smb_panic(1646)
	  smb_panic(): action returned status 0
	[2008/07/22 03:59:33, 0] lib/fault.c:dump_core(181)
	  dumping core in /var/log/samba/cores/winbindd

The /var/log/samba/log.winbindd file seems to have details about the sencond crash:

	[2008/07/22 04:00:06, 3] nsswitch/winbindd_misc.c:winbindd_interface_version(491)
	  [26721]: request interface version
	[2008/07/22 04:00:06, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(524)
	  [26721]: request location of privileged pipe
	[2008/07/22 04:00:06, 3] nsswitch/winbindd_user.c:winbindd_list_users(754)
	  [26721]: list users
	[2008/07/22 04:00:06, 3] nsswitch/winbindd_ads.c:query_user_list(169)
	  ads: query_user_list
	winbindd: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)' failed.
	[2008/07/22 04:00:06, 0] lib/fault.c:fault_report(41)
	  ===============================================================
	[2008/07/22 04:00:06, 0] lib/fault.c:fault_report(42)
	  INTERNAL ERROR: Signal 6 in pid 19395 (3.0.31)
	  Please read the Trouble-Shooting section of the Samba3-HOWTO
	[2008/07/22 04:00:06, 0] lib/fault.c:fault_report(44)

	  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
	[2008/07/22 04:00:06, 0] lib/fault.c:fault_report(45)
	  ===============================================================
	[2008/07/22 04:00:06, 0] lib/util.c:smb_panic(1633)
	  PANIC (pid 19395): internal error
	[2008/07/22 04:00:06, 0] lib/util.c:log_stack_trace(1737)
	  BACKTRACE: 20 stack frames:
	   #0 /usr/sbin/winbindd(log_stack_trace+0x2d) [0x81208dd]
	   #1 /usr/sbin/winbindd(smb_panic+0x5d) [0x8120a0d]
	   #2 /usr/sbin/winbindd [0x810b328]
	   #3 [0xb7fcd420]
	   #4 /lib/libc.so.6(abort+0x101) [0xb7d1f541]
	   #5 /lib/libc.so.6(__assert_fail+0xf0) [0xb7d17230]
	   #6 /usr/lib/libldap_r-2.4.so.2(ldap_parse_result+0x48a) [0xb7e4725a]
	   #7 /usr/sbin/winbindd [0x8235ed7]
	   #8 /usr/sbin/winbindd(ads_do_search_all_args+0x73) [0x8236293]
	   #9 /usr/sbin/winbindd [0x823f7da]
	   #10 /usr/sbin/winbindd(ads_do_search_retry+0x3e) [0x823fd6e]
	   #11 /usr/sbin/winbindd(ads_search_retry+0x4d) [0x823ff3d]
	   #12 /usr/sbin/winbindd [0x80b5575]
	   #13 /usr/sbin/winbindd [0x809be26]
	   #14 /usr/sbin/winbindd(winbindd_list_users+0xf3) [0x808d073]
	   #15 /usr/sbin/winbindd [0x808b735]
	   #16 /usr/sbin/winbindd [0x808be10]
	   #17 /usr/sbin/winbindd(main+0x9cf) [0x808c83f]
	   #18 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7d0a450]
	   #19 /usr/sbin/winbindd [0x808a8e1]
	[2008/07/22 04:00:06, 0] lib/util.c:smb_panic(1638)
	  smb_panic(): calling panic action [/usr/share/samba/panic-action 19395]
	Failed to read a valid object file image from memory.
	Cannot access memory at address 0x4bc3
	[2008/07/22 04:00:07, 0] lib/util.c:smb_panic(1646)
	  smb_panic(): action returned status 0
	[2008/07/22 04:00:07, 0] lib/fault.c:dump_core(181)
	  dumping core in /var/log/samba/cores/winbindd

There are no other clues in any other logs as far as I can tell.

Regards,

----------
Jim Barber
DDI Health








More information about the Pkg-samba-maint mailing list