-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception unwinding broken with Xcode 15 linker #92297
Comments
Tagging subscribers to this area: @dotnet/area-system-formats-cbor, @bartonjs, @vcsjones Issue DetailsRecently I've started observing a strange behavior when attempting to run tests where first chance exceptions seem to be crashing the test runner. For example, running: Produces:
I don't see any reason this exception should crash the test runner. It's not just in S.F.Cbor. For Tar:
I have my suspicion that the issue is due to upgrade Xcode to Xcode 15 (However I am on macOS 13 still). Currently, I can't run any tests.
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsRecently I've started observing a strange behavior when attempting to run tests where first chance exceptions seem to be crashing the test runner. For example, running: Produces:
I don't see any reason this exception should crash the test runner. It's not just in S.F.Cbor. For Tar:
I have my suspicion that the issue is due to upgrade Xcode to Xcode 15 (However I am on macOS 13 still). Currently, I can't run any tests.
|
cc @janvorli |
@MarcoRossignoli FYI |
This is what I was able to gather with lldb.
Frame 7 looks interesting. If I switch to that I'm not sure what to make of this, but I'm more or less at a point where the runtime repository is not functional on my Mac. |
@nohwnd do you recall if we did some update to the default policy? I'd say not but maybe I'm missing something. |
I don't think so, unless this is another bug caused by migration to arcade, but I don't see how that would happen. |
I downgraded my local Xcode to 14 down from 15 and everything started working, so I don't think the issue is with the test host or test runner. It's something with how dotnet/runtime is getting built. |
The new Xcode 15 linker is going to be fun. I already submitted a fix to make NativeAOT unwinding work. Turns out that the new linker mishandles object files without the I don't think the C compiler can produce files without the flag but I didn't check what the assembly files do. I assumed that would not necessarily matter but perhaps it was a wrong assumption for CoreCLR. |
Can you try if filipnavara@aba0b02 helps? The CBOR tests still fail for me locally but in a different way (all the errors are related to |
I should have known better and thought "I bet @filipnavara knows what is going on and has probably started working on a fix already". When I build your branch with the Xcode 15 toolchain, I get a green run of tests. The DateTimeOffset looks separate to me. I can look at that later. I have a hunch the tests fail if your timezone offset is positive. |
Thanks for external validation! |
Fixed by #92520. |
Recently I've started observing a strange behavior when attempting to run tests where first chance exceptions seem to be crashing the test runner.
For example, running:
./dotnet.sh test src/libraries/System.Formats.Cbor/tests
Produces:
I don't see any reason this exception should crash the test runner.
It's not just in S.F.Cbor. For Tar:
I have my suspicion that the issue is due to upgrade Xcode to Xcode 15 (However I am on macOS 13 still).
Currently, I can't run any tests.
The text was updated successfully, but these errors were encountered: