-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: read_sas segfault #44216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you able to share a SAS file to reproduce this issue? |
Please see attachment, thank you. |
When I read the entire file (without chunksize), I can re-producde the segfault on master. With chunksize, I get a
|
I changed the Chinese test data into English, you can try again, thank you! |
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
Hi teams, when I use read_sas to read my SAS dataset, it always occur segmentation fault in for loop

Expected Behavior
It should print every chunksize with 5,000 rows in for loop.
Installed Versions
INSTALLED VERSIONS
commit : 945c9ed
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17763
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : zh_TW.UTF-8
LOCALE : Chinese (Traditional)_Taiwan.950
pandas : 1.3.4
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.2.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
The text was updated successfully, but these errors were encountered: