[Samba] sigbus fault?
Jeremy Allison
jra at samba.org
Sun May 28 01:59:36 GMT 2006
On Sun, May 28, 2006 at 11:36:51AM +1000, Edward Irvine at home wrote:
> And the same sort of thing in gdb:
>
> (gdb) run
> Starting program: /opt/Samba/samba-3.0.22-with-ADS/sbin/smbd
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xfedc7d80 in _free_unlocked () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xfedc7d80 in _free_unlocked () from /usr/lib/libc.so.1
> #1 0xfedc7d38 in free () from /usr/lib/libc.so.1
> #2 0xff32d848 in ldap_free_urldesc (ludp=0x30dfc0) at url.c:1481
> #3 0xfebe6ed0 in __s_api_addRefInfo () from /usr/lib/libsldap.so.1
> #4 0xfebea200 in proc_search_references () from /usr/lib/libsldap.so.1
> #5 0xfebeac94 in search_state_machine () from /usr/lib/libsldap.so.1
> #6 0xfebeb4bc in __ns_ldap_list () from /usr/lib/libsldap.so.1
> #7 0xfec2ad10 in _nss_ldap_nocb_lookup () from /usr/lib/nss_ldap.so.1
> #8 0xfec24868 in getbymember () from /usr/lib/nss_ldap.so.1
> #9 0xfedce8f0 in nss_search () from /usr/lib/libc.so.1
> #10 0xfee18d30 in _getgroupsbymember () from /usr/lib/libc.so.1
> #11 0xfedc3264 in initgroups () from /usr/lib/libc.so.1
> #12 0x001ab280 in getgrouplist_internals ()
> #13 0x001ab528 in sys_getgrouplist ()
> #14 0x001ab580 in getgroups_user ()
> #15 0x001ab6cc in pdb_default_enum_group_memberships ()
> #16 0x0018f22c in context_enum_group_memberships ()
> #17 0x0019136c in pdb_enum_group_memberships ()
> #18 0x00202d90 in get_user_groups ()
> #19 0x0020317c in add_user_groups ()
> #20 0x002034b8 in make_server_info_sam ()
> #21 0x0020387c in make_new_server_info_guest ()
> #22 0x00203a30 in init_guest_info ()
> #23 0x0024e0b0 in main ()
That's a generic NSS using LDAP bug - not even a Samba
problem here. If you notice we're calling into NSS and
it crashes under the NSS code inside the libc boundary.
I'd report a bug with Sun.
Jeremy.
More information about the samba
mailing list