-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
x/mobile: iOS framework build with GO randomly hang on iOS #61632
Comments
@hyangah |
Hello, Thanks |
Could you share more information about your code and the failure? How deos your code make cgo calls? Is the failure persistent or sporadic? Could you try building it with newer version of Go, Go 1.21.0? Thanks.
This looks like the program (the Go runtime, or not) intentionally crashing when it is already in a bad condition, like receiving an unhandled signal on a non-Go thread. |
Hello cherrymui, thanks for the support:
Yes if you can narrow this request I can try to share more information about it
Can you narrow you request? Because I don't get it what you are looking for. Thanks!
the problem is not persistent (same user lunching the application again does not have the crash). But the same user may have the same crash again
This is more difficult to do before end of September
So this mean that the GO is intercepting some system signal generated from other part of the application? Can you give to me some more information about this theory? Also, can this behavior be changed somehow? |
Hello @cherrymui do you had the time to view my previus response? Can you give to me a feedback about it? |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
At the moment is not possible to verify with the latest version of GO.
What operating system and processor architecture are you using (
go env
)?The problem appear randomly on ios (GOOS=ios GOARCH=arm64)
What did you do?
We recived a crash report about a thread having a EXC_BAD_ACCESS on iOS, we are not able to reproduce the crash on our laboratory but after several test we think this behaviour is not cause by the frameworks itself rather than some other problem inside the GO stack that we are not able to figure out. The stacktrace report the following information:
All our stacktrace are identical to this one, all try to access to 0x0000000000000038 and all have the same instruction on the thread. The same device does not always have the crash, make it even harder to track.
What did you expect to see?
No crash or some information related to our library
What did you see instead?
Randomly application crash on our userbase
The text was updated successfully, but these errors were encountered: