pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
113 stars 68 forks source link

VM crashes on M1 Mac running Sonoma 14.5 #835

Open f-prime opened 2 months ago

f-prime commented 2 months ago

I have an M1 Mac running Sonoma 14.5. I am able to start the VM with a 12.0 image and execute code, but when I attempt to install a package via Metacello the VM crashes with a segmentation fault:

PharoVM version:5.0-Pharo 10.3.0 built on Jun 28 2024 10:46:14 Compiler: Apple LLVM 12.0.5 (clang-1205.0.22.9) Apple LLVM 12.0.5 (clang-1205.0.22.9) [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker-tonel.1 uuid: 74b785ff-50d8-0d00-86f4-c64e0df24b96 Jun 28 2024
 With:StackToRegisterMappingCogit VMMaker-tonel.1 uuid: 74b785ff-50d8-0d00-86f4-c64e0df24b96 Jun 28 2024
 Revision: v10.3.0 - Commit: ce151716 - Date: 2024-06-28 10:12:41 +0200

This is followed by a stacktrace.

I have tried this on other M1 machines running 12.x and an M3 machine that was also running 14.5. In both cases there were no issues and everything worked as it should. But on my machine I am getting these segfault issues.

I have tried updating the VM via the launcher which does not fix the issue. I have also tried installing without the launcher via the following command: wget -O- https://get.pharo.org/120+vm | bash, but that doesn't resolve the issue either.