[Bug 1613067] Re: NSS is unreliable in statically linked binaries

Florian Weimer fweimer at redhat.com
Fri Jun 8 14:33:44 UTC 2018


** Summary changed:

- SIGSEGV on internal_getent nss_files/files-XXX.c:251
+ NSS is unreliable in statically linked binaries

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1613067

Title:
  NSS is unreliable in statically linked binaries

Status in GLibC:
  Incomplete
Status in glibc package in Ubuntu:
  Confirmed

Bug description:
  More in https://sourceware.org/bugzilla/show_bug.cgi?id=20468

  I'm getting following on amd64 as well as arm64:

  Thread 3 "drone" received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0x7f9a7b2090 (LWP 21950)]
  0x0000007f98ddd334 in internal_getent (stream=0x7f840008c0, result=0x6a83ec <net.glob..func11+84>, result at entry=0x2e302e302e373231, 
      buffer=0xca8e08 "gethostbyname4_r", buffer at entry=0x7f9a7b1010 "", buflen=buflen at entry=1064, errnop=0x7f9a7b14c0, errnop at entry=0x7f9a7b15c0, herrnop=0x0, 
      herrnop at entry=0x686c61636f6c0931, af=127, af at entry=0, flags=-1703211040, flags at entry=0) at nss_files/files-XXX.c:251
  251	nss_files/files-XXX.c: No such file or directory.
  (gdb) bt
  #0  0x0000007f98ddd334 in internal_getent (stream=0x7f840008c0, result=0x6a83ec <net.glob..func11+84>, result at entry=0x2e302e302e373231, 
      buffer=0xca8e08 "gethostbyname4_r", buffer at entry=0x7f9a7b1010 "", buflen=buflen at entry=1064, errnop=0x7f9a7b14c0, errnop at entry=0x7f9a7b15c0, herrnop=0x0, 
      herrnop at entry=0x686c61636f6c0931, af=127, af at entry=0, flags=-1703211040, flags at entry=0) at nss_files/files-XXX.c:251
  #1  0x0000007f98dde2c0 in _nss_files_gethostbyname4_r (name=0x7f940008c0 "postgres.pharaoh.local", pat=0x7f9a7b15d0, buffer=0x7f9a7b1010 "", buflen=1064, 
      errnop=0x7f9a7b15c0, herrnop=0x686c61636f6c0931, ttlp=<optimized out>) at nss_files/files-hosts.c:392
  #2  0x0000000000a71438 in gaih_inet ()
  #3  0x0000000000a72ef0 in getaddrinfo ()
  #4  0x00000000009b1bec in _cgo_7a2d42f1a351_C2func_getaddrinfo (v=0x442003ba88) at /home/go/src/net/cgo_unix.go:66
  #5  0x000000000047cf28 in runtime.asmcgocall () at /home/go/src/runtime/asm_arm64.s:542
  #6  0x00000044201716c0 in ?? ()
  #7  0x0000000000000001 in ?? ()

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/1613067/+subscriptions



More information about the foundations-bugs mailing list