Cygwin问题-无法重新映射;与父母相同的地址 [英] Cygwin issue - unable to remap; same address as parent
问题描述
在尝试启动Rails时收到很多类似您在下面看到的错误...我已经用Google搜索了一下,每个人似乎都建议在ash.exe中使用/.rebaseall或./peflagsall选项,但它们没有为我工作,是的,从那以后我重新启动了机器.有什么想法吗?
Getting a lot of errors like what you see below when trying to start up rails... I've googled a bit and everyone seems to suggest the /.rebaseall or ./peflagsall option in ash.exe but they haven't worked for me, and yes I've restarted the machine since then. Any ideas?
527571817 [main] ruby 5652 C:\cygwin\usr\local\bin\ruby.exe: *** fatal error - unable to remap \\?\C:\cygwin\usr\local\lib\ruby\1.9.1\i386-cygwin\etc.so to same address as parent: 0x3E0000 != 0x3F0000
Stack trace:
Frame Function Args
1BA982E8 6102796B (1BA982E8, 00000000, 00000000, 00000000)
1BA985D8 6102796B (6117EC60, 00008000, 00000000, 61180977)
1BA99608 61004F1B (611A7FAC, 61248664, 003E0000, 003F0000)
End of stack trace
527582673 [unknown (0xD20)] ruby 3680 fork: child 5652 - died waiting for dll loading, errno 11
推荐答案
Same worked for me too: http://ficial.wordpress.com/2011/07/06/cygwin-and-rails-unable-to-remap-to-same-address-as-parent-died-waiting-for-dll-loading-errno-11/
如果URL出现故障,则该过程为:
In case the URL goes down the process is:
-
在Cygwin外壳中:
In a cygwin shell:
find /bin /lib /usr -iname '*.so' > /tmp/to_rebase.lst
find /bin /lib /usr -iname '*.dll' >> /tmp/to_rebase.lst
退出所有cygwin外壳并停止所有cygwin进程
Quit all cygwin shells and stop all cygwin processes
以管理员身份运行C:\ cygwin \ bin \ ash.exe
Run as Administrator C:\cygwin\bin\ash.exe
/bin/rebaseall -T /tmp/to_rebase.lst
出口灰烬
exit ash
重新启动计算机(可能无法运行)
restart machine (may work without)
这篇关于Cygwin问题-无法重新映射;与父母相同的地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!