[SR-8249] Crash when accessing JSONDecoder userInfo dictionary #50781
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
optimized only
Flag: An issue whose reproduction requires optimized compilation
run-time crash
Bug → crash: Swift code crashed during execution
Attachment: Download
Environment
iOS 11.3.0, iPhone 5S
Xcode 9.4.1 (9F2000)
MacOS High Sierra 10.13.5
Happening only in Release build, not in debug mode
Additional Detail from JIRA
md5: d9ee99b5827849c27fe10ac0d59e741c
Issue Description:
Hi,
I'm experiencing a crash happening when using the userInfo dictionary in the `JSONDecoder` object.
The code which is crashing is the following:
The crash is the following:
And the stack trace for this thread is the following
In attachment the debugger tab
The text was updated successfully, but these errors were encountered: