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: 1839 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
When the Xcaml runtime system is linked with the -linkall option of
ocamlc-3.06, the xcaml executable I get crashes with a segmentation
fault at process initialization. If, on the other hand, I link the
executable without the -linkall option, it runs fine, except for the
fact that it lacks several library modules it should have.
The libraries I'm using are the following:
postgres, which is know to work very well;
cgi, which contains no C code;
and str, num and dynlink coming straight from the ocaml distribution.
My code is definitely not a problem because it runs fine if the -linkall
option is suppressed. Neither is the -linkall option a problem in and of
itself, because I can reproduce the behaviour by issuing equivalent
linking commands using the cmo files as opposed the cmas.
How can I diagnose this segmentation fault? Under what circumstances
exactly are ocaml programs "allowed" to crash with a segmentation fault?
Alex
The text was updated successfully, but these errors were encountered:
Original bug ID: 1839
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
When the Xcaml runtime system is linked with the -linkall option of
ocamlc-3.06, the xcaml executable I get crashes with a segmentation
fault at process initialization. If, on the other hand, I link the
executable without the -linkall option, it runs fine, except for the
fact that it lacks several library modules it should have.
The libraries I'm using are the following:
postgres, which is know to work very well;
cgi, which contains no C code;
and str, num and dynlink coming straight from the ocaml distribution.
My code is definitely not a problem because it runs fine if the -linkall
option is suppressed. Neither is the -linkall option a problem in and of
itself, because I can reproduce the behaviour by issuing equivalent
linking commands using the cmo files as opposed the cmas.
How can I diagnose this segmentation fault? Under what circumstances
exactly are ocaml programs "allowed" to crash with a segmentation fault?
Alex
The text was updated successfully, but these errors were encountered: