coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Arnaud Spiwack <aspiwack AT lix.polytechnique.fr>
- To: Michael Ganem <michael.ganem AT gmail.com>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Stack overflow with byte code compilation
- Date: Mon, 20 Jan 2014 14:47:54 +0100
For what it's worth, the problem occurs in the printer:
will compute properly. On the other hand,
will fail with a stack overflow (tested in a recent trunk).
I have no idea what the problem is (it's not notation folding as Set Printing All doesn't help).
--
Arnaud Spiwack
Compute (let x:=computation1 in (fst x) + (snd x) - (snd x))
will compute properly. On the other hand,
Compute (snd computation1).
will fail with a stack overflow (tested in a recent trunk).
I have no idea what the problem is (it's not notation folding as Set Printing All doesn't help).
--
Arnaud Spiwack
On 19 January 2014 08:38, Michael Ganem <michael.ganem AT gmail.com> wrote:
Hi,
I try to run the following:
Definition computation1 :=
(fun f h p => f (f (f h)) p)
(fun g p => g (g p))
(fun p => match p with (x, y) => (x+1, (x+1) * y) end)
(0, 1).
Compute computation1.
on a Ubuntu machine. In this machine, Coq is compiled in byte code.
And I got "Stack overflow."
I try:
- This calculation on another machine where Coq is compiled in native and it is ok.
- In the same machine than 1, I compile Coq in byte code and got also "Stack overflow." on the calculation.
- In the original machine, I try to increase the stack limit using : ulimit -s 32000 and still the same problem.
The original machine is a ubuntu/ARM and the second machine is ubuntu/x86.
I did not manage to compile in native mode Coq on my original machine that s why I compiled it in byte code.
The problem seems to be linked to byte code compilation.
Has anyone a tip for this?
thanks,
Michael
- [Coq-Club] Stack overflow with byte code compilation, Michael Ganem, 01/19/2014
- Re: [Coq-Club] Stack overflow with byte code compilation, J. Ian Johnson, 01/20/2014
- Re: [Coq-Club] Stack overflow with byte code compilation, Arnaud Spiwack, 01/20/2014
Archive powered by MHonArc 2.6.18.