-
Notifications
You must be signed in to change notification settings - Fork 426
Cgrpc keeps crashing randomly #852
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
This crash is happening when a call to |
The program is run on iPhone with iOS from 13.3 to 13.5.1. Can you elaborate with do you have in mind with the state of the system? |
So in general As there are no calls to |
Application does not use excessive amounts of memory. The issue is the most apparent when application is being started. I also have to note that crashes have been seen in the middle of application use (not when application is being started, killed or moved to background). |
Are you able to reproduce this crash yourself? |
Not constantly. It's totally random as far as I'm aware. I can add more crash logs if that would help. |
I think if you are at least able to sometimes reproduce this crash it would be good to try to run your app with AddressSanitizer enabled to see if it reports anything. |
I'll try, but I doubt that I'll be able to reproduce the crash deliberately. |
Sorry I'm not able to reproduce the bug with debugger attached. Have you got any news from your side? |
@spookytime what about Thread Sanitizer or Address Sanitizer? |
@weissi haven't seen no errors from Address Sanitizer. |
@spookytime hmm, maybe try Thread Sanitizer? |
@weissi Will do! |
Got some output from Sanitizer:
|
This is a UBSan issue. It's not clear that it is directly causing this behaviour, though undefined behaviour is viral so it could be. Maybe this is a duplicate of grpc/grpc#21466. If it is, that's not terribly encouraging as that issue is closed without resolution. |
Closing, the C-gRPC variant of this library hasn't been supported since ~2018. |
Problem
Application keeps crashing randomly.
Version
Using Swift-Grpc v.0.11.0
Any help to avoid this crash would be much appreciated.
The text was updated successfully, but these errors were encountered: