Re: nss_ldap segmentation fault with RC1

From: Emanuel Strobl <Emanuel.strobl_at_gmx.net>
Date: Mon, 17 Oct 2005 11:34:35 +0200
Am Montag, 17. Oktober 2005 11:15 CEST schrieb Brian Candler:
> On Mon, Oct 17, 2005 at 09:55:10AM +0200, Emanuel Strobl wrote:
> > Attached is one core dump, I don't know what i should do with it ;)
>
> The _last_ thing to do with a core dump is send it to a mailing list.
> It's completely useless to us, and is absolutely huge. A total waste of
> bandwidth for everyone on the list.
>
> Howver on your machine you can do:
>
> # gdb -c whatever.core /path/to/bin/whatever
>
> and then
>
>   bt
>
> to get a backtrace. *That* you can post to a mailing list. You may then

Thanks, I canceled the post and here's the usefull part:

id:
#0  0x2819c976 in ber_sockbuf_ctrl () from /usr/local/lib/liblber-2.2.so.7
#1  0x2816d1bb in try_read1msg () from /usr/local/lib/libldap-2.2.so.7
#2  0x2816dfec in ldap_result () from /usr/local/lib/libldap-2.2.so.7
#3  0x2816f7c2 in ldap_search_st () from /usr/local/lib/libldap-2.2.so.7
#4  0x28151b4c in _nss_ldap_init () from /usr/local/lib/nss_ldap.so.1
#5  0x28151a54 in _nss_ldap_init () from /usr/local/lib/nss_ldap.so.1
#6  0x28151c2b in _nss_ldap_ent_context_release () 
from /usr/local/lib/nss_ldap.so.1
#7  0x2815745c in _nss_ldap_db_close () from /usr/local/lib/nss_ldap.so.1
#8  0x28153b18 in _nss_ldap_proxy_bind () from /usr/local/lib/nss_ldap.so.1
#9  0x2815401d in _nss_ldap_test_config_flag () 
from /usr/local/lib/nss_ldap.so.1
#10 0x281522ff in _nss_ldap_read () from /usr/local/lib/nss_ldap.so.1
#11 0x2815243a in _nss_ldap_first_entry () 
from /usr/local/lib/nss_ldap.so.1
#12 0x281549f6 in _nss_ldap_init_filters () 
from /usr/local/lib/nss_ldap.so.1
#13 0x280a374f in __nss_compat_getgrent_r () from /lib/libc.so.6
#14 0x28109ac6 in nsdispatch () from /lib/libc.so.6
#15 0x280e77a6 in getgrent_r () from /lib/libc.so.6
#16 0x280e7a1e in getgrgid_r () from /lib/libc.so.6
#17 0x280e78d8 in getgrgid_r () from /lib/libc.so.6
#18 0x280b00a1 in getgrouplist () from /lib/libc.so.6
#19 0x08048e04 in ?? ()
#20 0x0804c002 in ?? ()
#21 0x0000271c in ?? ()
#22 0xbfbfeb70 in ?? ()
#23 0xbfbfeb6c in ?? ()
#24 0x00000678 in ?? ()
#25 0x281374e4 in ?? () from /lib/libc.so.6
#26 0xbfbfebb8 in ?? ()
#27 0x00000011 in ?? ()
#28 0x0000271c in ?? ()
#29 0x0000271c in ?? ()
#30 0x0804c000 in ?? ()
#31 0x00000400 in ?? ()
#32 0xbfbfeba8 in ?? ()
#33 0x2806f100 in ?? ()
#34 0xbfbfed73 in ?? ()
#35 0x280e3eb6 in getpwent_r () from /lib/libc.so.6
#36 0x08049393 in ?? ()
#37 0x2813e0c0 in __des_crypt_LOCAL () from /lib/libc.so.6
#38 0x00000001 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x281281b4 in exit () from /lib/libc.so.6
#42 0x08048a62 in ?? ()
#43 0x00000001 in ?? ()
#44 0xbfbfec84 in ?? ()
#45 0xbfbfec8c in ?? ()
#46 0x00000010 in ?? ()
#47 0x080494c0 in ?? ()
#48 0xbfbfec60 in ?? ()
#49 0xbfbfec64 in ?? ()
#50 0x00000000 in ?? ()
#51 0x2804f288 in elf_hash () from /libexec/ld-elf.so.1
#52 0x00000002 in ?? ()


Here from cron:
#0  0x281ae976 in ber_sockbuf_ctrl () from /usr/local/lib/liblber-2.2.so.7
#1  0x2817f1bb in try_read1msg () from /usr/local/lib/libldap-2.2.so.7
#2  0x2817ffec in ldap_result () from /usr/local/lib/libldap-2.2.so.7
#3  0x281817c2 in ldap_search_st () from /usr/local/lib/libldap-2.2.so.7
#4  0x28162e38 in _nss_ldap_ent_context_init () 
from /usr/local/lib/nss_ldap.so.1
#5  0x28162d40 in _nss_ldap_ent_context_init_locked () 
from /usr/local/lib/nss_ldap.so.1
#6  0x28162fd3 in _nss_ldap_ent_context_init () 
from /usr/local/lib/nss_ldap.so.1
#7  0x28168a30 in _nss_ldap_dns_lookup () from /usr/local/lib/nss_ldap.so.1
#8  0x281650ac in _nss_ldap_getpwnam_r () from /usr/local/lib/nss_ldap.so.1
#9  0x281655b1 in _nss_ldap_initgroups_dyn () 
from /usr/local/lib/nss_ldap.so.1
#10 0x28162f2f in _nss_ldap_ent_context_init () 
from /usr/local/lib/nss_ldap.so.1
#11 0x28163844 in _nss_ldap_search_s () from /usr/local/lib/nss_ldap.so.1
#12 0x281639c6 in _nss_ldap_search () from /usr/local/lib/nss_ldap.so.1
#13 0x28165f8a in _nss_ldap_init_filters () 
from /usr/local/lib/nss_ldap.so.1
#14 0x280b474f in __nss_compat_getgrent_r () from /lib/libc.so.6
#15 0x2811aac6 in nsdispatch () from /lib/libc.so.6
#16 0x280f87a6 in getgrent_r () from /lib/libc.so.6
#17 0x280f8a1e in getgrgid_r () from /lib/libc.so.6
#18 0x280f88d8 in getgrgid_r () from /lib/libc.so.6
#19 0x280c10a1 in getgrouplist () from /lib/libc.so.6
#20 0x280becae in initgroups () from /lib/libc.so.6
#21 0x2807f915 in setusercontext () from /lib/libutil.so.5
#22 0x0804b00f in ?? ()
#23 0x08055040 in ?? ()
#24 0x2814f0c0 in __des_crypt_LOCAL () from /lib/libc.so.6
#25 0x00000000 in ?? ()
#26 0x0000017b in ?? ()
#27 0x00000ae3 in ?? ()
#28 0x01bfe844 in ?? ()
#29 0x2806d3d8 in ?? () from /libexec/ld-elf.so.1
#30 0x28075170 in ?? ()
#31 0x00000000 in ?? ()
#32 0xbfbfe854 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x08055188 in ?? ()
---Type <return> to continue, or q <return> to quit---
#36 0x08051152 in ?? ()
#37 0x08057040 in ?? ()
#38 0x2815f640 in ?? () from /usr/local/lib/nss_ldap.so.1
#39 0x00000005 in ?? ()
#40 0x00000006 in ?? ()
#41 0x00000003 in ?? ()
#42 0x00000004 in ?? ()
#43 0x000001c2 in ?? ()
#44 0x0115f640 in ?? ()
#45 0x2806d3d8 in ?? () from /libexec/ld-elf.so.1
#46 0x00000000 in ?? ()
#47 0x280926cc in ?? () from /lib/libc.so.6
#48 0xbfbfe8e4 in ?? ()
#49 0x2805500e in symlook_obj () from /libexec/ld-elf.so.1
#50 0x0804b672 in ?? ()
#51 0x00000001 in ?? ()
#52 0x08050eac in __isthreaded ()
#53 0xbfbfedf8 in ?? ()
#54 0x0804b5c9 in ?? ()
#55 0x08055050 in ?? ()
#56 0x08055050 in ?? ()
#57 0xbfbfee08 in ?? ()
#58 0x0804b73a in ?? ()
#59 0x08057040 in ?? ()
#60 0x08051040 in ?? ()
#61 0x434f8e84 in ?? ()
#62 0x000c5878 in ?? ()
#63 0x00000000 in ?? ()
#64 0x2815a16c in _nsyyin () from /lib/libc.so.6
#65 0xbfbfeeb8 in ?? ()
#66 0x00000000 in ?? ()
#67 0x0000003c in ?? ()
#68 0x08050eac in __isthreaded ()
#69 0xbfbfeeb8 in ?? ()
#70 0x08049f70 in ?? ()
#71 0x00000003 in ?? ()
---Type <return> to continue, or q <return> to quit---
#72 0x00000003 in ?? ()
#73 0x000010c7 in ?? ()
#74 0x2804f09c in ?? () from /libexec/ld-elf.so.1
#75 0x00000107 in ?? ()
#76 0x2804f4b8 in ?? () from /libexec/ld-elf.so.1
#77 0x2806d3d8 in ?? () from /libexec/ld-elf.so.1
#78 0x00000005 in ?? ()
#79 0x00000009 in ?? ()
#80 0x0000000d in ?? ()
#81 0x0000000c in ?? ()
#82 0x00000037 in ?? ()
#83 0x2815a140 in _nsyyin () from /lib/libc.so.6
#84 0x00000001 in ?? ()
#85 0x28056ff3 in _rtld_free_tls () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)

Thanks,

-Harry


> get requests to print the contents of particular variables.
>
> Brian.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"

Received on Mon Oct 17 2005 - 07:35:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC