﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1221	Large / many constants cause segfaults	sjamaan		"When compiling a Scheme program containing ""many"" constants that are reasonably large, the resulting binary will segfault.

{{{
#!scm
(use-for-syntax srfi-1)

(define-syntax generate-literals
  (ir-macro-transformer
    (lambda (i r c)
     `(begin 
        ,@(list-tabulate
            1000
            (lambda (x) 
              `(define ,(gensym) (quote ,(make-vector 1000)))))))))

(generate-literals)
}}}

This happens with vectors as well as lists (but not strings, because those are allocated statically with {{{malloc()}}})"	defect	new	critical	4.11.0	unknown	4.9.x				
