6.2 nightly crashes on Actor.assumeIsolated<A> #80115
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
concurrency
Feature: umbrella label for concurrency language features
crash
Bug: A crash, i.e., an abnormal termination of software
Description
When running our suite of unit tests on Swift 6.2.dev (swiftlang/swift:nightly-main-jammy), our code triggers an assertion which is not triggered on Swift 6.0 or Swift 6.1
description of the issue :
swift-server/swift-aws-lambda-runtime#509
Cause :
The crash is caused by
Concurrency.assumeIsolated
herehttps://github.com/swift-server/swift-aws-lambda-runtime/blob/7322a3694ae8e025b3b4[…]89ad53d0d2f2/Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift
Reproduction
Stack dump
Expected behavior
no crash :-)
Or consistent crash on 6.0 and 6.1
Environment
Swift version 6.2-dev (LLVM 162ee50b401fff2, Swift 57288d1)
Target: aarch64-unknown-linux-gnu
Build config: +assertions
Additional information
This crash happens both on macOS and Linux
I can not reproduce this on 6.0.x or 6.1
The text was updated successfully, but these errors were encountered: