You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python test.py
Submitted all 10 to thread executor
^C^\Quit (core dumped)
Stack trace
The program hangs so there is no stack trace, but this is the core dump
$ pystack core core.72129
Using executable found in the core file: /home/temp/bin/python
Core file information:
state: R zombie: True niceness: 0
pid: 72129 ppid: 71086 sid: 71086
uid: 10001 gid: 30001 pgrp: 72129
executable: python arguments: python test.py
The process died due receiving signal SIGQUIT
Traceback for thread 72131 [Has the GIL] (most recent call last):
(Python) File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
(Python) File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
(Python) File "/usr/local/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
(Python) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker
work_item.run()
(Python) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
(Python) File "/home/test.py", line 48, in run
PublisherClient.from_service_account_info(creds)
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/client.py", line 172, in from_service_account_info
return cls(*args, **kwargs)
(Python) File "/home/temp/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 139, in __init__
super().__init__(**kwargs)
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/client.py", line 712, in __init__
self._transport = Transport(
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/transports/grpc.py", line 165, in __init__
self._grpc_channel = type(self).create_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/transports/grpc.py", line 222, in create_channel
return grpc_helpers.create_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/google/api_core/grpc_helpers.py", line 386, in create_channel
return grpc.secure_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/grpc/__init__.py", line 2119, in secure_channel
return _channel.Channel(
(Python) File "/home/temp/lib/python3.10/site-packages/grpc/_channel.py", line 2046, in __init__
self._channel = cygrpc.Channel(
Traceback for thread 72130 [] (most recent call last):
(Python) File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
(Python) File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
(Python) File "/usr/local/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
(Python) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 83, in _worker
work_item.run()
(Python) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
(Python) File "/home/test.py", line 48, in run
PublisherClient.from_service_account_info(creds)
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/client.py", line 172, in from_service_account_info
return cls(*args, **kwargs)
(Python) File "/home/temp/lib/python3.10/site-packages/google/cloud/pubsub_v1/publisher/client.py", line 139, in __init__
super().__init__(**kwargs)
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/client.py", line 712, in __init__
self._transport = Transport(
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/transports/grpc.py", line 165, in __init__
self._grpc_channel = type(self).create_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/google/pubsub_v1/services/publisher/transports/grpc.py", line 222, in create_channel
return grpc_helpers.create_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/google/api_core/grpc_helpers.py", line 386, in create_channel
return grpc.secure_channel(
(Python) File "/home/temp/lib/python3.10/site-packages/grpc/__init__.py", line 2119, in secure_channel
return _channel.Channel(
(Python) File "/home/temp/lib/python3.10/site-packages/grpc/_channel.py", line 2046, in __init__
self._channel = cygrpc.Channel(
(Python) File "/usr/local/lib/python3.10/pkgutil.py", line 639, in get_data
return loader.get_data(resource_name)
(Python) File "<frozen importlib._bootstrap_external>", line 1073, in get_data
Traceback for thread 72129 [] (most recent call last):
(Python) File "/home/test.py", line 60, in <module>
f.result()
(Python) File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 453, in result
self._condition.wait(timeout)
(Python) File "/usr/local/lib/python3.10/threading.py", line 320, in wait
waiter.acquire()
The text was updated successfully, but these errors were encountered:
Environment details
python:3.10.13-bookworm
as the base image3.10.13
23.0.1
google-cloud-pubsub
version:2.19.7
Steps to reproduce
Calling
PublisherClient.from_service_account_info()
from multiple concurrent threads causes the program to hang.Code example
Output
Stack trace
The program hangs so there is no stack trace, but this is the core dump
The text was updated successfully, but these errors were encountered: