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

Jim Barber jim.barber at ddihealth.com
Tue Aug 5 01:44:07 UTC 2008


Last night I upgraded to the following packages:

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

Unrelated, but I figure I'll mention it.
The upgrade from 3.0.x to 3.2.x bit me.
We have a perl script that returns a list of members of a group as follows:

	my (undef, undef, $gid, $members) = getgrnam "$group";

For Samba 3.0.x $members contained a space separated list of names (eg "user1 user2 user3").
Now with Samba 3.2.x it contains the Windows domain name as well (eg "DOMAIN\user1 DOMAIN\user2 DOMAIN\user3").
It's fine, I just had to change the code to suit, but it caused some problems for a while.
Is that something that needs to be mentioned somewhere in the NEWS.Debian file or something like that?

Anyway. On to the problem at hand.
The panics are not fixed.
Here is the new panic dump from version 3.2.0 as supplied by the panic-action script:

	[Thread debugging using libthread_db enabled]
	[New Thread 0xb7adc6d0 (LWP 6827)]
	0xb7cd66be in waitpid () from /lib/libc.so.6
	#0  0xb7cd66be in waitpid () from /lib/libc.so.6
	#1  0xb7c7e02e in ?? () from /lib/libc.so.6
	#2  0x081540a9 in smb_panic ()
	#3  0x0813ebf3 in sig_fault ()
	#4  <signal handler called>
	#5  0xb7c70d96 in raise () from /lib/libc.so.6
	#6  0xb7c72541 in abort () from /lib/libc.so.6
	#7  0xb7c6a230 in __assert_fail () from /lib/libc.so.6
	#8  0xb7dab25a in ldap_parse_result () from /usr/lib/libldap_r-2.4.so.2
	#9  0x083adbe4 in ads_do_paged_search_args ()
	#10 0x083adf8c in ads_do_search_all_args ()
	#11 0x083b977e in ads_do_search_retry_internal ()
	#12 0x083ba359 in ads_do_search_retry ()
	#13 0x083aa031 in ads_USN ()
	#14 0x080c9bfc in sequence_number ()
	#15 0x080af45f in refresh_sequence_number ()
	#16 0x080af64b in wcache_fetch ()
	#17 0x080b1a6f in name_to_sid ()
	#18 0x080a7588 in winbindd_lookup_sid_by_name ()
	#19 0x080d3758 in winbindd_dual_lookupname ()
	#20 0x080d01ff in fork_domain_child ()
	#21 0x080d03cd in schedule_async_request ()
	#22 0x080d16b0 in async_request ()
	#23 0x080d184b in async_domain_request ()
	#24 0x080d3aed in do_async_domain ()
	#25 0x080d48b4 in winbindd_lookupname_async ()
	#26 0x080a2594 in winbindd_getpwnam ()
	#27 0x0809e809 in request_recv ()
	#28 0x0809e91b in request_main_recv ()
	#29 0x0809f1cb in rw_callback ()
	#30 0x080a0201 in main ()
	The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]

In the /var/log/samba/log.wb-PRY there is the following info:

	[2008/08/05 07:18:02,  4] winbindd/winbindd_dual.c:fork_domain_child(1173)
	  child daemon request 21
	[2008/08/05 07:18:02,  3] winbindd/winbindd_async.c:winbindd_dual_lookupname(442)
	  [ 6601]: lookupname PRY\root
	[2008/08/05 07:18:02,  3] winbindd/winbindd_ads.c:sequence_number(1116)
	  ads: fetch sequence_number for PRY
	winbindd: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)' failed.
	[2008/08/05 07:18:02,  0] lib/fault.c:fault_report(40)
	  ===============================================================
	[2008/08/05 07:18:02,  0] lib/fault.c:fault_report(41)
	  INTERNAL ERROR: Signal 6 in pid 6827 (3.2.0)
	  Please read the Trouble-Shooting section of the Samba3-HOWTO
	[2008/08/05 07:18:02,  0] lib/fault.c:fault_report(43)

	  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
	[2008/08/05 07:18:02,  0] lib/fault.c:fault_report(44)
	  ===============================================================
	[2008/08/05 07:18:02,  0] lib/util.c:smb_panic(1666)
	  PANIC (pid 6827): internal error
	[2008/08/05 07:18:02,  0] lib/util.c:log_stack_trace(1770)
	  BACKTRACE: 31 stack frames:
	   #0 /usr/sbin/winbindd(log_stack_trace+0x2d) [0x8153ed4]
	   #1 /usr/sbin/winbindd(smb_panic+0x80) [0x8154031]
	   #2 /usr/sbin/winbindd [0x813ebf3]
	   #3 [0xb7f32420]
	   #4 /lib/libc.so.6(abort+0x101) [0xb7c72541]
	   #5 /lib/libc.so.6(__assert_fail+0xf0) [0xb7c6a230]
	   #6 /usr/lib/libldap_r-2.4.so.2(ldap_parse_result+0x48a) [0xb7dab25a]
	   #7 /usr/sbin/winbindd [0x83adbe4]
	   #8 /usr/sbin/winbindd(ads_do_search_all_args+0x6d) [0x83adf8c]
	   #9 /usr/sbin/winbindd [0x83b977e]
	   #10 /usr/sbin/winbindd(ads_do_search_retry+0x3e) [0x83ba359]
	   #11 /usr/sbin/winbindd(ads_USN+0x69) [0x83aa031]
	   #12 /usr/sbin/winbindd [0x80c9bfc]
	   #13 /usr/sbin/winbindd [0x80af45f]
	   #14 /usr/sbin/winbindd [0x80af64b]
	   #15 /usr/sbin/winbindd [0x80b1a6f]
	   #16 /usr/sbin/winbindd(winbindd_lookup_sid_by_name+0x48) [0x80a7588]
	   #17 /usr/sbin/winbindd(winbindd_dual_lookupname+0x110) [0x80d3758]
	   #18 /usr/sbin/winbindd [0x80d01ff]
	   #19 /usr/sbin/winbindd [0x80d03cd]
	   #20 /usr/sbin/winbindd(async_request+0x184) [0x80d16b0]
	   #21 /usr/sbin/winbindd(async_domain_request+0x57) [0x80d184b]
	   #22 /usr/sbin/winbindd(do_async_domain+0x133) [0x80d3aed]
	   #23 /usr/sbin/winbindd(winbindd_lookupname_async+0x277) [0x80d48b4]
	   #24 /usr/sbin/winbindd(winbindd_getpwnam+0x31f) [0x80a2594]
	   #25 /usr/sbin/winbindd [0x809e809]
	   #26 /usr/sbin/winbindd [0x809e91b]
	   #27 /usr/sbin/winbindd [0x809f1cb]
	   #28 /usr/sbin/winbindd(main+0xf6a) [0x80a0201]
	   #29 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7c5d450]
	   #30 /usr/sbin/winbindd [0x809db51]
	[2008/08/05 07:18:02,  0] lib/util.c:smb_panic(1671)
	  smb_panic(): calling panic action [/usr/share/samba/panic-action 6827]
	Failed to read a valid object file image from memory.
	[2008/08/05 07:18:02,  0] lib/util.c:smb_panic(1679)
	  smb_panic(): action returned status 0
	[2008/08/05 07:18:02,  0] lib/fault.c:dump_core(201)
	  dumping core in /var/log/samba/cores/winbindd
	[2008/08/05 07:18:02,  3] winbindd/winbindd_ads.c:sequence_number(1116)
	  ads: fetch sequence_number for PRY
	[2008/08/05 07:18:02,  3] winbindd/winbindd_cm.c:connection_ok(1522)
	  connection_ok: Connection to zeus.pry.com.au for domain PRY has died or was never started (fd == -1)
	[2008/08/05 07:18:02,  1] libsmb/clientgen.c:cli_rpc_pipe_close(554)
	  cli_rpc_pipe_close: cli_close failed on pipe \lsarpc, fnum 0x17 to machine zeus.pry.com.au.  Error was SUCCESS - 0
	[2008/08/05 07:18:02,  1] libsmb/clientgen.c:cli_rpc_pipe_close(554)
	  cli_rpc_pipe_close: cli_close failed on pipe \NETLOGON, fnum 0x400a to machine zeus.pry.com.au.  Error was SUCCESS - 0

The /var/log/samba/log.winbindd file didn't have panic information.
But just in case it's useful, the entries for the same time in this file were:

	[2008/08/05 07:18:02,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
	  [28142]: request interface version
	[2008/08/05 07:18:02,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
	  [28142]: request location of privileged pipe
	[2008/08/05 07:18:02,  3] winbindd/winbindd_group.c:winbindd_getgroups(1383)
	  [28142]: getgroups root
	[2008/08/05 07:18:02,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
	  [28155]: request interface version
	[2008/08/05 07:18:02,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
	  [28155]: request location of privileged pipe
	[2008/08/05 07:18:02,  3] winbindd/winbindd_pam.c:winbindd_pam_auth(831)
	  [28155]: pam auth test

Regards,

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





More information about the Pkg-samba-maint mailing list