[Samba] Memory leak in winbindd

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Thu Mar 14 17:52:24 GMT 2002


Sorry Jeremy - 
hold off and I'll try it again (reproduction) tonight with -g...
don


-----Original Message-----
From: jra at samba.org [mailto:jra at samba.org]
Sent: Thursday, March 14, 2002 12:47 PM
To: MCCALL,DON (HP-USA,ex1)
Cc: 'jra at samba.org'; Ken Cross; 'Noel Kelly'; samba at lists.samba.org
Subject: Re: [Samba] Memory leak in winbindd


On Thu, Mar 14, 2002 at 10:45:41AM -0500, MCCALL,DON (HP-USA,ex1) wrote:
> Hi Jeremy,
> I reproduced the winbindd core on HP-UX 11.0
> with the little script that Noel sent; There was 
> NO activity on this winbindd server except for 
> the script doing the wbinfo -t's; (only nmbd 
> and winbindd were running).  I started the script
> at about 17:21, and it dumped core at 22:00.
> The log.winbindd showed:
> 
> [2002/03/13 17:21:38, 1] lib/debug.c:(248)
>   INFO: Debug class all level = 1   (pid 14703 from pid 14703)
> [2002/03/13 17:21:38, 0] lib/util_unistr.c:(582)
>   load_unicode_map: filename
/usr/local/samba/lib/codepages/unicode_map.850
> does
>  not exist.
> [2002/03/13 17:21:38, 0] lib/util_unistr.c:(582)
>   load_unicode_map: filename
> /usr/local/samba/lib/codepages/unicode_map.ISO8859-
> 1 does not exist.
> [2002/03/13 17:21:38, 1] nsswitch/winbindd_util.c:(137)
>   getting trusted domain list
> [2002/03/13 17:21:39, 1] nsswitch/winbindd_util.c:(103)
>   adding domain WT1
> [2002/03/13 17:21:39, 1] nsswitch/winbindd_util.c:(103)
>   adding domain ATL-WTEC
> [2002/03/13 21:59:32, 0] lib/util.c:(1064)
>   PANIC: init_unistr2: malloc fail
> 
> And the backtrace showed:
> 
> 
> (gdb) bt
> #0  0xc01082b8 in kill () from /usr/lib/libc.2
> #1  0xc00a52e8 in raise () from /usr/lib/libc.2
> #2  0xc00e5c8c in abort_C () from /usr/lib/libc.2
> #3  0xc00e5ce4 in abort () from /usr/lib/libc.2
> #4  0x3e1e0 in smb_panic ()
> #5  0x65624 in init_unistr2 ()
> #6  0x75410 in init_q_req_chal ()
> #7  0xaddc0 in cli_net_req_chal ()
> #8  0xaea64 in cli_nt_setup_creds ()
> #9  0x10814 in cm_get_netlogon_cli ()
> #10 0xf0a0 in winbindd_check_machine_acct ()
> #11 0x71e4 in process_request ()
> #12 0x73f8 in process_packet ()
> #13 0x79f8 in process_loop ()
> #14 0x7f18 in main ()
> 
> Does this match the issue you just fixed, or is this different?
> 
> Hope this helps,

No it's different.... I don't suppose you could do the
same with *symbols* enabled :-) :-).

That might actually help in getting the line numbers
at fault.... Just a thought !

(Yes I know I'm being facecious here, but for heavens sake -
you know how to compile with -g I'm sure :-) :-) :-). Now
I've got to grub through to try and find a call sequence
that matches, whereas with one -g you could have pointed
me right at it !

Oh well, shouldn't complain about free help I suppose :-) :-).

Cheers,

	Jeremy.

(Who is grouchy 'cos he's still in bloody Roseville :-) :-).

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list