Skip to content

[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

Description

@finagolfin
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.standard libraryArea: Standard library umbrella

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions