Status: New
Owner: ----
New issue 2060 by samth0: Segmentation fault when using code compiled with
contracts.coffee
http://code.google.com/p/v8/issues/detail?id=2060
The attached code (which computes the factorial of 8 using church numerals)
segfaults when run as follows:
% shell --harmony church_harness.js
Segmentation fault
The following files are attached:
church2.coffee (original coffeescript source, just for reference)
church2.js (preprocessed output of coffeescript/contracts.coffee compiler)
contracts.js (contracts library)
church_harness.js (loading script)
Changing 8 to 7 in church2.coffee/church2.js causes the program to run
successfully.
Attachments:
church2.coffee 760 bytes
church_harness.js 92 bytes
church2.js 2.9 KB
contracts.js 46.5 KB
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev