I've submitted to Trac.

Interesting... the ticket formatting got screwed up in Trac (it seems that single-newlines are treated as whitespace, while double newlines break paragraphs). Yet the automated e-mail that Trac sent has the correct newlines.

Chicken Scheme wrote:
#227: csc segfaults with certain recursive sources
---------------------------------------------+------------------------------
Reporter: Dan Muresan <[EMAIL PROTECTED]> | Type: defect Status: new | Priority: minor Milestone: | Component: compiler Version: 2.6 | Keywords: ---------------------------------------------+------------------------------
 This is Chicken 2.6 on Linux built from tarball with automake.

 $ cat x.scm
 (require 'y)

 (module x (fx)
    (define fx 10)
 )

 $ cat y.scm
 (require 'x) (require-for-syntax 'x) (import x)

 (define fy 20)

 $ csc -R syntax-case -s x.scm
 $ csc -R syntax-case -s y.scm
 Error: (open-input-file) can not open file - Too many open files: "./x.so"
 Segmentation fault (core dumped)
 *** Shell command terminated with exit status 139:
 /opt/chicken/bin/chicken y.scm -output-file y.c -dynamic -feature
 chicken-compile-shared -quiet -require-extension syntax-case

 If I try to compile x.scm first,

 $ cat x.scm
 Error: (open-input-file) can not open file - Too many open files:
 "./x.scm"

 (no segfault)




_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to