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

ocamlc 3.06 crashes with -g, ok without #8081

Closed
vicuna opened this issue Mar 28, 2003 · 4 comments
Closed

ocamlc 3.06 crashes with -g, ok without #8081

vicuna opened this issue Mar 28, 2003 · 4 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 28, 2003

Original bug ID: 1615
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Related to: #5920

Bug description

I've used ocamlc 3.06 under cygwin since it was released and this is the
first time that I have seen this happen.

I have a program that causes ocamlc to crash when it is linked with the
-g flag and completes successfully without.

What additional information can I provide?

quimby-xp$ uname -a
CYGWIN_NT-5.1 quimby-xp 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin
quimby-xp$ ocamlc -g -o cpp_fe.exe str.cma ../ll1a/pvs.cma ../ll1a/ll1a.cma ast.cmo ast_formatter.cmo parser.cmo scanner.cmo main.cmo
Fatal error: exception Invalid_argument("String.create")
quimby-xp$ ocamlc -o cpp_fe.exe str.cma ../ll1a/pvs.cma ../ll1a/ll1a.cma ast.cmo ast_formatter.cmo parser.cmo scanner.cmo main.cmo
quimby-xp$

@vicuna
Copy link
Author

vicuna commented May 23, 2003

Comment author: administrator

I've used ocamlc 3.06 under cygwin since it was released and this is the
first time that I have seen this happen.

I have a program that causes ocamlc to crash when it is linked with the
-g flag and completes successfully without.

I'm going through open bug reports and noticed we haven't asked you for more
details on this one. Do you still have the .cmo and .cma files to reproduce
the crash, and if so would it be possible to send them to me
(Xavier.Leroy@inria.fr)?

Currently, the only explanation I can find is that one of the compilation
units involved is so big that it's debug info occupy more than 16 Mbytes,
But this sounds unlikely.

Best regards,

  • Xavier Leroy

I'm leaving town for several days. I'll take a look when I get back. Thanks.

@vicuna
Copy link
Author

vicuna commented May 23, 2003

Comment author: administrator

I've used ocamlc 3.06 under cygwin since it was released and this is the
first time that I have seen this happen.

I have a program that causes ocamlc to crash when it is linked with the
-g flag and completes successfully without.

I'm going through open bug reports and noticed we haven't asked you for more
details on this one. Do you still have the .cmo and .cma files to reproduce
the crash, and if so would it be possible to send them to me
(Xavier.Leroy@inria.fr)?

Currently, the only explanation I can find is that one of the compilation
units involved is so big that it's debug info occupy more than 16 Mbytes,
But this sounds unlikely.

Best regards,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented May 25, 2003

Comment author: administrator

I've used ocamlc 3.06 under cygwin since it was released and this is the
first time that I have seen this happen.

I have a program that causes ocamlc to crash when it is linked with the
-g flag and completes successfully without.

I'm going through open bug reports and noticed we haven't asked you for more
details on this one. Do you still have the .cmo and .cma files to reproduce
the crash, and if so would it be possible to send them to me
(Xavier.Leroy@inria.fr)?

Currently, the only explanation I can find is that one of the compilation
units involved is so big that it's debug info occupy more than 16 Mbytes,
But this sounds unlikely.

Best regards,

  • Xavier Leroy

I can't find anything related to this. If I encounter this bug again,
I'll resubmit it. Thanks.

@vicuna
Copy link
Author

vicuna commented May 26, 2003

Comment author: administrator

Couldn't reproduce.

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