Closed
Description
While trying to debug #52629, I've hit an abort()
condition when an Arc
count wrapped around (it was being dropped twice). At least on macOS it causes the following message to be printed when testing:
error: process didn't exit successfully: `/binary/path` (signal: 4, SIGILL: illegal instruction)
To me this doesn't say that the process was aborted, in fact I though this was a problem with the code being generated. Only after running the code with lldb did I find out that this was actually caused by a call to abort
.
So my suggestion is to add some minimal logging that the process was aborted, atleast in debug mode. Just a minimal "aborted process" would done. Maybe this needs a RFC, but I though to start small.
P.S: is the printed error message any better on other Oses?