bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: NightStrike <nightstrike@gmail.com>
To: bug-gnulib@gnu.org
Subject: m4/getcwd-path-max.m4 hangs with busybox + btrfs
Date: Sun, 31 Mar 2024 17:52:35 -0400	[thread overview]
Message-ID: <CAF1jjLtq+SDkxV47Rny1T7u4gXPGq0Z+GnvVOtW75q9ionvDrg@mail.gmail.com> (raw)

See https://bugs.gentoo.org/447970 for extra details.  While this
gentoo report has a workaround posted just a few months ago, it seems
that the test itself is faulty, as a failure mode should not be to
hang the entire computer.

When running this configure test on my particular system, a NAS
running busybox and btrfs, it hung for at least 12 hours before I
decided to power cycle it.  While hung, the system is mostly
unresponsive.  Pings work, for instance, but no new processes can
start, and the RCU kernel thread spins its core at 100%.  The test
states that it is needed for old glibc and kernel versions.  My NAS is
using glibc 2.27 and kernel 5.13, so presumably it is no longer a
useful test.  Can this be modified to be less destructive?

I mention btrfs, because that gentoo link highlights that the test is
particularly troublesome on that file system.

I mention busybox, because when I inspect the leftover directory
structure after rebooting, I find that the busybox shell cannot handle
the path length, with tab completion eventually failing.

In my case, I hit this while configuring m4 version 1.4.19, which uses
the latest (serial 25) version of this file.


             reply	other threads:[~2024-03-31 22:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31 21:52 NightStrike [this message]
2024-03-31 22:44 ` m4/getcwd-path-max.m4 hangs with busybox + btrfs Bruno Haible
2024-03-31 22:48   ` NightStrike
2024-03-31 23:02     ` Bruno Haible
2024-04-01  1:07       ` NightStrike
2024-04-01  2:15         ` Bruno Haible
2024-04-01  4:19         ` Paul Eggert
2024-04-01  5:19           ` NightStrike
2024-04-01 11:22           ` Bruno Haible

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF1jjLtq+SDkxV47Rny1T7u4gXPGq0Z+GnvVOtW75q9ionvDrg@mail.gmail.com \
    --to=nightstrike@gmail.com \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).