[Samba] Can one set limits on new core dump?

Doug VanLeuven roamdad at sonic.net
Wed May 31 08:56:18 GMT 2006


Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> James,
> 
> This was your change right ?
> 
> 
> Doug, I'm more interested in why winbindd is seg
> faulting in the SAMBA_3_0 tree.  Can you give me more
> details?
> 


Jerry, I was wrong before.  Please read.
Sometime in the last 8 months, idmap_ad doesn't
build by default anymore.  My memory being what it is,
I wouldn't swear it ever did, but I thought it used to.

samba Version 3.0.23pre2-SVN-build-15864
FC4 - Linux 2.6.16-1.2096_FC4smp
gcc-4.0.2-8.fc4

Configure.log
configure:48191: checking how to build idmap_ldap
configure:48219: result: static
configure:48228: checking how to build idmap_tdb
configure:48256: result: static
configure:48265: checking how to build idmap_rid
configure:48297: result: not
configure:48302: checking how to build idmap_ad
configure:48330: result: not

if I define it static, with "--with-static-modules=idmap_ad"
I get a build error:

sam/idmap.o(.text+0x2d7): In function `idmap_init':
idmap.c: undefined reference to `idmap_ad_init'
collect2: ld returned 1 exit status
make: *** [bin/net] Error 1
make: *** Waiting for unfinished jobs....
pam_smbpass/support.c: In function '_smb_verify_password':
pam_smbpass/support.c:401: warning: pointer targets in passing argument 2 of 'si
d_to_uid' differ in signedness
Linking bin/testparm
sam/idmap.o(.text+0x2d7): In function `idmap_init':
idmap.c: undefined reference to `idmap_ad_init'
collect2: ld returned 1 exit status
make: *** [bin/winbindd] Error 1

if I define it shared, with "--with-shared-modules=idmap_ad"
I get a clean build, but then I start core dumping again.

May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(41)
May 31 01:19:14 gate winbindd[5355]: 
===============================================================
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(42)
May 31 01:19:14 gate winbindd[5355]:   INTERNAL ERROR: Signal 6 in pid 5355 
(3.0.23pre2-SVN-build-15864)
May 31 01:19:14 gate winbindd[5355]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(44)
May 31 01:19:14 gate winbindd[5355]:
May 31 01:19:14 gate winbindd[5355]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(45)
May 31 01:19:14 gate winbindd[5355]: 
===============================================================
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/util.c:smb_panic(1592)
May 31 01:19:14 gate winbindd[5355]:   PANIC (pid 5355): internal error
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/util.c:log_stack_trace(1699)
May 31 01:19:14 gate winbindd[5355]:   BACKTRACE: 27 stack frames:
May 31 01:19:14 gate winbindd[5355]:    #0 /usr/local/samba3/sbin/winbindd(log_stack_trace+0x26) 
[0xdd5496]
May 31 01:19:14 gate winbindd[5355]:    #1 /usr/local/samba3/sbin/winbindd(smb_panic+0x5e) 
[0xdd535e]
May 31 01:19:14 gate winbindd[5355]:    #2 /usr/local/samba3/sbin/winbindd [0xdc3cac]
May 31 01:19:14 gate winbindd[5355]:    #3 /usr/local/samba3/sbin/winbindd [0xdc3cba]
May 31 01:19:14 gate winbindd[5355]:    #4 [0x2cf420]
May 31 01:19:14 gate winbindd[5355]:    #5 /lib/libc.so.6(abort+0xf8) [0x3b2678]
May 31 01:19:14 gate winbindd[5355]:    #6 /usr/local/samba3/sbin/winbindd [0xdda5cf]
May 31 01:19:14 gate winbindd[5355]:    #7 /usr/local/samba3/sbin/winbindd(talloc_free+0x2a) 
[0xddacc0]
May 31 01:19:14 gate winbindd[5355]:    #8 
/usr/local/samba3/sbin/winbindd(ads_check_posix_schema_mapping+0x711) [0xea8726]
May 31 01:19:14 gate winbindd[5355]:    #9 /usr/local/samba3/sbin/winbindd [0xd7fb76]
May 31 01:19:14 gate winbindd[5355]:    #10 /usr/local/samba3/sbin/winbindd [0xd823ae]
May 31 01:19:14 gate winbindd[5355]:    #11 /usr/local/samba3/sbin/winbindd [0xd6d43f]
May 31 01:19:14 gate winbindd[5355]:    #12 /usr/local/samba3/sbin/winbindd [0xd6d8e6]
May 31 01:19:14 gate winbindd[5355]:    #13 /usr/local/samba3/sbin/winbindd [0xd704ba]
May 31 01:19:14 gate winbindd[5355]:    #14 
/usr/local/samba3/sbin/winbindd(winbindd_dual_list_trusted_domains+0x98) [0xd78336]
May 31 01:19:14 gate winbindd[5355]:    #15 /usr/local/samba3/sbin/winbindd [0xd841c9]
May 31 01:19:14 gate winbindd[5355]:    #16 /usr/local/samba3/sbin/winbindd [0xd854c4]
May 31 01:19:14 gate winbindd[5355]:    #17 /usr/local/samba3/sbin/winbindd [0xd83e2c]
May 31 01:19:14 gate winbindd[5355]:    #18 /usr/local/samba3/sbin/winbindd(async_request+0x14e) 
[0xd83a96]
May 31 01:19:14 gate winbindd[5355]:    #19 
/usr/local/samba3/sbin/winbindd(init_child_connection+0x219) [0xd6a439]
May 31 01:19:14 gate winbindd[5355]:    #20 
/usr/local/samba3/sbin/winbindd(async_domain_request+0xf3) [0xd83f76]
May 31 01:19:14 gate winbindd[5355]:    #21 /usr/local/samba3/sbin/winbindd [0xd69ec3]
May 31 01:19:14 gate winbindd[5355]:    #22 
/usr/local/samba3/sbin/winbindd(rescan_trusted_domains+0x44) [0xd6a210]
May 31 01:19:14 gate winbindd[5355]:    #23 /usr/local/samba3/sbin/winbindd [0xd63be6]
May 31 01:19:14 gate winbindd[5355]:    #24 /usr/local/samba3/sbin/winbindd(main+0x654) [0xd6474b]
May 31 01:19:14 gate winbindd[5355]:    #25 /lib/libc.so.6(__libc_start_main+0xdf) [0x39dd7f]
May 31 01:19:14 gate winbindd[5355]:    #26 /usr/local/samba3/sbin/winbindd [0xd629ad]
May 31 01:19:14 gate winbindd[5355]: [2006/05/31 01:19:14, 0] lib/fault.c:dump_core(173)
May 31 01:19:14 gate winbindd[5355]:   dumping core in /usr/local/samba3/var/cores/winbindd
May 31 01:19:14 gate winbindd[5355]:

And immediately starts spawning more dumps:

May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(41)
May 31 01:19:14 gate winbindd[5441]: 
===============================================================
May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(42)
May 31 01:19:14 gate winbindd[5441]:   INTERNAL ERROR: Signal 6 in pid 5441 
(3.0.23pre2-SVN-build-15864)
May 31 01:19:14 gate winbindd[5441]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(44)
May 31 01:19:14 gate winbindd[5441]:
May 31 01:19:14 gate winbindd[5441]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/fault.c:fault_report(45)
May 31 01:19:14 gate winbindd[5441]: 
===============================================================
May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/util.c:smb_panic(1592)
May 31 01:19:14 gate winbindd[5441]:   PANIC (pid 5441): internal error
May 31 01:19:14 gate winbindd[5441]: [2006/05/31 01:19:14, 0] lib/util.c:log_stack_trace(1699)
May 31 01:19:15 gate winbindd[5441]:   BACKTRACE: 23 stack frames:
May 31 01:19:15 gate winbindd[5441]:    #0 /usr/local/samba3/sbin/winbindd(log_stack_trace+0x26) 
[0xdd5496]
May 31 01:19:15 gate winbindd[5441]:    #1 /usr/local/samba3/sbin/winbindd(smb_panic+0x5e) 
[0xdd535e]
May 31 01:19:15 gate winbindd[5441]:    #2 /usr/local/samba3/sbin/winbindd [0xdc3cac]
May 31 01:19:15 gate winbindd[5441]:    #3 /usr/local/samba3/sbin/winbindd [0xdc3cba]
May 31 01:19:15 gate winbindd[5441]:    #4 [0x2cf420]
May 31 01:19:15 gate winbindd[5441]:    #5 /lib/libc.so.6(abort+0xf8) [0x3b2678]
May 31 01:19:15 gate winbindd[5441]:    #6 /usr/local/samba3/sbin/winbindd [0xdda5cf]
May 31 01:19:15 gate winbindd[5441]:    #7 /usr/local/samba3/sbin/winbindd(talloc_free+0x2a) 
[0xddacc0]
May 31 01:19:15 gate winbindd[5441]:    #8 
/usr/local/samba3/sbin/winbindd(ads_check_posix_schema_mapping+0x711) [0xea8726]
May 31 01:19:15 gate winbindd[5441]:    #9 /usr/local/samba3/sbin/winbindd [0xd7fb76]
May 31 01:19:15 gate winbindd[5441]:    #10 /usr/local/samba3/sbin/winbindd [0xd823ae]
May 31 01:19:15 gate winbindd[5441]:    #11 /usr/local/samba3/sbin/winbindd [0xd6d43f]
May 31 01:19:15 gate winbindd[5441]:    #12 /usr/local/samba3/sbin/winbindd [0xd6d8e6]
May 31 01:19:15 gate winbindd[5441]:    #13 /usr/local/samba3/sbin/winbindd [0xd70835]
May 31 01:19:15 gate winbindd[5441]:    #14 /usr/local/samba3/sbin/winbindd [0xd84908]
May 31 01:19:15 gate winbindd[5441]:    #15 /usr/local/samba3/sbin/winbindd(run_events+0x12b) 
[0xdebbe5]
May 31 01:19:15 gate winbindd[5441]:    #16 /usr/local/samba3/sbin/winbindd [0xd8525d]
May 31 01:19:15 gate winbindd[5441]:    #17 /usr/local/samba3/sbin/winbindd [0xd83e2c]
May 31 01:19:15 gate winbindd[5441]:    #18 
/usr/local/samba3/sbin/winbindd(winbind_child_died+0xd2) [0xd843d9]
May 31 01:19:15 gate winbindd[5441]:    #19 /usr/local/samba3/sbin/winbindd [0xd640d7]
May 31 01:19:15 gate winbindd[5441]:    #20 /usr/local/samba3/sbin/winbindd(main+0x654) [0xd6474b]
May 31 01:19:15 gate winbindd[5441]:    #21 /lib/libc.so.6(__libc_start_main+0xdf) [0x39dd7f]
May 31 01:19:15 gate winbindd[5441]:    #22 /usr/local/samba3/sbin/winbindd [0xd629ad]
May 31 01:19:15 gate winbindd[5441]: [2006/05/31 01:19:15, 0] lib/fault.c:dump_core(173)
May 31 01:19:15 gate winbindd[5441]:   dumping core in /usr/local/samba3/var/cores/winbindd

Sorry for the delay.  I've been distracted and only just realized.
I saved these two core dumps.

Help.  My entire system (and the governmental ones I built and left behind) are dependent
on the SFU schema extension.

My systems still work for users that own the directory without the ad plugin.
Only group writable issues have surfaced.

Regards, Doug


More information about the samba mailing list