[Bug libc/34433] New: tst-dl-llp-stack FAILs with large environment variable exported

sam at gentoo dot org via Glibc-bugs <[email protected]> Thu, 23 Jul 2026 23:13:27 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3D34433

            Bug ID: 34433
           Summary: tst-dl-llp-stack FAILs with large environment variable
                    exported
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: sam at gentoo dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The tst-dl-llp-stack test is broken with a too-large environment. This happ=
ened
organically with the large exported environment in our package manager when
building glibc.

```
/var/tmp/portage/sys-libs/glibc-9999/work/build-amd64-x86_64-pc-linux-gnu-n=
ptl
# (export BIGENV=3D$(perl -e 'print "X" x (`getconf PAGE_SIZE` * 4);') ; wh=
ile
true ; do ./testrun.sh ./elf/tst-dl-llp-stack || break ; done)
error: tst-dl-llp-stack.c:141: child killed by signal 11
error: 1 test failures
```

vs (ok, runs forever):
```
(export BIGENV=3D$(perl -e 'print "X" x (`getconf PAGE_SIZE` * 3);') ; whil=
e true
; do ./testrun.sh ./elf/tst-dl-llp-stack || break ; done)
```

```
# ./testrun.sh ./libc.so.6
GNU C Library (Gentoo 9999 (patchset 1)) development release version 2.43.9=
000.
Copyright (C) 2026 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 17.0.0 20260722 (experimental)
70add872be783070deab8285ebb3a175d42256e3.
libc ABIs: UNIQUE IFUNC ABSOLUTE
Minimum supported kernel: 6.1.0
For bug reporting instructions, please see:
```

--=20
You are receiving this mail because:
You are on the CC list for the bug.=