public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/29485] New: Make hangs when the test misc/tst-pidfile returns FAIL_UNSUPPORTED
@ 2022-08-14  0:46 freswa at archlinux dot org
  2022-08-14 21:39 ` [Bug build/29485] " sam at gentoo dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: freswa at archlinux dot org @ 2022-08-14  0:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29485

            Bug ID: 29485
           Summary: Make hangs when the test misc/tst-pidfile returns
                    FAIL_UNSUPPORTED
           Product: glibc
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: freswa at archlinux dot org
                CC: carlos at redhat dot com
  Target Milestone: ---

Created attachment 14275
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14275&action=edit
Patch fixing the bug

Arch Linux builds glibc in a systemd-nspawn. To avoid issues with the
testsuite, we disable some tests that require syscalls not allowed by nspawn.
Commit (bisected) 325ba824b0611e14e96b38dbc486acf255f9e568 introduced a hang of
make after printing the test summary at the end.

The root cause in sysdeps/unix/sysv/linux/tst-pidfd.c is the early return in
line 150 which is causing the process, spawned in line 46, to hang on line 84
waiting for the signal in line 170.

Patch attached.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-15  9:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-14  0:46 [Bug build/29485] New: Make hangs when the test misc/tst-pidfile returns FAIL_UNSUPPORTED freswa at archlinux dot org
2022-08-14 21:39 ` [Bug build/29485] " sam at gentoo dot org
2022-08-14 21:39 ` sam at gentoo dot org
2022-08-15  5:39 ` fweimer at redhat dot com
2022-08-15  9:23 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).