wsltty icon indicating copy to clipboard operation
wsltty copied to clipboard

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

Open JamesManjaly opened this issue 5 years ago • 6 comments

JamesManjaly avatar Apr 13 '20 13:04 JamesManjaly

Am new to Git. Am trying to study from online resources. The error happen at the first launch of the application immediately after installing.

This is the error message that am getting. Error: Could not fork child process: Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help'.

Thank you for helping me out.

JamesManjaly avatar Apr 13 '20 14:04 JamesManjaly

So you install wsltty latest release (3.1.4.2)? Then click a desktop shortcut? And see that message? Please describe precisely.

mintty avatar Apr 13 '20 15:04 mintty

The problem was with windows defender. After disabling Force randomization for images in windows defender git works perfectly fine.

Thank you.

JamesManjaly avatar Apr 17 '20 10:04 JamesManjaly

Thanks for the info. I've added a note to the project page.

mintty avatar Apr 17 '20 11:04 mintty

Released 3.1.8.

mintty avatar Jun 10 '20 18:06 mintty

Don't know how I missed this issue. Force randomization for images aka. Address Space Layout Randomization (ASLR). ASLR is critical security feature. This can be enabled with -Wl,--dynamicbase linking flag in gcc. Maybe every binaries need to be recompiled with that flag. Maybe every cygwin realm... 🤯 I would discuss with others in cygwin IRC.

Biswa96 avatar Jun 10 '20 18:06 Biswa96

So this issue could be handled transparently by mintty/wsltty? Without configuring Windows? Would be great. However, as I do not experience the issue myself, I'd also have to rely on someone else's testing to verify that makes a difference.

mintty avatar Jun 11 '20 07:06 mintty