Ask Your Question
1

'Error: Could not fork child process' while opening Sage

asked 2019-07-16 20:23:49 +0100

Robert H gravatar image

Hello,

SageMath 8.8 worked just fine but for a few days now whenever I open the console I get the following error:

Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.

I reinstalled a few times with no luck. My Windows 10 has been updated recently so perhaps it is something in the latest update that interferes? Appreciate if anyone got around this.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-07-17 21:43:05 +0100

vdelecroix gravatar image

It is very likely that your last update broke cygwin (which is a program on which SageMath depends on). The solution to your problem is described on the Cygwin wiki. The command line have to be run in a Cygwin console (you can google if you don't know how to open one).

edit flag offensive delete link more

Comments

1

Thank you. However, this only worked together with the following (for those in the same boat):

  1. On Windows 10. Go to Windows Security/defender settings
  2. Go to Apps and Browser control
  3. Go to Exploit protection settings
  4. Switch OFF Force randomization for Images (mandatory ASLR)
  5. Switch OFF Randomize memory allocations (bottom-up ASLR)

After Restart Sage works like a charm.

Robert H gravatar imageRobert H ( 2019-07-18 12:05:38 +0100 )edit

Another possibility, which I've seen many times, is some virus scanners will attack and/or interfere with Sage ("bash.exe? That's a hacker tool! There's no reason that should be on Windows!), so it's best to add an exclusion in your virus scanner, if you have one, for Sage's install directory.

Iguananaut gravatar imageIguananaut ( 2019-07-18 16:26:00 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-07-16 20:23:49 +0100

Seen: 1,089 times

Last updated: Jul 17 '19