joar commented on issue #22533: URL: https://github.com/apache/beam/issues/22533#issuecomment-1231581928
> Do you have a stacktrace of where the test is currently timing out? @gnossen I have a stracktrace from the hung spot with symbols: ``` #0 0x00007ffff7da056d in syscall () from /usr/lib/libc.so.6 #1 0x00007ffff479e496 in absl::lts_20220623::synchronization_internal::FutexImpl::WaitUntil (t=..., val=0, v=0x7ffff0db0340) at third_party/abseil-cpp/absl/synchronization/internal/futex.h:104 #2 absl::lts_20220623::synchronization_internal::Waiter::Wait (this=this@entry=0x7ffff0db0340, t=t@entry=...) at third_party/abseil-cpp/absl/synchronization/internal/waiter.cc:93 #3 0x00007ffff479e3d1 in AbslInternalPerThreadSemWait_lts_20220623 (t=...) at third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc:89 #4 0x00007ffff42c38b8 in absl::lts_20220623::synchronization_internal::PerThreadSem::Wait (t=...) at third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h:107 #5 absl::lts_20220623::Mutex::DecrementSynchSem (t=..., w=<optimized out>, mu=0x555556fd7c38) at third_party/abseil-cpp/absl/synchronization/mutex.cc:579 #6 absl::lts_20220623::CondVar::WaitCommon (this=0x555556fd7c40, mutex=0x555556fd7c38, t=...) at third_party/abseil-cpp/absl/synchronization/mutex.cc:2577 #7 0x00007ffff45221df in gpr_cv_wait (cv=0x555556fd7c40, mu=0x555556fd7c38, abs_deadline=...) at src/core/lib/gpr/sync_abseil.cc:85 #8 0x00007ffff452375b in grpc_core::internal::ThreadState::AwaitThreads (this=0x555556fd7c30) at src/core/lib/gprpp/fork.cc:145 #9 grpc_core::Fork::AwaitThreads () at src/core/lib/gprpp/fork.cc:232 #10 0x00007ffff4540016 in grpc_prefork () at src/core/lib/iomgr/fork_posix.cc:84 #11 0x00007ffff7d72a17 in ?? () from /usr/lib/libc.so.6 #12 0x00007ffff7d720fe in fork () from /usr/lib/libc.so.6 #13 0x00007ffff7fb2066 in subprocess_fork_exec (self=<optimized out>, args=<optimized out>) at /tmp/python-build.20220812191842.128421/Python-3.9.13/Modules/_posixsubprocess.c:844 ``` grpcio installed via 1. `git checkout v1.48.0` (in https://github.com/grpc/grpc) 2. This diff ```diff diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index d93b6c7039..936e4df4db 100644 --- a/src/python/grpcio/commands.py +++ b/src/python/grpcio/commands.py @@ -194,6 +194,7 @@ def try_cythonize(extensions, linetracing=False, mandatory=True): include_dir for extension in extensions for include_dir in extension.include_dirs ] + [CYTHON_STEM], + gdb_debug=True, compiler_directives=cython_compiler_directives) diff --git a/src/python/grpcio/grpc/_grpcio_metadata.py b/src/python/grpcio/grpc/_grpcio_metadata.py index a1e53d7e81..d5d9fe287a 100644 --- a/src/python/grpcio/grpc/_grpcio_metadata.py +++ b/src/python/grpcio/grpc/_grpcio_metadata.py @@ -1,17 +1 @@ -# Copyright 2017 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc/_grpcio_metadata.py.template`!!! - -__version__ = """1.48.0""" +__version__ = """1.48.0""" \ No newline at end of file ``` 3. `GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install --ignore-installed .` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
