Thread overview
Segmentation DMD segmentation faults after updating macOS Sequoia to version 15.4.1
1 day ago
confuzzled
1 day ago
Sönke Ludwig
1 day ago
Ben Jones
1 day ago
This is the the version of macos I'm using:
Darwin MacBookPro 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:28:23 PDT 2025; root:xnu-11417.101.15~117/RELEASE_X86_64 x86_64

I have the following versions of D comilers insealled on my machine:
dmd-2.100.2           dmd-2.106.0-beta.1    dmd-2.109.1
dmd-2.101.0           dmd-2.106.1           dmd-2.110.0
dmd-2.101.1           dmd-2.107.0           dmd-2.111.0
dmd-2.103.1           dmd-2.107.1           ldc-1.32.1
dmd-2.104.0           dmd-2.107.1-rc.1      ldc-1.32.2
dmd-2.104.0-beta.1    dmd-2.108.0           ldc-1.39.0
dmd-2.105.0           dmd-2.108.0-rc.1      ldc-1.40.1
dmd-2.105.2           dmd-2.108.1           ldc-1.41.0-beta1
dmd-2.105.3           dmd-2.109.0
dmd-2.106.0           dmd-2.109.0-beta.1

All versions of the dmd compiler except for dmd-2.100.2 results in a segmentation fault when executed:
(dmd-2.111.0)confuzzled@ambpro Projects % dmd
zsh: segmentation fault  dmd

I am currently using ldc-1.41.0-beta1 without issues.
1 day ago
Am 15.05.2025 um 08:18 schrieb confuzzled:
> This is the the version of macos I'm using:
> Darwin MacBookPro 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:28:23 PDT 2025; root:xnu-11417.101.15~117/RELEASE_X86_64 x86_64
> 
> I have the following versions of D comilers insealled on my machine:
> dmd-2.100.2           dmd-2.106.0-beta.1    dmd-2.109.1
> dmd-2.101.0           dmd-2.106.1           dmd-2.110.0
> dmd-2.101.1           dmd-2.107.0           dmd-2.111.0
> dmd-2.103.1           dmd-2.107.1           ldc-1.32.1
> dmd-2.104.0           dmd-2.107.1-rc.1      ldc-1.32.2
> dmd-2.104.0-beta.1    dmd-2.108.0           ldc-1.39.0
> dmd-2.105.0           dmd-2.108.0-rc.1      ldc-1.40.1
> dmd-2.105.2           dmd-2.108.1           ldc-1.41.0-beta1
> dmd-2.105.3           dmd-2.109.0
> dmd-2.106.0           dmd-2.109.0-beta.1
> 
> All versions of the dmd compiler except for dmd-2.100.2 results in a segmentation fault when executed:
> (dmd-2.111.0)confuzzled@ambpro Projects % dmd
> zsh: segmentation fault  dmd
> 
> I am currently using ldc-1.41.0-beta1 without issues.

This is fixed in Druntime, but there hasn't been a new DMD release, yet.

https://github.com/dlang/dmd/pull/21176
1 day ago
On Thursday, 15 May 2025 at 08:57:31 UTC, Sönke Ludwig wrote:
> Am 15.05.2025 um 08:18 schrieb confuzzled:

Also, as I learned on discord, the fix was backported to the ldc version in homebrew.  I had to `brew reinstall ldc` and now ldc works again on macos.