Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 668
    • Issues 668
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Mercurial Paris conference scheduled ! Main event : 2022-09-22. Call for papers deadline: 2022-06-17.

  • PyPy
  • pypypypy
  • Issues
  • #3633

Closed
Open
Created Jan 05, 2022 by Jakub@jakubgs

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 like 7.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.

Edited Jan 05, 2022 by Jakub
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking