Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • cffi cffi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • cfficffi
  • Issues
  • #416
Closed
Open
Created Sep 03, 2019 by Bitbucket Importer@bitbucket_importerMaintainer

Python 3.8 segfault: CField_Type does not implement tp_traverse

Created originally on Bitbucket by heimes (Christian Heimes)

The CPython bug https://bugs.python.org/issue38006 describes a segfault on Python 3.8b4 that seems to be caused by a problem in cffi and triggered by the new vector call feature. The segfault occurs when Python shuts down and GC clears weak references

The CFieldObject object of CField_Type can hold a CTypeDescrObject object in its cf_type slot. This turns a CFieldObject into a container object. All container objects must implement GC protocol (Py_TPFLAGS_HAVE_GC, tp_traverse, tp_clear). Victor’s comment https://bugs.python.org/issue38006#msg351037 goes into more details.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking