You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "David Nalley (JIRA)" <ji...@apache.org> on 2014/06/13 17:25:03 UTC

[jira] [Updated] (INFRA-7780) Crash in LDAP/OpenSSL on Minotaur

     [ https://issues.apache.org/jira/browse/INFRA-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Nalley updated INFRA-7780:
--------------------------------

    Assignee: Joe Schaefer

> Crash in LDAP/OpenSSL on Minotaur
> ---------------------------------
>
>                 Key: INFRA-7780
>                 URL: https://issues.apache.org/jira/browse/INFRA-7780
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: LDAP
>            Reporter: Branko Čibej
>            Assignee: Joe Schaefer
>            Priority: Critical
>
> Discovered by trying to trivially use tar on Minotaur. Coredump and setup are available on /x1/home/brane/sslbug.
> {{noformat}}
> > uname -a
> FreeBSD minotaur.apache.org 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0 r254631: Thu Aug 22 13:59:50 UTC 2013     root@loki.apache.org:/usr/obj/usr/src/sys/ASF  amd64
> > mkdir sslbug
> > cd sslbug
> > mkdir foo
> > touch foo/bar
> > tar -c -f x.tar foo
> Segmentation fault (core dumped)
> > gdb /usr/bin/bsdtar core.bsdtar.23422	
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
> Core was generated by `bsdtar'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libarchive.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libarchive.so.5
> Reading symbols from /usr/lib/libbz2.so.4...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libbz2.so.4
> Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libz.so.6
> Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/liblzma.so.5
> Reading symbols from /lib/libbsdxml.so.4...(no debugging symbols found)...done.
> Loaded symbols for /lib/libbsdxml.so.4
> Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libcrypto.so.6
> Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /usr/local/lib/nss_ldap.so.1...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/nss_ldap.so.1
> Reading symbols from /usr/local/lib/libldap-2.4.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libldap-2.4.so.8
> Reading symbols from /usr/local/lib/liblber-2.4.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/liblber-2.4.so.8
> Reading symbols from /usr/lib/libcom_err.so.5...(no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libcom_err.so.5
> Reading symbols from /usr/local/lib/libssl.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libssl.so.8
> Reading symbols from /usr/local/lib/libcrypto.so.8...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/libcrypto.so.8
> Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
> Loaded symbols for /lib/libthr.so.3
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x0000000801772dcc in strcmp () from /lib/libc.so.7
> [New Thread 801c0cc00 (LWP 316301/bsdtar)]
> (gdb) bt 
> #0  0x0000000801772dcc in strcmp () from /lib/libc.so.7
> #1  0x00000008013f87f0 in lh_doall_arg () from /lib/libcrypto.so.6
> #2  0x00000008013f8b76 in lh_insert () from /lib/libcrypto.so.6
> #3  0x00000008013b111d in OBJ_NAME_add () from /lib/libcrypto.so.6
> #4  0x000000080269ea45 in SSL_library_init () from /usr/local/lib/libssl.so.8
> #5  0x000000080203150e in tlso_init () from /usr/local/lib/libldap-2.4.so.8
> #6  0x000000080202f686 in ldap_int_tls_start () from /usr/local/lib/libldap-2.4.so.8
> #7  0x000000080200d78a in ldap_int_open_connection () from /usr/local/lib/libldap-2.4.so.8
> #8  0x000000080201ecdf in ldap_new_connection () from /usr/local/lib/libldap-2.4.so.8
> #9  0x000000080200d62f in ldap_open_defconn () from /usr/local/lib/libldap-2.4.so.8
> #10 0x000000080201f73a in ldap_send_initial_request () from /usr/local/lib/libldap-2.4.so.8
> #11 0x000000080201571f in ldap_sasl_bind () from /usr/local/lib/libldap-2.4.so.8
> #12 0x0000000802015c1d in ldap_simple_bind () from /usr/local/lib/libldap-2.4.so.8
> #13 0x00000008019cfe67 in _nss_ldap_init () from /usr/local/lib/nss_ldap.so.1
> #14 0x00000008019d19d6 in _nss_ldap_ent_context_init_locked () from /usr/local/lib/nss_ldap.so.1
> #15 0x00000008019d2505 in _nss_ldap_search_s () from /usr/local/lib/nss_ldap.so.1
> #16 0x00000008019d2b03 in _nss_ldap_getbyname () from /usr/local/lib/nss_ldap.so.1
> #17 0x00000008019d2d89 in _nss_ldap_getpwuid_r () from /usr/local/lib/nss_ldap.so.1
> #18 0x00000008016ba04e in __nss_compat_getpwuid_r () from /lib/libc.so.7
> #19 0x000000080174c93d in nsdispatch () from /lib/libc.so.7
> #20 0x0000000801738804 in getpwuid_r () from /lib/libc.so.7
> #21 0x0000000800836aaa in archive_read_disk_set_standard_lookup () from /usr/lib/libarchive.so.5
> #22 0x0000000800836882 in archive_read_extract () from /usr/lib/libarchive.so.5
> #23 0x0000000800836e70 in archive_read_disk_entry_from_file () from /usr/lib/libarchive.so.5
> #24 0x0000000000409a89 in ?? ()
> #25 0x0000000000409e68 in ?? ()
> #26 0x000000000040498c in ?? ()
> #27 0x0000000000403e6e in ?? ()
> #28 0x000000080062a000 in ?? ()
> #29 0x0000000000000000 in ?? ()
> #30 0x0000000000000005 in ?? ()
> #31 0x00007fffffffdd30 in ?? ()
> #32 0x00007fffffffdd34 in ?? ()
> #33 0x00007fffffffdd37 in ?? ()
> #34 0x00007fffffffdd3a in ?? ()
> #35 0x00007fffffffdd40 in ?? ()
> #36 0x0000000000000000 in ?? ()
> #37 0x00007fffffffdd44 in ?? ()
> #38 0x00007fffffffdd4f in ?? ()
> #39 0x00007fffffffdd5d in ?? ()
> #40 0x00007fffffffdd6e in ?? ()
> #41 0x00007fffffffdd83 in ?? ()
> #42 0x00007fffffffdddf in ?? ()
> #43 0x00007fffffffddf0 in ?? ()
> #44 0x00007fffffffddfc in ?? ()
> #45 0x00007fffffffde0c in ?? ()
> #46 0x00007fffffffde2e in ?? ()
> #47 0x00007fffffffde61 in ?? ()
> #48 0x00007fffffffde74 in ?? ()
> #49 0x00007fffffffde85 in ?? ()
> #50 0x00007fffffffde90 in ?? ()
> #51 0x00007fffffffde9f in ?? ()
> #52 0x00007fffffffdeaf in ?? ()
> #53 0x00007fffffffdeb7 in ?? ()
> #54 0x00007fffffffdece in ?? ()
> #55 0x00007fffffffdeda in ?? ()
> #56 0x00007fffffffdef3 in ?? ()
> #57 0x00007fffffffdf0c in ?? ()
> #58 0x00007fffffffdf61 in ?? ()
> #59 0x00007fffffffdf6b in ?? ()
> #60 0x0000000000000000 in ?? ()
> #61 0x0000000000000003 in ?? ()
> #62 0x0000000000400040 in ?? ()
> #63 0x0000000000000004 in ?? ()
> #64 0x0000000000000038 in ?? ()
> #65 0x0000000000000005 in ?? ()
> #66 0x0000000000000008 in ?? ()
> #67 0x0000000000000006 in ?? ()
> #68 0x0000000000001000 in ?? ()
> #69 0x0000000000000008 in ?? ()
> #70 0x0000000000000000 in ?? ()
> #71 0x0000000000000009 in ?? ()
> #72 0x0000000000403de0 in ?? ()
> #73 0x0000000000000007 in ?? ()
> #74 0x000000080060f000 in ?? ()
> #75 0x000000000000000f in ?? ()
> #76 <signal handler called>
> #77 0x0000000000000000 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (gdb) q
> > 
> {{noformat}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)