I have been having a random cygwin error on Windows 7 enterprise for a while, and I have finally been able to correct the issue with a few tedious steps. But so far, after this, I have been running cygwin.


This is the error I kept getting when I was using git from cygwin

$ git svn rebase
    213 [main] perl 9656 C:\usr\bin\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\usr\bin\cygwin\bin\cyguuid-1.dll to same address as parent: 0x980000 != 0xB00000
Stack trace:
Frame     Function  Args
0088B458  6102796B  (0088B458, 00000000, 00000000, 00000000)
0088B748  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0088C778  61004F1B  (611A7FAC, 6124BEC4, 00980000, 00B00000)
End of stack trace
      0 [main] perl 10724 fork: child 9656 - died waiting for dll loading, errno 11
5054680 [main] perl 10600 C:\usr\bin\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\usr\bin\cygwin\bin\cyguuid-1.dll to same address as parent: 0x980000 != 0xA10000
Stack trace:
Frame     Function  Args
0088B458  6102796B  (0088B458, 00000000, 00000000, 00000000)
0088B748  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0088C778  61004F1B  (611A7FAC, 6124BEC4, 00980000, 00A10000)
End of stack trace
5061988 [main] perl 10724 fork: child 10600 - died waiting for dll loading, errno 11

Where the specific error was

213 [main] perl 9656 C:\usr\bin\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\usr\bin\cygwin\bin\cyguuid-1.dll to same address as parent: 0x980000 != 0xB00000

I ran into a cygwin wiki that talks about running a rebaseall

To run dash to rebaseall:
http://cygwin.wikia.com/wiki/Rebaseall

cd C:/cygwin/bin
dash
$ PATH=.
$ rebaseall -v

Then I got this error:

rebaseall: '/cygdrive/c/Users/MKNUTS~1/AppData/Local/Temp' is not writable

So to fix this, I changed the permission on that directory:

chmod 777 /cygdrive/c/Users/MKNUTS~1/AppData/Local/Temp

then running rebaseall -v Succeeded and cygwin is happy again, so I continued onto the the next commands

cd C:\usr\bin\cygwin\bin
dash
$ PATH=.
$ rebaseall -v
$ perlrebase
$ peflagsall

** Command output not included for brevity

Other references to this issue:

http://code.google.com/p/chromium/wiki/CygwinDllRemappingFailure

Mick Knutson

Java, JavaEE, J2EE, WebLogic, WebSphere, JBoss, Tomcat, Oracle, Spring, Maven, Architecture, Design, Mentoring, Instructor and Agile Consulting. http://www.baselogic.com/blog/resume

View all posts

Java / JavaEE / Spring Boot Channel

BLiNC Supporters

BLiNC Adsense

Archives

Newsletter