Skip to content
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

Re: exception -> seg fault #8167

Closed
vicuna opened this issue Jun 6, 2003 · 1 comment
Closed

Re: exception -> seg fault #8167

vicuna opened this issue Jun 6, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 6, 2003

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)

@vicuna
Copy link
Author

vicuna commented Jun 16, 2003

Comment author: administrator

Can't reproduce because we don't run Win98.

@vicuna vicuna closed this as completed Jun 16, 2003
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant