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

2008-07-11 Thread Steve Langasek
On Thu, Jul 10, 2008 at 09:06:35AM +0800, Jim Barber wrote:
 This crash is still happening once or twice a day at least.
 Now at the following versions:

 ii  samba   2:3.0.30-3  a LanManager-like 
 file and printer server for Unix
 ii  samba-common2:3.0.30-3  Samba common 
 files used by both the server and the client
 ii  samba-dbg   2:3.0.30-3  Samba debugging 
 symbols
 ii  samba-doc   2:3.0.30-3  Samba 
 documentation
 ii  winbind 2:3.0.30-3  service to 
 resolve user and group information from Windows NT servers

You previously reported that you were using libldap-2.4-2 version 2.4.9-1.
There is a new upstream version of this package, 2.4.10-2, available in
unstable; could you please install this and see if it helps?

From the backtrace, this is most likely an openldap problem rather than a
samba problem.

Could you also send the contents of /var/log/samba/log.winbindd?  In
particular, anything immediately before a backtrace.  If you don't already
have debug level set in smb.conf, you'll want to set this to 4 and capture
another crash to get a log.winbindd with useful information.

Cheers,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
[EMAIL PROTECTED] [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-07-11 Thread Jim Barber

Steve Langasek wrote:


You previously reported that you were using libldap-2.4-2 version 2.4.9-1.
There is a new upstream version of this package, 2.4.10-2, available in
unstable; could you please install this and see if it helps?

From the backtrace, this is most likely an openldap problem rather than a
samba problem.

Could you also send the contents of /var/log/samba/log.winbindd?  In
particular, anything immediately before a backtrace.  If you don't already
have debug level set in smb.conf, you'll want to set this to 4 and capture
another crash to get a log.winbindd with useful information.

Cheers,


Thanks for that Steve.
I've now installed the newer ldap packages like so:

ii  ldap-utils  2.4.10-2OpenLDAP 
utilities
ii  libldap-2.4-2   2.4.10-2OpenLDAP 
libraries

I've also added the following to the /etc/samba/smb.conf file and restarted 
samba. Does it look right?

log level = winbind:4

However I don't think I thought to check the log.winbind before...
So here is what I've found with the default log level (which I guess is 0?)

winbindd: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)' 
failed.
[2008/07/04 13:35:06, 0] lib/fault.c:fault_report(41)
  ===
[2008/07/04 13:35:06, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 6 in pid 12996 (3.0.30)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/07/04 13:35:06, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/07/04 13:35:06, 0] lib/fault.c:fault_report(45)
  ===
[2008/07/04 13:35:06, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 12996): internal error
[2008/07/04 13:35:06, 0] lib/util.c:log_stack_trace(1737)
  BACKTRACE: 20 stack frames:
   #0 /usr/sbin/winbindd(log_stack_trace+0x2d) [0x811f03d]
   #1 /usr/sbin/winbindd(smb_panic+0x5d) [0x811f16d]
   #2 /usr/sbin/winbindd [0x8109d9a]
   #3 [0xb7eee420]
   #4 /lib/libc.so.6(abort+0x101) [0xb7c49541]
   #5 /lib/libc.so.6(__assert_fail+0xf0) [0xb7c41230]
   #6 /usr/lib/libldap_r-2.4.so.2(ldap_parse_result+0x48a) [0xb7d7120a]
   #7 /usr/sbin/winbindd [0x823001c]
   #8 /usr/sbin/winbindd(ads_do_search_all_args+0x6f) [0x823039f]
   #9 /usr/sbin/winbindd [0x82395d9]
   #10 /usr/sbin/winbindd(ads_do_search_retry+0x3a) [0x8239b4a]
   #11 /usr/sbin/winbindd(ads_search_retry+0x4d) [0x8239d1d]
   #12 /usr/sbin/winbindd [0x80b4ce5]
   #13 /usr/sbin/winbindd [0x809bc4e]
   #14 /usr/sbin/winbindd(winbindd_list_users+0xee) [0x808cf6e]
   #15 /usr/sbin/winbindd [0x808b630]
   #16 /usr/sbin/winbindd [0x808bc19]
   #17 /usr/sbin/winbindd(main+0x9a9) [0x808c6c9]
   #18 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7c34450]
   #19 /usr/sbin/winbindd [0x808a871]
[2008/07/04 13:35:06, 0] lib/util.c:smb_panic(1638)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 
12996]
Failed to read a valid object file image from memory.
Cannot access memory at address 0x32c4
[2008/07/04 13:35:07, 0] lib/util.c:smb_panic(1646)
  smb_panic(): action returned status 0
[2008/07/04 13:35:07, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/samba/cores/winbindd

Regards,

--
Jim Barber
DDI Health



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]