[issue31426] [3.5] crash in gen_traverse(): gi_frame.ob_type=NULL, called by subtract_refs() during a GC collection

2021-07-20 Thread Victor Zhestkov


Victor Zhestkov  added the comment:

It seems I have the same segfault, but with 3.6.13 python shipped with 
SLE15SP2. It's salt-api process under intensive usage. I'm able to reproduce 
it, but can't isolate due to the service complexity. In some cases it takes 
about 5 minutes to be crashed, but in others it could run with no crash for 
about an hour or more (I keep the workload on this service with a kind of 
stress test).

--
nosy: +vzhestkov
Added file: https://bugs.python.org/file50163/gdb-bt-full.txt

___
Python tracker 
<https://bugs.python.org/issue31426>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31426] [3.5] crash in gen_traverse(): gi_frame.ob_type=NULL, called by subtract_refs() during a GC collection

2021-07-20 Thread Victor Zhestkov


Change by Victor Zhestkov :


Added file: https://bugs.python.org/file50164/py-bt.txt

___
Python tracker 
<https://bugs.python.org/issue31426>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31426] [3.5] crash in gen_traverse(): gi_frame.ob_type=NULL, called by subtract_refs() during a GC collection

2021-07-20 Thread Victor Zhestkov


Change by Victor Zhestkov :


Added file: https://bugs.python.org/file50165/gbd-bt-brief.txt

___
Python tracker 
<https://bugs.python.org/issue31426>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38091] Import deadlock detection causes deadlock

2021-07-20 Thread Victor Zhestkov


Victor Zhestkov  added the comment:

I ported the fix from 
https://github.com/python/cpython/commit/6daa37fd42c5d5300172728e8b4de74fe0b319fc
 for 3.6 and 3.8 shipped with SLE 15SP2 and openSUSE Tumbleweed, but it seems 
that this fix doesn't help.
I have a deadlocks on running `salt-api` process managing `salt-ssh` systems 
with high workload. The service can get the deadlock in first 5 minutes or 
after 3-60 minutes of running the service with the same workload with almost 
equal chances.

Here is the part of py-bt I see each time:

(gdb) py-bt
Traceback (most recent call first):
  File "", line 107, in acquire
  File "", line 158, in __enter__
  File "", line 595, in _exec
  File "", line 271, in _load_module_shim
  File "", line 852, in load_module
  File "", line 1027, in load_module
  File "", line 1034, in 
_check_name_wrapper
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 4779, in 
_load_module
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1926, in 
_inner_load
if self._load_module(name) and key in self._dict:
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2193, in _load
  File "/usr/lib/python3.8/site-packages/salt/utils/lazy.py", line 99, in 
__getitem__
if self._load(key):
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1283, in 
__getitem__
func = super().__getitem__(item)
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1139, in 
__getitem__
return self._dict[key + self.suffix]
  File "/usr/lib/python3.8/site-packages/salt/template.py", line 495, in 
check_render_pipe_str
  File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1428, in render
f_noext,
  File "/usr/lib/python3.8/site-packages/salt/pillar/__init__.py", line 781, in 
__init__
...

--
nosy: +vzhestkov

___
Python tracker 
<https://bugs.python.org/issue38091>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com