Thread overview
[Issue 24407] OSX: ld: Assertion failed: (slot < _sideTableBuffer.size()), function addAtom
Feb 24
Dlang Bot
Feb 24
Dlang Bot
Mar 01
Dlang Bot
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend, ice-on-valid-code
                 CC|                            |ibuclaw@gdcproject.org

--
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Iain Buclaw from comment #0)
> Seen on macOS 13, with the Xcode 15 linker
Specifically: Xcode 15.0.1

There has been a number of similar crashes with GCC too.

https://github.com/actions/runner-images/issues/9273 https://forums.developer.apple.com/forums/thread/737707

Current status of that is Xcode fixed their linker in 15.1.

There is reasonable doubt that using the latest version of Xcode will fix this issue too, as the backtraces are subtly different.

--
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=24122

--
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Test passes on Xcode 15.1!

I don't see it being worth it looking any further into what and why 15.0 ICE's, as everything points to a genuine bug in that macOS linker.

--
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw updated dlang/dmd pull request #16240 "[stable] GHA: Bump Xcode version to 15.1 for macOS-13 jobs" fixing this issue:

- Fix Bugzilla 24407 - OSX: ld: Assertion failed: (slot <
_sideTableBuffer.size()), function addAtom

https://github.com/dlang/dmd/pull/16240

--
February 24
https://issues.dlang.org/show_bug.cgi?id=24407

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #16240 "[stable] GHA: Bump Xcode version to 15.1 for macOS-13 jobs" was merged into stable:

- 927f931df1b3cc16495f81cba1358e5e6c602586 by Iain Buclaw:
  Fix Bugzilla 24407 - OSX: ld: Assertion failed: (slot <
_sideTableBuffer.size()), function addAtom

https://github.com/dlang/dmd/pull/16240

--
March 01
https://issues.dlang.org/show_bug.cgi?id=24407

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #16276 "merge stable" was merged into master:

- 65db10cf920c3519553a2a499230c994d6db2f5c by Iain Buclaw:
  Fix Bugzilla 24407 - OSX: ld: Assertion failed: (slot <
_sideTableBuffer.size()), function addAtom

https://github.com/dlang/dmd/pull/16276

--