[RHEL5.6] automount crash in glibc 'free' called from Quest shared library, indicating "double free"

Solution Unverified - Updated -

Issue

  • We having issue with autofs, It stops mounting the nfs mount under /home.  This is the 5th occurrence in a row of dumping the automount core.

  • automount crashes with the following backtrace
    #0  0x00002b4c81dd0265 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    #1  0x00002b4c81dd1d10 in abort () at abort.c:88
    #2  0x00002b4c81e0a99b in __libc_message (do_abort=2, fmt=0x2b4c81ec2ae8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
    #3  0x00002b4c81e1245f in malloc_printerr (av=0x2aaab4000020, p=0x2aaab40260e0, have_lock=0) at malloc.c:6205
    #4  _int_free (av=0x2aaab4000020, p=0x2aaab40260e0, have_lock=0) at malloc.c:4738
    #5  0x00002b4c81e128bb in __libc_free (mem=) at malloc.c:3670
    #6  0x00002aaaabe985f1 in ?? ()
    #7  0x00002aaab40286c0 in ?? ()
    #8  0x00002b4c9fc8c4f0 in ?? ()
    #9  0x00000000abed3c90 in ?? ()
    #10 0x0000001500000000 in ?? ()
    #11 0x00002b4c9fc8c4f0 in ?? ()
    #12 0x0000000000000000 in ?? ()
    (gdb) frame 4
    #4  _int_free (av=0x2aaab4000020, p=0x2aaab40260e0, have_lock=0) at malloc.c:4738
    4738           malloc_printerr (check_action, errstr, chunk2mem(p));
    (gdb) p errstr
    $7 = 0x2b4c81ec2b90 "double free or corruption (fasttop)"
    (gdb) info sharedlibrary 
    warning: Can't read pathname for load map: Input/output error.
    From                To                  Syms Read   Shared Object Library
    0x00002b4c80fa21f0  0x00002b4c80fad258  Yes (*)     /lib64/libpthread.so.0
    0x00002b4c811b8e10  0x00002b4c811b9a08  Yes (*)     /lib64/libdl.so.2
    0x00002b4c813e7210  0x00002b4c814b7408  Yes (*)     /usr/lib64/libxml2.so.2
    0x00002b4c816fbfd0  0x00002b4c81706ac8  Yes (*)     /usr/lib64/libz.so.1
    0x00002b4c81911e60  0x00002b4c81951e38  Yes (*)     /lib64/libm.so.6
    0x00002b4c81b92e50  0x00002b4c81b9c018  Yes (*)     /lib64/libgcc_s.so.1
    0x00002b4c81dbd780  0x00002b4c81eaa798  Yes (*)     /lib64/libc.so.6
    0x00002b4e29780a70  0x00002b4e297967ce  Yes (*)     /lib64/ld-linux-x86-64.so.2
    0x00002aaaaaab01d0  0x00002aaaaaabbbb8  Yes (*)     /usr/lib64/autofs/lookup_file.so
    0x00002aaaaacef0a0  0x00002aaaaacfb6a8  Yes (*)     /lib64/libnsl.so.1
    0x00002aaaaaf09d20  0x00002aaaaaf1b118  Yes (*)     /usr/lib64/autofs/parse_sun.so
    0x00002aaaab138780  0x00002aaaab13d2c8  Yes (*)     /usr/lib64/autofs/mount_nfs.so
    0x00002aaaab3400b0  0x00002aaaab341058  Yes (*)     /usr/lib64/autofs/mount_bind.so
    0x00002aaaab547f40  0x00002aaaab553b78  Yes (*)     /usr/lib64/autofs/lookup_hosts.so
    0x00002aaaab7721c0  0x00002aaaab77d178  Yes (*)     /usr/lib64/autofs/lookup_yp.so
    0x00002aaaab997fe0  0x00002aaaab99e268  Yes (*)     /lib64/libnss_files.so.2
                                            No          /lib64/libnss_vas3.so.2
                                            No          /opt/quest/lib64/libvas.so.4
    0x00002aaaac0412a0  0x00002aaaac04c2d8  Yes (*)     /lib64/libresolv.so.2
    0x00002aaaac2539f0  0x00002aaaac259918  Yes (*)     /lib64/libcrypt.so.1
    0x00002aaaac48bfe0  0x00002aaaac48e828  Yes (*)     /lib64/libnss_dns.so.2
    (*): Shared library is missing debugging information.
    

Environment

  • Red Hat Enterprise Linux 5       
    • autofs-5.0.1-0.rc2.143.el5_6.2.x86_64
  • Quest Authentication Services Active Directory libraries       
    • RPMs: vasclnt-3.5.2-70, vasgp-3.5.2-70
    • Shared Libraries: /lib64/libnss_vas3.so.2, /opt/quest/lib64/libvas.so.4
  • Automount configuration

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.