chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Re: [Chicken-bugs] #227: csc segfaults with certain recu


From: Dan Muresan
Subject: [Chicken-users] Re: [Chicken-bugs] #227: csc segfaults with certain recursive sources
Date: Sat, 26 May 2007 18:35:56 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1

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 <address@hidden> | 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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]