-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 21.1, 21.3.8, 22.0.1
-
Fix Version/s: OTP-21.3.8.3, OTP-22.0.2
-
Component/s: stdlib
-
Labels:None
`io_lib:format/3` crash with `chars_limit` set for complex data structure when format uses new formatter feature `~0p`. Also I found that minor modification in format or in value passed to first `~0p` parameter eliminates crash. Removing `chars_limit` also eliminates crash.
You can find code that crash ErlangVM attached to this issue.