← Back to team overview

debcrafters-packages team mailing list archive

[Bug 1613067]

 

This change makes some progress on this issue for <ctype.h>
initialization:

commit 2745db8dd3ec31045acd761b612516490085bc20
Author: Florian Weimer <fweimer@xxxxxxxxxx>
Date:   Fri May 16 19:53:09 2025 +0200

    ctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483)
    
    This ensures that the ctype data pointers in TLS are valid
    in secondary namespaces even without initialization via
    __ctype_init.
    
    Reviewed-by: Frédéric Bérat <fberat@xxxxxxxxxx>

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

Title:
  NSS is unreliable in statically linked binaries

Status in GLibC:
  Confirmed
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@entry=0x2e302e302e373231, 
      buffer=0xca8e08 "gethostbyname4_r", buffer@entry=0x7f9a7b1010 "", buflen=buflen@entry=1064, errnop=0x7f9a7b14c0, errnop@entry=0x7f9a7b15c0, herrnop=0x0, 
      herrnop@entry=0x686c61636f6c0931, af=127, af@entry=0, flags=-1703211040, flags@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@entry=0x2e302e302e373231, 
      buffer=0xca8e08 "gethostbyname4_r", buffer@entry=0x7f9a7b1010 "", buflen=buflen@entry=1064, errnop=0x7f9a7b14c0, errnop@entry=0x7f9a7b15c0, herrnop=0x0, 
      herrnop@entry=0x686c61636f6c0931, af=127, af@entry=0, flags=-1703211040, flags@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