Package: am-utils
Version: 6.2+rc20130922-1
Severity: normal
Tags: upstream

the last few eons I get many of those...

  amd[24631]: segfault at 0 ip 00007f2a7445dd96 sp 00007ffd7760ddb8 error 4 in 
libc-2.27.so[7f2a74329000+1b1000]


this frequent libc crash is not going away (ie. 
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727770
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762071
);


but yet I am getting closer to pinpoint the bugger,  and here is a gdb 
backtrace:

Thread 1 "amd" received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:173
173     ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
(gdb) bt
#0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:173
#1  0x00000000004193ad in ?? ()
#2  0x0000000000412a0c in ?? ()
#3  0x0000000000412e2c in ?? ()
#4  0x0000000000409137 in ?? ()
#5  0x0000000000409878 in ?? ()
#6  0x0000000000414c9e in ?? ()
#7  0x0000000000413619 in ?? ()
#8  0x00007f776127ea11 in __GI_svc_getreq_common (fd=fd@entry=5) at svc.c:525
#9  0x00007f776127ea71 in __GI_svc_getreqset (readfds=<optimized out>) at 
svc.c:430
#10 0x0000000000413e75 in ?? ()
#11 0x0000000000405928 in ?? ()
#12 0x00007f7761178a87 in __libc_start_main (main=0x405460, argc=5, 
argv=0x7ffd56495b78, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, 
    stack_end=0x7ffd56495b68) at ../csu/libc-start.c:310
#13 0x0000000000405b06 in ?? ()



its frequency of occurence is hugely related when remote server machine (which 
is running NIS+NFS3 or 4? +RPC)
is not servicing RPC port-mapper (by processing this and other things) :
like...

13/04/2018 11:30        loaka   amd[2627]       ......... is "${opts}"
13/04/2018 11:30        loaka   amd[2627]       No fs type specified (key = 
"/defaults", map = ""root"")
13/04/2018 11:30        loaka   amd[2627]       did not match defaults for 
"fs:=${autodir}/${rhost}/root/${rfs}"
13/04/2018 11:30        loaka   amd[2627]       Expansion of 
"rhost:=${key};type:=host;rfs:=/"...
13/04/2018 11:30        loaka   amd[2627]       ......... is 
"rhost:=rotan;type:=host;rfs:=/"
13/04/2018 11:30        loaka   amd[2627]       Expansion of "/"...
13/04/2018 11:30        loaka   amd[2627]       ......... is "/"
13/04/2018 11:30        loaka   amd[2627]       ......... is "/amd/rotan/root/"
13/04/2018 11:30        loaka   amd[2627]       NFS: mounting remote server 
"rotan", remote fs "/" on "/amd/rotan/root"
13/04/2018 11:30        loaka   amd[2627]       Locating mntfs reference to 
(/amd/rotan/root,rotan:/)
13/04/2018 11:30        loaka   amd[2627]       find_nfs_srvr: force NFS 
version to 3
13/04/2018 11:31        loaka   amd[2627]       check_pmap_up: failed to 
contact portmapper on host "rotan.co.co": RPC: Timed out
13/04/2018 11:31        loaka   amd[2627]       portmapper service not running 
on rotan.co.co
13/04/2018 11:31        loaka   amd[2627]       NFS service not running on 
rotan.co.co
13/04/2018 11:31        loaka   amd[2627]       find_nfs_srvr: using port 2049 
for nfs on rotan.co.co
...crash

it is a matter of trying to get an un-stripped version of amd now, and expose 
the nasty. 

but I also spotted some interresting improvement work on the original master...:

"
Author: zoulasc <chris...@zoulas.com>  2016-03-31 19:56:53
Committer: zoulasc <chris...@zoulas.com>  2016-03-31 19:56:53
Parent: c35699a16c2fd6f30be6ad7bee81a3bc0ee51828 (Today's RPC ping change.)
Child:  d324d2d30c49ac737fb147f0817881a35946b03d (Today's change)
    Fix SEGV on amq entries that print times.
"

which could be beneficiary to incorporate ?

Thanks.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages am-utils depends on:
ii  debconf            1.5.66
ii  debianutils        4.8.4
ii  libamu4            6.2+rc20130922-1
ii  libc6              2.27-2
ii  libgdbm3           1.8.3-14
ii  libhesiod0         3.2.1-3+b1
ii  libldap-2.4-2      2.4.45+dfsg-1
ii  libwrap0           7.6.q-27
ii  rpcbind [portmap]  0.2.3-0.6
ii  ucf                3.0038

am-utils recommends no packages.

Versions of packages am-utils suggests:
ii  am-utils-doc  6.2+rc20110530-3.2
ii  nis           3.17.1-1+b2

-- Configuration Files:
/etc/am-utils/amd.conf changed [not included]
/etc/init.d/am-utils changed [not included]

-- no debconf information

Reply via email to