Skip to content
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

[SR-16046] A test from NIO segfaults on Android armv7 when cross-compiled with the official Swift 5.6 release for Ubuntu 20.04 x86_64 #58307

Closed
finagolfin opened this issue Mar 23, 2022 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella

Comments

@finagolfin
Copy link
Contributor

Previous ID SR-16046
Radar None
Original Reporter @buttaface
Type Bug
Environment

Built on Ubuntu 20.04 x86_64, runs on Android 12 AArch64 in AArch32 mode

Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug
Assignee None
Priority Medium

md5: 93ad93ca919af1f8e8fec1e4c8d8de9c

Issue Description:

I'm unable to reproduce when cross-compiling the same NIO trunk commit aa631d3 with Swift 5.5.3, suggesting this is a recent regression. This is the stack trace for the failing test testSendmmsgLotsOfData(), from a stock lldb without Swift support that runs on Android:

(lldb) bt

I build the NIO test runner by following the instructions for my Android SDK, all other NIO tests that passed with Swift 5.5.3 also pass with 5.6.

@nate-chandler, maybe you know what's going on with the metadata caching here. @Lukasa, you may want to investigate on watchOS or any other remaining 32-bit ARM platforms and see what's going on.

@Lukasa
Copy link
Contributor

Lukasa commented Mar 23, 2022

Thanks for the tag. I don't think this is likely to have anything to do with NIO though: this seems like a straightforward runtime crash.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@finagolfin
Copy link
Contributor Author

I'm not seeing this with Swift 5.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants