well,
I did made a -dbgsym package... and caught the same symptomatic error,
now,
"...    segfault at 0 ip 00007f5ac1e570f4 sp 00007ffea6a75848 error 4 in 
libc-2.27.so[7f5ac1d22000+1b1000] ..."

and found it ememnates in 

 "... find_nfs_srvr (mf=0x557ff0586020) at ../../amd/srvr_nfs.c:961 ..."

aye,

this "...  &nfs_srvr_list ... " must have references to stale
objects related to the fact my RPC is timing out bad... ?

tbc.



please note,
I could not stop myself modifing the darn am-utils-6.2 master baseline
https://salsa.debian.org/debian/am-utils.git,  and in the
process with a few changes related to the yalm wrapper flex/bison scanners made 
thread safe,
and gave setuid(), getuid() a more POSIX implementations ...
but those seem unrelated as the core "should" be identical...
anyway this is my prerogative since not being a deb-guy!



Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:572
572     ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
(gdb) bt
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:572
#1  0x0000557ff02d0ebe in find_nfs_srvr (mf=0x557ff0586020) at 
../../amd/srvr_nfs.c:961
#2  0x0000557ff02c70c1 in init_mntfs (remopts=0x557ff0560980 "rw", 
mopts=0x557ff0560a60 "rw", auto_opts=0x557ff0576220 
"fs:=${autodir}/${rhost}/root/${rfs}", info=0x557ff05612a0 "rotan:/", 
    mp=0x557ff0560ca0 "/amd/rotan/root", mo=0x557ff0575ab0, ops=0x557ff04efa00 
<amfs_host_ops>, mf=0x557ff0586020) at ../../amd/mntfs.c:98
#3  alloc_mntfs (ops=0x557ff04efa00 <amfs_host_ops>, ops@entry=0x557ff0575ab0, 
mo=mo@entry=0x557ff0575ab0, mp=0x557ff0560ca0 "/amd/rotan/root", 
info=0x557ff05612a0 "rotan:/", 
    auto_opts=auto_opts@entry=0x557ff0576220 
"fs:=${autodir}/${rhost}/root/${rfs}", mopts=0x557ff0560a60 "rw", 
remopts=0x557ff0560980 "rw") at ../../amd/mntfs.c:109
#4  0x0000557ff02c7514 in find_mntfs (ops=0x557ff0575ab0, 
mo=mo@entry=0x557ff0575ab0, mp=<optimized out>, info=<optimized out>, 
    auto_opts=auto_opts@entry=0x557ff0576220 
"fs:=${autodir}/${rhost}/root/${rfs}", mopts=<optimized out>, 
remopts=<optimized out>) at ../../amd/mntfs.c:207
#5  0x0000557ff02bd0aa in amfs_lookup_one_location (new_mp=0x557ff0573c00, 
new_mp=0x557ff0573c00, mf=0x557ff0576cb0, mf=0x557ff0576cb0, 
pfname=0x557ff0560d60 "rotan", 
    def_opts=0x557ff0576220 "fs:=${autodir}/${rhost}/root/${rfs}", 
ivec=0x557ff05763c0 "rhost:=${key};type:=host;rfs:=/") at 
../../amd/amfs_generic.c:301
#6  amfs_lookup_loc (new_mp=new_mp@entry=0x557ff0573c00, 
error_return=error_return@entry=0x7ffd8cc54ee4) at ../../amd/amfs_generic.c:477
#7  0x0000557ff02bd5b1 in amfs_generic_lookup_child (mp=0x557ff056c320, 
fname=<optimized out>, error_return=0x7ffd8cc54ee4, op=1) at 
../../amd/amfs_generic.c:1183
#8  0x0000557ff02c9e0b in nfsproc_lookup_2_svc (argp=argp@entry=0x7ffd8cc54f10, 
rqstp=rqstp@entry=0x7ffd8cc54fb0) at ../../amd/nfs_subr.c:233
#9  0x0000557ff02c7af8 in nfs_program_2 (rqstp=0x7ffd8cc54fb0, 
transp=0x557ff0588b90) at ../../amd/nfs_prot_svc.c:293
#10 0x00007f7d23c22a11 in __GI_svc_getreq_common (fd=fd@entry=9) at svc.c:525
#11 0x00007f7d23c22a71 in __GI_svc_getreqset 
(readfds=readfds@entry=0x7ffd8cc556e0) at svc.c:430
#12 0x0000557ff02c85ec in run_rpc () at ../../amd/nfs_start.c:289
#13 mount_automounter (ppid=<optimized out>) at ../../amd/nfs_start.c:452
#14 0x0000557ff02b7e54 in main (argc=<optimized out>, argv=<optimized out>) at 
../../amd/amd.c:561
(



...
25/04/2018 07:44        kaolo   amd[27726]      find_nfs_srvr: force NFS 
version to 3
25/04/2018 07:44        kaolo   amd[27726]      check_pmap_up: failed to 
contact portmapper on host "rotan.ptizoom.co.uk": RPC: Timed out
25/04/2018 07:44        kaolo   amd[27726]      portmapper service not running 
on rotan.ptizoom.co.uk
25/04/2018 07:44        kaolo   amd[27726]      NFS service not running on 
rotan.ptizoom.co.uk
25/04/2018 07:44        kaolo   amd[27726]      rotan:/homes/roland restarted 
fstype nfs on /homes/roland, flags 0x9
25/04/2018 07:44        kaolo   amd[27726]      /usr/share/am-utils/amd.net 
referenced fstype toplvl on /net
25/04/2018 07:44        kaolo   amd[27726]      /net set to never timeout
25/04/2018 07:44        kaolo   amd[27726]      amd.home referenced fstype 
toplvl on /home
25/04/2018 07:44        kaolo   amd[27726]      /home set to never timeout
25/04/2018 07:44        kaolo   amd[27726]      file server 
rotan.ptizoom.co.uk, type nfs, state starts down
25/04/2018 07:44        kaolo   amd[27726]      No fs type specified (key = 
"/defaults", map = ""root"")
25/04/2018 07:44        kaolo   amd[27726]      find_nfs_srvr: force NFS 
version to 3
25/04/2018 07:44        kaolo   amd[27726]      fileserver rotan.ptizoom.co.uk 
is already hung - not running NFS proto/version discovery
25/04/2018 07:44        kaolo   amd[27726]      /etc/am-utils/amd.homes 
referenced fstype toplvl on /homes/kaolo
25/04/2018 07:44        kaolo   amd[27726]      /homes/kaolo set to never 
timeout
25/04/2018 07:44        kaolo   amd[27726]      file server 
rotan.ptizoom.co.uk, type nfs, state is up
25/04/2018 07:44        kaolo   amd[27726]      recompute_portmap: NFS version 
3 on rotan.ptizoom.co.uk
25/04/2018 07:44        kaolo   amd[27726]      Using MOUNT version: 3
25/04/2018 07:44        kaolo   amd[27726]      nis_isup: NIS came back up for 
map amd.home
25/04/2018 07:44        kaolo   amd[27726]      amfs_nfsl: "rotan" is not the 
local host "kaolo", or "kaolo.unknown.domain" using type:=nfs
25/04/2018 07:44        kaolo   amd[27726]      amfs_nfsl: "/homes/christian" 
exists, using type:=link
25/04/2018 07:44        kaolo   amd[27726]      ./homes/christian mounted 
fstype nfsl on ./homes/christian
25/04/2018 07:44        kaolo   amd[27726]      /home/christian set to timeout 
in 300 seconds
25/04/2018 07:44        kaolo   amd[27726]      "/net/rotan" on //nil// timed 
out (flags 0x20)
25/04/2018 07:44        kaolo   amd[27726]      recompute_portmap: NFS version 
3 on rotan.ptizoom.co.uk
25/04/2018 07:44        kaolo   amd[27726]      Using MOUNT version: 3
25/04/2018 07:45        kaolo   amd[27726]      recompute_portmap: NFS version 
3 on rotan.ptizoom.co.uk
25/04/2018 07:45        kaolo   amd[27726]      Using MOUNT version: 3
25/04/2018 07:45        kaolo   amd[27726]      No fs type specified (key = 
"/defaults", map = ""root"")
25/04/2018 07:45        kaolo   amd[27726]      find_nfs_srvr: force NFS 
version to 3
25/04/2018 07:45        kaolo   amd[27726]      check_pmap_up: failed to 
contact portmapper on host "rotan.ptizoom.co.uk": RPC: Timed out
25/04/2018 07:45        kaolo   amd[27726]      portmapper service not running 
on rotan.ptizoom.co.uk
25/04/2018 07:45        kaolo   amd[27726]      NFS service not running on 
rotan.ptizoom.co.uk
XXX

25/04/2018 07:45        nfs     server kaolo not responding, still trying
25/04/2018 07:52        nfs     server kaolo OK
25/04/2018 07:52        nfs     server kaolo OK
25/04/2018 07:52        amd[30377]      segfault at 0 ip 00007f5ac1e570f4 sp 
00007ffea6a75848 error 4 in libc-2.27.so[7f5ac1d22000+1b1000]
25/04/2018 07:53        nfs     server kaolo not responding, still trying
25/04/2018 07:54        nfs     server kaolo OK
25/04/2018 07:54        nfs     server kaolo OK
xxx


(
those were my build package settings:
  all:DEB_BUILD_OPTIONS=debug
  all:DEB_BUILD_MAINT_OPTIONS=qa=+bug,+canary
  all:; cd /usr/src/am-utils; dpkg-buildpackage -b -uc
)

-- 
------------------------------------------------------- 

Reply via email to