STINNER Victor <vstin...@python.org> added the comment:
This bug report mentions Python 3.5 and 3.6 which no longer accept bugfixes. Since nobody reported issues on Python 3.9 and newer (which still accept bugfixes), I close the issue as out of date. Victor Zhestkov: > 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). See my notes to debug crashes happening during GC collections: https://pythondev.readthedocs.io/debug_tools.html#debug-crash-in-garbage-collection-visit-decref You can try to use a way smaller GC threshold: call gc.set_threshold(5) at the very beginning of your application. I strongly advice you to use a debug mode of Python, since it includes way more debug modes. I also strongly advice you to upgrade Python. I added many debug checks for object consistency in the GC in recent Python releases (3.8, 3.9, 3.10) and when a bug arises, Python dumps way more information about the faulty Python object. Good luck for debug it. But please don't comment this closed issue. Python 3.6 is no longer supported. ---------- resolution: -> out of date stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com