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 <>
The crash itself happens during garbage collection:

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

Current thread 0x0000000104ce0580 (most recent call first):
  <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/", line 12 in <module>
zsh: abort      ./python.exe -Xdev
Date User Action Args
2022-03-01 22:13:32ronaldoussorensetrecipients: + ronaldoussoren
2022-03-01 22:13:32ronaldoussorensetmessageid: <>
2022-03-01 22:13:32ronaldoussorenlinkissue46891 messages
2022-03-01 22:13:32ronaldoussorencreate