Re: PARI/GP 2.17.2 testsuite hangs nondeterministically (macOS)
Matthias Koeppe <[email protected]> Sun, 26 Oct 2025 14:21:37 -0700
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAJ_wo5grW-RTBgB_ewnO-=S2jb+FjLTN94i3GrMnJ-gupiC-Kw@mail.gmail.com> |
On Sat, Oct 18, 2025 at 11:07 AM Matthias Koeppe <[email protected]> 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). > 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