Skip to content

Conversation

@al45tair
Copy link
Contributor

We have two stacks that we set up during crash handling, both of which were potentially misaligned. This only tripped us up on Ubuntu 20.04 on aarch64 - my guess is that maybe clone() aligns the stack pointer on newer kernels which is why we didn't see it on 22.04.

rdar://110743884

We have two stacks that we set up during crash handling, both of
which were potentially misaligned.  This only tripped us up on
Ubuntu 20.04 on aarch64 - my guess is that maybe `clone()` aligns
the stack pointer on newer kernels which is why we didn't see it
on 22.04.

rdar://110743884
@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

@al45tair
Copy link
Contributor Author

I ran the backtracing tests for this PR on my (temporary) Ubuntu 20.04-aarch64 box:

$ utils/run-test --build-dir ../build/Ninja-RelWithDebInfoAssert/swift-linux-aarch64 --param backtracing test/Backtracing
...
Testing Time: 7.12s
  Unsupported:  1
  Passed     : 13

4 warning(s) in tests

@al45tair al45tair merged commit d06e8c9 into swiftlang:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants