Repository navigation
Segfault protocol.cpython #104321
Description
Activity
- addedtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
on May 9, 2023 Hello!
Uvicorn is a python third-party package. Did you sure that problem in CPython?Hello, this message indicates that problem was with CPython
segfault at 0 ip 00007ff211e8be35 sp 00007ffdb02aa3e0 error 6 in protocol.cpython-311-x86_64-linux-gnu.so[7ff211e65000+9f000]Error message that you provided shows that segfault occurred in shared library
protocol.cpython-311-x86_64-linux-gnu.sothat is not a part of Python standard library, but possibly a part of some third-party framework you are using. It could be some ofuvicorndependencies or other library you are using together with it. Can you provide a list of requirements for your project? Can you fetch a Python traceback or C stack trace for this error?@chgnrdv requirements.txt
Cant fetch traceback because I cant reproduce this issue, It happens sometimeHello, this message indicates that problem was with CPython
This is not true.
protocol.cpython-311-x86_64-linux-gnu.so[7ff211e65000+9f000]
protocol.cpython-311-x86_64-linux-gnu.sois the name of a shared library,cpython-311-x86_64-linux-gnuonly indicates its Python version.@vitassuper,
asyncpglibrary hasprotocol.cpython-311-x86_64-linux-gnu.socomponent in it, although I'm not 100% sure about other libraries you are using. Maybe it makes sense to askasyncpgmaintainers:
https://github.com/MagicStack/asyncpg@chgnrdv, thank you, I will check this repo
Reacted by chgnrdvPlease, reopen if you find the source of this bug in CPython itself :)
Crash report
Uvicorn server twice was reloaded
Error messages
In logs on my server I got only
Your environment
Python 3.11.2 (main, Mar 17 2023, 02:19:18) [GCC 10.2.1 20210110] on linux
Linux 0aa90c609aa2 4.15.0-210-generic # 221-Ubuntu SMP Tue Apr 18 08:32:52 UTC 2023 x86_64 GNU/Linux