-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: "fatal error: signal_recv: inconsistent state" crash on ios/arm64 #46466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I modified Shall we check the return value of |
Yes. |
At least, yes, try that, and see if it fixes the problem. Thanks. |
I've made a code change in
Updated at 2021-06-10 to remove the check to |
Same issue in macos/amd64 |
You have a reproducer for macos that does not require gomobile? |
Not yet. Maybe @jim3ma have one? |
Any news on the goodness of the proposed fix? |
Due to the fact that we haven't found a way to consistently reproduce the issue, we haven't observed that the new logic have been triggered by now. We'll continue testing until we get enough evidences. Will let you know ASAP. |
Emm, observed many times, but can not consistently reproduce the issue. |
@jim3ma It doesn't have to consistently reproduce. As long as it fails somewhat frequently, that would be very helpful. Thanks! |
@dr2chase @cherrymui @ianlancetaylor Confirmed: the proposed patch (with an update to drop the check to sig.state) can fix the mentioned crash. |
Same issue on our iOS App which causing crashes with |
@stonelgh Thanks for testing and reporting back. |
Change https://golang.org/cl/326778 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Make a library for a iOS App with the latest gomobile. The program crashes a lot of times with the following output:
We haven't found a way to consistently reproduce the failure. It usually crashes when users try to resume the app.
What did you expect to see?
The app is resumed and runs normally.
What did you see instead?
The app crashed.
The text was updated successfully, but these errors were encountered: