Matthias Koeppe on Sun, 26 Oct 2025 22:21:54 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

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


On Sat, Oct 18, 2025 at 11:07 AM Matthias Koeppe <mkoeppe@ucdavis.edu> wrote:
> On Sat, Oct 18, 2025 at 2:03 AM Bill Allombert
> <Bill.Allombert@math.u-bordeaux.fr> 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).
> The hangs show up nondeterministically on all tested platform
> variants, for example in
> https://github.com/passagemath/passagemath/actions/runs/18611887304/job/53071188372#step:10:1904

Unsurprisingly, builds using the clang compilers provided by
conda-forge are also affected.
https://github.com/passagemath/passagemath/actions/runs/18811959899/job/53674549752#step:10:2578

-- 
Matthias Koeppe -- http://www.math.ucdavis.edu/~mkoeppe