automount crashes due to segfault.

Solution Unverified - Updated -

Issue

  • automount crashes due to segfault.

  • The following backtrace is observed from the coredump file taken at the time of the crash:

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fcd3f55c459 in flush_out (rstrm=0x7fcd1800bc90, eor=<value optimized out>) at xdr_rec.c:634
#2  0x00007fcd3f54e5b5 in clnt_vc_call (cl=0x7fcd1800b7d0, proc=0, xdr_args=0x7fcd3f55b720 <xdr_void>, args_ptr=0x0, xdr_results=0x7fcd3f55b720 <xdr_void>, results_ptr=0x0, timeout=...)
    at clnt_vc.c:375
#3  0x00007fcd3cef7cb9 in rpc_ping_proto (info=0x7fcd3c162370) at rpc_subs.c:647
#4  0x00007fcd3cef586e in get_nfs_info (logopt=0, host=0x7fcd1800c0e0, pm_info=0x7fcd3c1623d0, rpc_info=0x7fcd3c162370, proto=6, version=32, port=<value optimized out>) at replicated.c:355
#5  0x00007fcd3cef6548 in get_vers_and_cost (logopt=0, list=0x7fcd3c162568, vers=<value optimized out>, port=-1) at replicated.c:490
#6  prune_host_list (logopt=0, list=0x7fcd3c162568, vers=<value optimized out>, port=-1) at replicated.c:720
#7  0x00007fcd3cef4a76 in mount_mount (ap=0x7fcd40e41eb0, root=0x7fcd40e41fa0 "/home", name=0x7fcd3c1636b0 "l181004a", name_len=8, 
    what=0x7fcd3c163670 "nfssrv:/path/to/vol", fstype=<value optimized out>, options=0x7fcd3c1636d0 "nfsvers=3,rsize=65536,wsize=65536", context=0x0)
    at mount_nfs.c:238
#8  0x00007fcd3d128149 in sun_mount (ap=0x7fcd40e41eb0, root=0x7fcd40e41fa0 "/home", name=0x7fcd3c167a10 "l181004a", namelen=8, 
    loc=0x7fcd1800bbc0 "nfssrv:/path/to/vol", loclen=46, options=0x7fcd3c1636d0 "nfsvers=3,rsize=65536,wsize=65536", ctxt=0x7fcd24000b00) at parse_sun.c:688
#9  0x00007fcd3d12a7da in parse_mount (ap=0x7fcd40e41eb0, name=0x7fcd3c167a10 "l181004a", name_len=8, mapent=<value optimized out>, context=<value optimized out>) at parse_sun.c:1672
#10 0x00007fcd3d55c9b0 in lookup_mount (ap=0x7fcd40e41eb0, name=<value optimized out>, name_len=<value optimized out>, context=0x7fcd24000a80) at lookup_sss.c:760
#11 0x00007fcd3fbc0380 in do_lookup_mount (ap=0x7fcd40e41eb0, map=0x7fcd24000950, name=0x7fcd3c167e50 "l181004a", name_len=8) at lookup.c:764
#12 0x00007fcd3fbc0b43 in lookup_name_source_instance (ap=0x7fcd40e41eb0, source=0x0, name=0x7fcd3c167e50 "l181004a", name_len=8) at lookup.c:900
#13 lookup_map_name (ap=0x7fcd40e41eb0, source=0x0, name=0x7fcd3c167e50 "l181004a", name_len=8) at lookup.c:955
#14 lookup_nss_mount (ap=0x7fcd40e41eb0, source=0x0, name=0x7fcd3c167e50 "l181004a", name_len=8) at lookup.c:1149
#15 0x00007fcd3fbb89d8 in do_mount_indirect (arg=<value optimized out>) at indirect.c:772
#16 0x00007fcd3f770aa1 in start_thread (arg=0x7fcd3c16a700) at pthread_create.c:301
#17 0x00007fcd3e68daad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Environment

  • Red Hat Enterprise Linux 6

  • autofs-5.0.5-123.el6_8.x86_64

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