From: Matthieu Wipliez <mwipliez@yahoo.fr>
To: caml-list@yquem.inria.fr
Subject: Re : [Caml-list] cywgin stack overflow
Date: Wed, 13 Jun 2007 08:21:22 +0000 (GMT) [thread overview]
Message-ID: <640504.63997.qm@web27009.mail.ukl.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]
Hello,
I don't know what is the problem, but if you want to increase the stack size, here's what you can do:
For a 10MB stack:
Using gcc: ocamlopt.opt -ccopt "-Wl,--stack -Wl,10485760" (other options)
Using MSVC cl: ocamlopt.opt -ccopt "/F10485760" (other options)
(I had to do that in a program so that Marshal'ing would not fail).
Hope that helps,
Matthieu
----- Message d'origine ----
De : skaller <skaller@users.sourceforge.net>
À : caml-list@yquem.inria.fr
Cc : Rhythmic Fistman <rfistman@gmail.com>; Emmanuel Onzon <emmanuel.onzon@ens-lyon.fr>
Envoyé le : Mercredi, 13 Juin 2007, 9h34mn 32s
Objet : [Caml-list] cywgin stack overflow
Hi, we've got a problem with an Ocaml native code program running under
Cygwin exiting without producing output or diagnostics. I think
Cygwin is running Ocaml 3.08. It was suggested
this was probably a stack overflow. The program is Dypgen GLR
parser generator, which is probably heavily recursive. It works
fine on my AMD64/Ubuntu Linux box, Ocaml 3.10-dev+25 or something.
Does anyone know how to increase the stack size, or have any other
idea how to work around this problem? Or any idea if it could
be any other problem?
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
_______________________________________________
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
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
[-- Attachment #2: Type: text/html, Size: 2693 bytes --]
reply other threads:[~2007-06-13 8:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=640504.63997.qm@web27009.mail.ukl.yahoo.com \
--to=mwipliez@yahoo.fr \
--cc=caml-list@yquem.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