From: Christopher Alexander Stein <stein@eecs.harvard.edu>
To: Damien Doligez <damien.doligez@inria.fr>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Out_of_memory
Date: Sat, 18 Dec 2004 13:35:27 -0500 (EST) [thread overview]
Message-ID: <20041218133138.N53182@bowser.eecs.harvard.edu> (raw)
In-Reply-To: <7C7B37CB-50E5-11D9-8EE8-000D9345235C@inria.fr>
Interesting point. It was throwing Out_of_memory half the time
and segfaulting the other half (in caml_oldify_mopup), then I
carefully read through the C <-> OCaml chapter of the manual and
made sure my C library code is consistent with the rules outlined
there. Since those changes, it no longer throws Out_of_memory and
always segfaults in caml_oldify_mopup. I will take a look at
camldebug.
Thanks,
Lex
On Sat, 18 Dec 2004, Damien Doligez wrote:
> > Program received signal SIGSEGV, Segmentation fault.
>
> I'm not sure I understand how this segfault can translate to an
> out-of-memory exception in the bytecode runtime.
>
> -- Damien
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
prev parent reply other threads:[~2004-12-18 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-17 6:44 Out_of_memory Christopher Alexander Stein
2004-12-17 23:12 ` [Caml-list] Out_of_memory Damien Doligez
2004-12-18 8:18 ` Christopher Alexander Stein
2004-12-18 11:10 ` Damien Doligez
2004-12-18 18:35 ` Christopher Alexander Stein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041218133138.N53182@bowser.eecs.harvard.edu \
--to=stein@eecs.harvard.edu \
--cc=caml-list@inria.fr \
--cc=damien.doligez@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox