Opened 12 months ago

Closed 8 months ago

#68718 closed defect (fixed)

cmake-devel @3.28.0-rc1: kernel panic

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: lion Cc: mascguy (Christopher Nielsen)
Port: cmake-devel

Description

Attempting to build cmake-devel causes the Lion buildbot worker to kernel panic. This has happened every build since the port was updated to 3.28.0-rc1 in October and continues with 3.28.0-rc5.

Attachments (1)

panic.png (5.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 months ago.

Download all attachments as: .zip

Change History (6)

Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Attachment: panic.png added

comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Having confirmed that a prerelease of 3.29.1 does the same thing, both on our VMware-based buildbot and on a user's Parallels VM and on real hardware (comment:ticket:67540:15), we should report it to the developers, if that hasn't been done already.

comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

I did not find any reports of kernel panics in their issue tracker so I filed https://gitlab.kitware.com/cmake/cmake/-/issues/25818.

comment:3 Changed 8 months ago by kencu (Ken)

Tweaking our existing patch blocker to force the fork behaviour always on older systems fixes 10.7.

- #if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050)
+ #if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1080)
  uv_once(&posix_spawn_init_once, uv__spawn_init_posix_spawn);
$ port -v installed cmake-devel
The following ports are currently installed:
  cmake-devel @20240322-3.28.4-b5602e72_0 requested_variants='' platform='darwin 11' archs='x86_64' date='2024-03-23T13:17:11-0700'
  cmake-devel @20240322-3.29.1-cff8aefc_0 (active) requested_variants='' platform='darwin 11' archs='x86_64' date='2024-03-24T12:32:08-0700'

So that is a pretty trivial tweak.

It would be much more rewarding to see why the posix_spawn version is causing kernel panics, but -- it may not be overly helpful as they fallback is going to be there forever I think. The performance advantages to using posix_spawn were only seen on the newer systems, so no need for it on older systems anyway.

comment:4 Changed 8 months ago by kencu (Ken)

In be1094bc8810d5776303041e34ae5e022fd755b4/macports-ports (master):

cmake-devel: update libuv patchfile

force fork behaviour on all systems < 10.8
see #67540
see #68718

comment:5 Changed 8 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.