-
-
Notifications
You must be signed in to change notification settings - Fork 140
Segfault during schema parsing #207
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
GQL and GraphQL-Core are pure Python packages, which should not create such segmentation faults. It might either be a OOM issue (but even then it should not segfault in Python), or you're using a C extension in some of your dependencies. The garbage collector can be called any time, so it is probably not related to the stack trace that you are seeing here. |
Or maybe you're hitting this bug in Python 3.11.4? |
Thanks for the fast response @Cito! These are good pointers, we could easily be hitting the bug you linked, as it seemed to start happening with our update to that exact Python version. Appreciate the help, I'll close this issue then! |
Hey there,
The package is great and has been super reliable for us so far. However, we're running into an intermittent issue where the python exits with code 139 (segfault).
The relevant part of the stack trace, obtained with Python's builtin
faulthandler
:gql
library, but the issue seems to be insidegraphql-core
Could this be a mislabeled OOM error? I don't think so, but worth considering. Is there anything I could do to profile this better? It's a bit hard as it's running inside a Kubernetes pod and we can't reproduce locally, but I can try.
The text was updated successfully, but these errors were encountered: