Open poojavp95 opened 1 month ago
Hi, thanks for reporting this. Can you provide us with some code to help reproduce the segfaults?
Its hard to isolate the piece of code which causes segfaults since its happening randomly after running our python job for around 1 hour or more. I am attaching requirements.txt and core dump file . Any pointers on how to mitigate the issue will be appreciated. requirements.txt core-dump.txt
@poojavp95 Unfortunately, there's not enough info from this backtrace for us to work with. Could you please build the gRPC library from source to help us generate those symbols? You'll need to clone the git repo, then run the following from it:
git submodule update --init --recursive
export GRPC_PYTHON_CFLAGS="-g"
GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install .
What version of gRPC and what language are you using?
grpicio=1.59.0+ , Python 3.10
What operating system (Linux, Windows,...) and version?
Linux ( Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-1068-aws x86_64))
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.10 (Same error with python 3.9.6 as well)
What did you do?
Earlier we were using grpcio=1.48.0 without any issues. Last month we upgraded to grpcio=1.59.0 because of google-ads lib version update and we have started seeing random segfaults happening. Tried using versions 1.59.3, 1.65.5, 1.67.0 etc but all are throwing the same error. Caught a stack trace of one of the segfaults. We cannot downgrade below 1.59.0 as google-ads requires grpcio >= 1.59.0
`
What did you expect to see?
No segfault
What did you see instead?
Segmentation fault
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?