www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Segmentation DMD segmentation faults after updating macOS Sequoia to

reply confuzzled <con fuzzled.com> writes:
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 14
parent reply =?UTF-8?Q?S=C3=B6nke_Ludwig?= <sludwig outerproduct.org> writes:
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
next sibling parent reply Ben Jones <fake fake.fake> writes:
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 15
next sibling parent reply confuzzled <con fuzzled.com> writes:
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."
May 18
parent Gary Chike <chikega gmail.com> writes:
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.
May 28
prev sibling parent Jon Degenhardt <jdegenhardt ebay.com> writes:
On Thursday, 15 May 2025 at 16:46:49 UTC, Ben Jones wrote:
 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.
Thanks for posting. Had the same problem after upgrading to 15.4.1. This solution allowed me to continue. --Jon
Jun 03
prev sibling parent confuzzled <con fuzzled.com> writes:
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 18