Closed jugu1991 closed 5 months ago
Is this reproducible and does it happen with Swift 5.10?
@0xTim Cannot reproduce, also occurs sporadically in swift 5.9.2, possibly due to unexpected exceptions such as receiving messages that are not in JSON format.
It shouldn't matter what format the messages are in, JSON messages are an application concern rather than framework concern.
The crash is definitely a Swift bug - even if there is a bug it shouldn't crash - so I'd recommend updating to the latest Swift version and see if that fixes it
Describe the issue
Runtime crashes in vapor project
Vapor version
4.89.3
Operating system and version
ubuntu20.04
Swift version
Swift version 5.9.2 (swift-5.9.2-RELEASE)
Steps to reproduce
Crash when running in the vapor project, unable to reproduce immediately, it may be sporadic
Outcome
Vapor project crashes, stops running, cpu and memory usage are not high
Additional notes
Crash log: