We made a few attempts to fix the __wrap_memcpy() implementation, but ran into either:
1. Missing symbol for __real_memcpy() when linking C++ code to libgpr 2. Another manifestation of the original infinite recursion The upstream implementation changes in versions of grpc has dropped the wrapping implementation because it is only required for historical gcc versions no longer in use: https://github.com/grpc/grpc/commit/34be0d84a99a6b313cef48b4c80e14a0d115d864 https://github.com/grpc/grpc/pull/28410/files I am able to get both the python use case to run to completion: gdb --args python3 -c 'import grpc; from concurrent import futures; grpc.server(futures.ThreadPoolExecutor(max_workers=1))' and avoid linking issues with C++ code by adding one patch to the build: https://github.com/cmcantalupo/grpc/commit/9e1e3f7f08c20b1e9de32b7098d37cfba26a6f03.patch *and* removing the patch named "add-wrap-memcpy-flags.diff" that exists in the ubuntu packaging. This combination is posted here: https://git.launchpad.net/~cmcantal/ubuntu/+source/grpc/commit/?h=ubuntu/jammy&id=63f26f5ac60b8ad66097c9e0914de699e94eb655 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1971114 Title: Ubuntu 22.04 python3-grpcio causes some apps to use 100% of the CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grpc/+bug/1971114/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs