Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 654
    • Issues 654
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • 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
  • PyPy
  • pypypypy
  • Issues
  • #2031

Closed
Open
Created Apr 16, 2015 by Bitbucket Importer@bitbucket_importerMaintainer

Building RSqueak (née lang-smalltalk/spyvm) JIT segfaults in GC on Windows

Created originally on Bitbucket by timfel

The RSqueak VM builds and runs fine with JIT on OSX and Linux, but crashes at startup on Windows. Windows build without JIT runs fine. The crashes are always somewhere in GC code, so I tried boehm, minimark, incminimark to no avail.

The different GCs don't crash in the same spot, e.g. boehm triggers a breakpoint somewhere below BOEHM_MALLOC_0_0 when resizing a dictionary, but incminimark crashes in call_footer_shadowstack after a compile and run once. Below are instructions on how to build RSqueak on Windows to reproduce the problem.

For building

git clone https://github.com/HPI-SWA-Lab/RSqueak

Build RSqueak. This can be done, for example, by copying everything in .appveyor/ into the root folder of the repository, editing rsqueak-build.bat to include -Ojit, and then running it from a Visual Studio prompt. Alternatively, build targetrsqueak.py with JIT some other way.

Binary download

http://lively-kernel.org/babelsberg/RSqueak/rsqueak-win32-jit.exe

To reproduce

You need SDL.dll in your PATH or next to the binary (get here: http://www.libsdl.org/release/SDL-1.2.15-win32.zip). Then execute (from the cmdline from within the repo): rsqueak.exe images/Squeak-4.6-vmmaker.bench.image

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