You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating the requests to v2.32.0, my service started failure and raised the error Segmentation fault. After some debugging and including faulthandler.enable() into my code, I saw the trace is below, and no such as kind problem with version v2.31.0
File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3/util/ssl_.py", line 418 in ssl_wrap_socket
File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3/connection.py", line 419 in connect
File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3/connectionpool.py", line 1058 in _validate_conn
File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3/connectionpool.py", line 404 in _make_request
File "/opt/vpnaas/lib64/python3.11/site-packages/urllib3/connectionpool.py", line 715 in urlopen
File "/opt/vpnaas/lib64/python3.11/site-packages/requests/adapters.py", line 564 in send
File "/opt/vpnaas/lib64/python3.11/site-packages/requests/sessions.py", line 703 in send
File "/opt/vpnaas/lib64/python3.11/site-packages/requests/sessions.py", line 589 in request
File "/opt/vpnaas/lib64/python3.11/site-packages/requests/api.py", line 59 in request
File "/opt/vpnaas/lib64/python3.11/site-packages/requests/api.py", line 73 in get
Expected Result
There is no Segmentation fault
Actual Result
Saw the Segmentation fault randomly.
Reproduction Steps
To help to reproduce the problem, I wrote a script below to simulate my service code. and before executing the script, a certificate is needed and can be generated with command openssl req -x509 -newkey rsa:4096 -keyout client.key -out client.crt -days 365 -nodes
The text was updated successfully, but these errors were encountered:
mingshuang
changed the title
Requests v2.32.0 caused the error Segmentation fault when including the
Requests v2.32.0 caused the error Segmentation fault when including the cert parameter
Jun 19, 2024
@mingshuang there were initially some issues with the first releases of 2.32.x which is why 2.32.0 and 2.32.1 are yanked from PyPI. Can you please try this with 2.32.3 (the latest release) and if the issue is still reproducing there, check this patch https://github.com/psf/requests/pull/6731/files?
After updating the requests to v2.32.0, my service started failure and raised the error
Segmentation fault
. After some debugging and includingfaulthandler.enable()
into my code, I saw the trace is below, and no such as kind problem with versionv2.31.0
Expected Result
There is no
Segmentation fault
Actual Result
Saw the
Segmentation fault
randomly.Reproduction Steps
To help to reproduce the problem, I wrote a script below to simulate my service code. and before executing the script, a certificate is needed and can be generated with command
openssl req -x509 -newkey rsa:4096 -keyout client.key -out client.crt -days 365 -nodes
System Information
The text was updated successfully, but these errors were encountered: