[<Ray component: Core] Fatal Python error: Segmentation fault #33285
Labels
bug
Something that is supposed to be working; but isn't
core
Issues that should be addressed in Ray Core
@external-author-action-required
Alternate tag for PRs where the author doesn't have labeling permission.
Uh oh!
There was an error while loading. Please reload this page.
What happened + What you expected to happen
I got the following error in the process of using ray, it seems to be caused by the pull strategy of grpcio, can you give me some help?This is an occasional problem, I can't give the code to reproduce
Versions / Dependencies
ray==2.3.0
grpcio==1.32.0
python==3.8.13
Reproduction script
*** SIGSEGV received at time=1678337610 on cpu 12 ***
UserWarning: ks_thres is not input, has set the default value 0.01.
*** SIGSEGV received at time=1678337610 on cpu 10 ***
PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
@ 0x7fe053202090 (unknown) (unknown)
[2023-03-09 12:53:30,446 E 957 30467] logging.cc:361: *** SIGSEGV received at time=1678337610 on cpu 12 ***
[2023-03-09 12:53:30,446 E 957 30467] logging.cc:361: PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
[2023-03-09 12:53:30,446 E 957 30467] logging.cc:361: @ 0x7fe053202090 (unknown) (unknown)
Fatal Python error: Segmentation fault
Stack (most recent call first):
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 813 in _blocking
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 824 in call
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 352 in internal_kv_exists
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 198 in wrapper
File "/usr/local/lib/python3.8/site-packages/ray/_private/function_manager.py", line 213 in export
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 282 in _remote
File "/usr/local/lib/python3.8/site-packages/ray/util/tracing/tracing_helper.py", line 307 in _invocation_remote_span
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 129 in _remote_proxy
File "flex/crypto/paillier/encryptor.py", line 156 in
File "flex/crypto/paillier/encryptor.py", line 156 in encrypt_ray
File "flex/crypto/paillier/encryptor.py", line 120 in _encrypt_numpy
File "flex/crypto/paillier/encryptor.py", line 140 in encrypt
File "flex/cores/distributed_ray.py", line 104 in pailler_encrypt_ray
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108 in run
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 75 in _launch
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 19 in init
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 277 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 224 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 121 in start
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 589 in train_task
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 463 in submit_task
File "/usr/local/lib/python3.8/site-packages/ray/_private/worker.py", line 772 in main_loop
File "/usr/local/lib/python3.8/site-packages/ray/_private/workers/default_worker.py", line 226 in
PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
@ 0x7fe053202090 (unknown) (unknown)
[2023-03-09 12:53:30,449 E 958 30467] logging.cc:361: *** SIGSEGV received at time=1678337610 on cpu 10 ***
[2023-03-09 12:53:30,450 E 958 30467] logging.cc:361: PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
[2023-03-09 12:53:30,450 E 958 30467] logging.cc:361: @ 0x7fe053202090 (unknown) (unknown)
Fatal Python error: Segmentation fault
Stack (most recent call first):
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 813 in _blocking
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 824 in call
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 352 in internal_kv_exists
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 198 in wrapper
File "/usr/local/lib/python3.8/site-packages/ray/_private/function_manager.py", line 213 in export
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 282 in _remote
File "/usr/local/lib/python3.8/site-packages/ray/util/tracing/tracing_helper.py", line 307 in _invocation_remote_span
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 129 in _remote_proxy
File "flex/crypto/paillier/encryptor.py", line 156 in
File "flex/crypto/paillier/encryptor.py", line 156 in encrypt_ray
File "flex/crypto/paillier/encryptor.py", line 120 in _encrypt_numpy
File "flex/crypto/paillier/encryptor.py", line 140 in encrypt
File "flex/cores/distributed_ray.py", line 104 in pailler_encrypt_ray
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108 in run
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 75 in _launch
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 19 in init
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 277 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 224 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 121 in start
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 589 in train_task
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 463 in submit_task
File "/usr/local/lib/python3.8/site-packages/ray/_private/worker.py", line 772 in main_loop
File "/usr/local/lib/python3.8/site-packages/ray/_private/workers/default_worker.py", line 226 in
UserWarning: ks_thres is not input, has set the default value 0.01.
*** SIGSEGV received at time=1678337610 on cpu 30 ***
PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
@ 0x7fe053202090 (unknown) (unknown)
[2023-03-09 12:53:30,471 E 960 30467] logging.cc:361: *** SIGSEGV received at time=1678337610 on cpu 30 ***
[2023-03-09 12:53:30,471 E 960 30467] logging.cc:361: PC: @ 0x7fe04ff8d46a (unknown) pollset_work()
[2023-03-09 12:53:30,471 E 960 30467] logging.cc:361: @ 0x7fe053202090 (unknown) (unknown)
Fatal Python error: Segmentation fault
Stack (most recent call first):
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 813 in _blocking
File "/usr/local/lib/python3.8/site-packages/grpc/_channel.py", line 824 in call
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 352 in internal_kv_exists
File "/usr/local/lib/python3.8/site-packages/ray/_private/gcs_utils.py", line 198 in wrapper
File "/usr/local/lib/python3.8/site-packages/ray/_private/function_manager.py", line 213 in export
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 282 in _remote
File "/usr/local/lib/python3.8/site-packages/ray/util/tracing/tracing_helper.py", line 307 in _invocation_remote_span
File "/usr/local/lib/python3.8/site-packages/ray/remote_function.py", line 129 in _remote_proxy
File "flex/crypto/paillier/encryptor.py", line 156 in
File "flex/crypto/paillier/encryptor.py", line 156 in encrypt_ray
File "flex/crypto/paillier/encryptor.py", line 120 in _encrypt_numpy
File "flex/crypto/paillier/encryptor.py", line 140 in encrypt
File "flex/cores/distributed_ray.py", line 104 in pailler_encrypt_ray
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108 in run
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315 in _bootstrap
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 75 in _launch
File "/usr/local/lib/python3.8/multiprocessing/popen_fork.py", line 19 in init
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 277 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/context.py", line 224 in _Popen
File "/usr/local/lib/python3.8/multiprocessing/process.py", line 121 in start
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 589 in train_task
File "/usr/local/lib/python3.8/site-packages/safe/scheduler/scheduler.py", line 463 in submit_task
File "/usr/local/lib/python3.8/site-packages/ray/_private/worker.py", line 772 in main_loop
File "/usr/local/lib/python3.8/site-packages/ray/_private/workers/default_worker.py", line 226 in
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: