Thread overview
Segmentation DMD segmentation faults after updating macOS Sequoia to version 15.4.1
May 15
Ben Jones
3 days ago
Gary Chike
May 15
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.
May 15
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
May 15
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.
May 19
On 5/15/25 5:57 PM, Sönke Ludwig wrote:
> Am 15.05.2025 um 08:18 schrieb confuzzled:
> 
> This is fixed in Druntime, but there hasn't been a new DMD release, yet.
> 
> https://github.com/dlang/dmd/pull/21176

Thank you.
May 19
On 5/16/25 1:46 AM, Ben Jones wrote:
> 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.

Yes, thank you. I did say that "I am currently using ldc-1.41.0-beta1 without issues."
3 days ago
I'm using ldc-1.41.0-beta1 as well on my 2019 (Intel) MBP running Sequoia 15.5. It's working well so far. The Warp terminal app with its built in genAI really helped me configure it properly.