Segmentation fault and other weird issues with s3cmd on Windows
Versions
- PyPy3 -
PyPy 7.3.7 with MSC v.1927 64 bit (AMD64)
(although I trie older versions like7.3.5
,7.3.6
) - Windows - Microsoft Windows Server 2019 Standard
10.0.17763 N/A Build 17763
- S3cmd -
2.1.0
,2.2.0
Issues
PyPy is installed with Scoop I'm getting interesting issues when trying to use s3cmd
:
- Freezing - Most frequent, just hangs forever
- Segmentation fault - crashes almost right away
- Fatal error -
Internal error: TP_NUM_C_BUFS too small: 50
I've gotten this pypy3.exe.stackdump
dump, which might help, but not sure. I have no idea how to debug this further.
All of these issues happen regardless of whether I try to use --help
, --version
, or just upload a file. I've narrowed it down to one specific line using pdb
and spamming next
:
> c:\programdata\scoop\apps\pypy3\current\scripts\s3cmd(3187)<module>()
-> from S3.S3 import S3
(Pdb) n
0 [main] pypy3 1140 C:\ProgramData\scoop\apps\pypy3\current\pypy3.exe: *** fatal error - Internal error: TP_NUM_C_BUFS too small: 50
473 [main] pypy3 1140 cygwin_exception::open_stackdumpfile: Dumping stack trace to pypy3.exe.stackdump
What's interesting is that everything works just with with 32bit version of PyPy, specifically pypy3.7-v7.3.3-win32
.