Comment 30 for bug 2042744

Revision history for this message
git.user (git.user) wrote :

looks like kind of use-after-free
I tried to trace it
/usr/lib/python3/dist-packages/eventlet/green/thread.py
...
def get_ident(gr=None):
  traceback.print_stack()
...
and got AttributeError: 'NoneType' object has no attribute 'print_stack'

On the other side if traceback one level up
/usr/lib/python3.10/threading.py
 def acquire(self, blocking=True, timeout=-1):
...
traceback.print_stack()

then last 2 stacks begins with sys.exit() and h.close():

File "/usr/bin/keystone-manage", line 10, in <module>
  sys.exit(main())
....
File "/usr/lib/python3.10/threading.py", line 165, in acquire
  traceback.print_stack()
File "/usr/lib/python3.10/logging/__init__.py", line 2183, in shutdown
  h.close()
...
File "/usr/lib/python3.10/threading.py", line 165, in acquire
  traceback.print_stack()