# Plea for segfault assistance in PythonCall.jl

**URL:** <https://discourse.julialang.org/t/plea-for-segfault-assistance-in-pythoncall-jl/130697>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 14, 2025, 11:02am UTC](https://discourse.julialang.org/t/plea-for-segfault-assistance-in-pythoncall-jl/130697 "2025-07-14T11:02:45Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Post date:** [July 14, 2025, 7:13pm UTC](https://discourse.julialang.org/t/plea-for-segfault-assistance-in-pythoncall-jl/130697/24 "2025-07-14T19:13:04Z")

</div>

Ok I’m now more certain of this hypothesis - we are missing the final two fields from the Python type struct here: [cpython/Include/cpython/object.h at 9363703bd3bf86e363c14a02e3d729caf1e29f44 · python/cpython · GitHub](https://github.com/python/cpython/blob/9363703bd3bf86e363c14a02e3d729caf1e29f44/Include/cpython/object.h#L148)

And specifically `tp_versions_used`, which caused the bug above, is the final (missing) field. It must have been added in Python 3.13.

---

_[View the full topic](https://discourse.julialang.org/t/plea-for-segfault-assistance-in-pythoncall-jl/130697)._
