You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1708 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
I had a problem with the Ocaml interpreter segfaulting on Windows 98.
This is with cygwin and Ocaml 3.06. It may be related to incoming/1702
which involves exception handling, but one particular exception in a
compiled module in Linux. My problem was triggered by any exception or
syntax error. After installing a debug build, I find the problem has gone!
The pre-compiled windows interpreter is okay. I also compiled a version
with cygwin in Windows 2000 and that was okay.
Some other things for the documentation -- executable files have to be
named with the ".exe" in Windows. So, an example to compile a file is
Original bug ID: 1708
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I had a problem with the Ocaml interpreter segfaulting on Windows 98.
This is with cygwin and Ocaml 3.06. It may be related to incoming/1702
which involves exception handling, but one particular exception in a
compiled module in Linux. My problem was triggered by any exception or
syntax error. After installing a debug build, I find the problem has gone!
The pre-compiled windows interpreter is okay. I also compiled a version
with cygwin in Windows 2000 and that was okay.
Some other things for the documentation -- executable files have to be
named with the ".exe" in Windows. So, an example to compile a file is
ocamlc -o fib.exe fib.ml
and to compile that debug build, I ran
make ocamlrund.exe
and so on.
Here's a dump I got --
Exception: STATUS_ACCESS_VIOLATION at eip=00403444
eax=0000001B ebx=0000001B ecx=0000001B edx=5C3D7375 esi=00000000
edi=610AD44F
ebp=0075FB18 esp=0075FB10 program=D:\CYGWIN\USR\LOCAL\BIN\OCAMLRUN.EXE
cs=0167 ds=016F es=016F fs=5207 gs=0000 ss=016F
Stack trace:
Frame Function Args
0075FB18 00403444 (0000001B, 00A205F0, 0075FB48, 00000000)
0075FB38 0041338A (00AC0768, 00000001, 00403432, 004061C5)
0075FB58 004034A1 (00000003, 00000017, 00000001, 0099AA24)
0075FCE8 004108F9 (009F9948, 000C6CC4, 0040CD9E, 00000050)
0075FD58 0040D02B (615F2218, 00000000, 0075FDB8, 61007408)
0075FD68 00401D33 (00000001, 615F2218, 00990328, 0075FD9C)
0075FDB8 61007408 (610D1F58, FFFFFFFE, 00000008, 610D1E7C)
0075FE08 610076ED (00000000, 00000000, BFFC9490, 0075FF68)
0075FE28 00416A42 (00401D10, 037F0500, 0075FF78, BFF8B560)
0075FE38 0040103C (00000000, 818B1488, 00550000, 6D61634F)
0075FF78 BFF8B560 (818B1658, 00000008, 818B1488, 00000000)
87 [main] ocaml 977625 handle_exceptions: Error while dumping
state (probably corrupted stack)
The text was updated successfully, but these errors were encountered: