Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: TestAbort fails with "panic: BAD: recovered from abort" on windows/arm #29050
windows/arm builder fails
on runtime.TestAbort test with
runtime.TestAbort runs Abort function
As far as I can tell, process containing Abort is suppose to exit at line 18. But windows/arm seems to continue to line 19.
runtime.abort is just a INT $3 on amd64, but on arm it looks like this
Perhaps this code hits exception handler on Windows, where things recover. If that is so, what code should we put into runtime.abort, so it does not recover?
@jordanrh1 please help.
On UNIX systems, this just triggers SIGSEGV and the runtime's
The assembly code seems ok to me, matching the runtime's check.
On Windows, function
I'm not familiar with Windows, but I suspect the
Looks like the fix worked:
Before the fix: