This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ronaldoussoren
Date 2022-03-01.22:13:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646172812.39.0.680129099449.issue46891@roundup.psfhosted.org>
In-reply-to
Content
The crash itself happens during garbage collection:

% python3.11 -Xdev t.py                                                                                                                               (master)pyobjc-8
Fatal Python error: Segmentation fault

Current thread 0x0000000104ce0580 (most recent call first):
  Garbage-collecting
  <no Python frame>


And when using a debug build and -Xdev:

../Modules/gcmodule.c:2187: visit_validate: Assertion failed: PyObject_GC_Track() object is not valid
Enable tracemalloc to get the memory block allocation traceback

object address  : 0x101a5f690
object refcount : 1
object type     : 0x15503f230
object type name: MyModule
object repr     : <module '?'>

Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized

Current thread 0x00000001019c0580 (most recent call first):
  File "/Users/ronald/Projects/Forks/cpython/build/t.py", line 12 in <module>
zsh: abort      ./python.exe -Xdev t.py
History
Date User Action Args
2022-03-01 22:13:32ronaldoussorensetrecipients: + ronaldoussoren
2022-03-01 22:13:32ronaldoussorensetmessageid: <1646172812.39.0.680129099449.issue46891@roundup.psfhosted.org>
2022-03-01 22:13:32ronaldoussorenlinkissue46891 messages
2022-03-01 22:13:32ronaldoussorencreate