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
root@docker-desktop:/data# python -q -X faulthandler overflow.py
Fatal Python error: Segmentation fault
Current thread 0x00007fe4aeca6740 (most recent call first):
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 860 in _read_ready__data_received
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 803 in _read_ready
File "/usr/local/lib/python3.8/asyncio/events.py", line 81 in _run
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1855 in _run_once
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 567 in run_forever
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 599 in run_until_complete
File "/usr/local/lib/python3.8/asyncio/runners.py", line 43 in run
File "overflow.py", line 17 in <module>
Segmentation fault
But, adding at least a single number at the end of the trailing zeros ensure the query runs correctly.
The size of the output buffer in numeric decoder is computed incorrectly
which may lead to stack corruption or access to unitialized memory.
This also fixes incorrect rendering of trailing zeros in some cases.
Fixes: #520Fixes: #514
The size of the output buffer in numeric decoder is computed incorrectly
which may lead to stack corruption or access to unitialized memory.
This also fixes incorrect rendering of trailing zeros in some cases.
Fixes: #520Fixes: #514
0.20.0
11
&12
the issue with a local PostgreSQL install?:
AWS RDS (pg 11) & Local (pg 12)
3.8.1
Mac
&Debian 10
No
Yes
Did not build locally
uvloop?:
Yes
asyncpg fails in a segmentation fault when querying rows that contain large numeric values with trailing zeros.
This results in
But, adding at least a single number at the end of the trailing zeros ensure the query runs correctly.
The text was updated successfully, but these errors were encountered: