Opened 2 years ago

Closed 2 years ago

#65693 closed defect (duplicate)

julia @1.8.0+gcc12: SIGKILL on startup on Apple Silicon

Reported by: michaellass (Michael Lass) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: essandess (Steve Smith)
Port: julia

Description

With Julia 1.8.0 there is now a build for arm64 again. However, on my machine I cannot run julia as it immediately crashes with SIGKILL:

 ~ % julia
zsh: killed     julia
 ~ % echo $?
137

Strangely, running julia within lldb does work which makes debugging this a bit hard:

 ~ % lldb /opt/local/bin/julia 
(lldb) target create "/opt/local/bin/julia"
Current executable set to '/opt/local/bin/julia' (arm64).
(lldb) run
Process 10348 launched: '/opt/local/bin/julia' (arm64)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> 

For comparison, I downloaded the official Julia build from https://julialang-s3.julialang.org/bin/mac/aarch64/1.8/julia-1.8.0-macaarch64.dmg and here I have no issues:

 ~ % /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia 
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia>

My mac has an Apple M1 Max and is running macOS 12.5.1.

Change History (2)

comment:1 Changed 2 years ago by michaellass (Michael Lass)

There is a helpful comment on the github change that updated Julia to 1.8: https://github.com/macports/macports-ports/commit/44be7f67926be75e9f958bb8288dead418512373#commitcomment-81609480

And this ticket is certainly a dup of https://trac.macports.org/ticket/64306. Sorry for the noise.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.