Re: PARI/GP 2.17.2 testsuite hangs nondeterministically (macOS)

Bill Allombert <[email protected]> Sat, 18 Oct 2025 22:36:40 +0200
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <aPP6WAsDK5mLSGKZ@seventeen>
On Sat, Oct 18, 2025 at 11:07:26AM -0700, Matthias Koeppe wrote:
> On Sat, Oct 18, 2025 at 2:03 AM Bill Allombert
> <[email protected]> wrote:
> > On Fri, Oct 17, 2025 at 03:18:35PM -0700, Matthias Koeppe wrote:
> > > I am encountering nondeterministic hangs of PARI/GP while running its
> > > testsuite on macOS. It seems to happen in particular in higher CPU
> > > load situations.
> > > The hang appears to be a pthread deadlock.
> 
> > Clearly it hangs in mt_queue_reset while waiting for threads to terminate.
> >
> > > https://github.com/passagemath/passagemath/issues/1684
> >
> > This report does not include any detail on the system platform.
> > (what is the CPU, the OS version, the libc version, the compiler version etc.)
> 
> I test this on macOS 15 (Intel), 14, 15 (ARM), and 26, as provided by
> GH Actions runners, https://github.com/actions/runner-images, using
> the default compilers from Xcode (Apple clang).

In general, I recommend to use an official clang release instead of XCode, which
has often major bugs.

Cheers,
Bill.