Skip to content

Some segfaults in combination with gunicorn, pydantic #417

@avilaton

Description

@avilaton

Hi,
We had been running django with gunicorn + gevent and started seeing a number of segfaults that caused 139 errors. This happened with django running inside a docker container with alpine and

  • python 3.12.3
  • greenlet 3.0.1
    but stopped happening with
  • python 3.12.5
  • greenlet 3.0.3
    we have no clue how and why, and have no way to reproduce it even if we did try a lot.
    Here is a screenshot of gdb showing the (potentially) relevant stacktrace, obtained from a coredump (based on work from @jazzido)
    image (27)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions