Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001615OCamlOCaml generalpublic2003-03-28 13:572013-08-30 23:18
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001615: ocamlc 3.06 crashes with -g, ok without
DescriptionI'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$

TagsNo tags attached.
Attached Files

- Relationships
related to 0005920closed ocamlc linking failed due to Invalid_argument of String.create when with -g 

-  Notes
(0002676)
administrator (administrator)
2003-05-23 07:06

>> 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.

(0002677)
administrator (administrator)
2003-05-23 11:25

> 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
(0002678)
administrator (administrator)
2003-05-25 17:42

>> 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.

(0002679)
administrator (administrator)
2003-05-26 14:53

Couldn't reproduce.

- Issue History
Date Modified Username Field Change
2005-11-18 10:14 administrator New Issue
2013-08-30 23:18 doligez Relationship added related to 0005920


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker