Avatar
https://github.com/t-ae/memory-crash-test 最小構成作ったんですが上のパッケージをリリースビルドでテストを走らせるとクラッシュします。 この行をコメントインすることでクラッシュしなくなるのでどこかで不当にメモリが開放されてそうです。 https://github.com/t-ae/memory-crash-test/blob/master/Sources/memory-crash-test/Broadcast.swift#L22 printデバッグした感じではtestExampleの終了周りでクラッシュしてるみたいです。 https://github.com/t-ae/memory-crash-test/blob/master/Tests/memory-crash-testTests/memory_crash_testTests.swift#L5-L15 $ swift test -c release [3/3] Linking ./.build/x86_64-apple-macosx/release/memory-crash-testPackageTe… Test Suite 'All tests' started at 2019-03-29 18:38:34.556 Test Suite 'memory-crash-testPackageTests.xctest' started at 2019-03-29 18:38:34.556 Test Suite 'memory_crash_testTests' started at 2019-03-29 18:38:34.556 Test Case '-[memory_crash_testTests.memory_crash_testTests testExample]' started. broadcast: start broadcast: end will exit testExample Exited with signal code 11 誰かなにか分かりませんでしょうか? 環境 $ swift --version Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3) Target: x86_64-apple-darwin18.5.0 $ swift package --version Apple Swift Package Manager - Swift 5.0.0 (swiftpm-14490.60.2)
Contribute to t-ae/memory-crash-test development by creating an account on GitHub.
Contribute to t-ae/memory-crash-test development by creating an account on GitHub.
Contribute to t-ae/memory-crash-test development by creating an account on GitHub.
9:42 AM
アップデート前は動いてたはずなのでswift5コンパイラのバグじゃないかなぁと疑っています。 (edited)