[issue42891] segfault with gunicorn and a library made with cython bindings

Amirouche Boubekki report at bugs.python.org
Mon Jan 11 10:01:04 EST 2021


Amirouche Boubekki <amirouche.boubekki at gmail.com> added the comment:

You need to run the program with the following:

  python -X dev -c "from gunicorn.app.wsgiapp import run; run()" --workers=1 foobar:app

where foobar.py is the code from the previous message.

The crash happen when, the function `app` is executed, hence you need to call in another console:

curl http://localhost:8000

note: lsm package can be installed with pip install lsm-db
note2: lsm db can not be installed with py3.9

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42891>
_______________________________________


More information about the Python-bugs-list mailing list