New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamldebug raises remap problem on cygwin #5413
Comments
Comment author: Kakadu Same problem on my machine. $ ./brb.byte build |
Comment author: @damiendoligez This looks like a known problem with flexdll 0.25, which affects the OCaml Cygwin package. But that is version 3.12.0 and not 3.12.1. The Cygwin package will soon be updated to 3.12.1 without the bug. |
Comment author: @xavierleroy The OCaml 3.12.1 package seems to be available in Cygwin now. Could you please upgrade in Cygwin and let us know if the problem persists? |
Comment author: berry OK, I loaded 3.12.1 from another site (mirrors do not seem all up-to-date). Now comes something different: berry@apsara ~ ocamldebugFatal error: exception Invalid_argument("inet_addr_of_string not implemented") |
Comment author: Kakadu berry: same for me
|
Comment author: berry My cygwin install was done yesterday, so it is something else... |
Comment author: @damiendoligez OK, I have the same problem with the new cygwin package. It seems the auto-configure script did the wrong thing when building the package. I'm looking into the problem. |
Comment author: @damiendoligez The new cygwin package is now available (3.12.1-2). Can you try it and let me know if it works for you? |
Comment author: Kakadu fixed. |
Original bug ID: 5413
Reporter: berry
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2012-09-25T18:07:21Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.12.1
Category: ~DO NOT USE (was: OCaml general)
Related to: #5400
Bug description
when calling ocamldebug and running a program, I get
(ocd) run
Loading program... 1 [main] ocamlrun 1624 C:\cygwin\bin\ocamlrun.exe: ***
fatal error - unable to remap \?\C:\cygwin\lib\ocaml\stublibs\dllunix.so to sam
e address as parent: 0x6ECD0000 != 0x0
Stack trace:
Frame Function Args
0028B578 6102796B (0028B578, 00000000, 00000000, 00000000)
0028B868 6102796B (6117EC60, 00008000, 00000000, 61180977)
0028C898 61004F1B (611A7FAC, 61243884, 6ECD0000, 00000000)
End of stack trace
2 [main] ocamldebug 1484 fork: child 1624 - died waiting for dll loading,
errno 11
Unix error : 'fork' failed : Resource temporarily unavailable
(ocd)
I found a few posts on the Web, including one here without reply. They tell to run rebaseall on cygwin and reboot, I did it with no effect.
Best regards,
Gérard Berry
The text was updated successfully, but these errors were encountered: