rebaseall advice sought to solve forking errors.

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 12 11:50:00 GMT 2014


On Mar 12 02:21, Robin wrote:
> Hi all,
>  
> I was getting other fork errors trying to install a drupal theme's gems, but
> thanks to someone on the cygwin IRC I was able to use "peflags -X409600
> `which ruby`" and "rebaseall" to finally get "bundle install" to complete
> without any reported errors. 
> 
> However, now I have another problem with fork errors and nothing I do with
> rebaseall seems to resolve them.
> 
> I'm getting a stream of errors similar to:
> 
> 0 [main] ruby 2360 child_info_fork::abort: address space needed by
> 'fcntl.so' (0x2F0000) is already occupied
> 
> >From reading around I understand that this is because rebaseall does not
> pick up .so files?

No, that's not it.  The rebaseall script is designed to handle the DLLs
of the distro.  It picks up .dll, .so, and .oct files, but it does *not*
pick up any files which weren't installed by Cygwin's setup tool.

> Searching the internet I've found various people's solutions to similar
> problems, including a few from this mailing board. I have tried a variety of
> their suggestions based around 'rebaseall'. The closest I have come to
> getting a positive result on my system is to run 
> 
> BaSe@BaSPCa /cygdrive/c
> $ find users/base/.rvm/ -iname '*.so' > /tmp/ruby.gems.local.so.lst 
        ^^^^^^^^^^^^^^^^^

Use an absolute path here, not a relative path.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140312/4bd0da69/attachment.sig>


More information about the Cygwin mailing list