chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1173: Symbols held in GC-roots are sometimes col


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1173: Symbols held in GC-roots are sometimes collected in "symbol-gc" mode
Date: Mon, 08 Feb 2016 09:58:11 -0000

#1173: Symbols held in GC-roots are sometimes collected in "symbol-gc" mode
-----------------------------+-------------------
  Reporter:  felix           |      Owner:
      Type:  defect          |     Status:  new
  Priority:  major           |  Milestone:  5.0
 Component:  core libraries  |    Version:  4.9.x
Resolution:                  |   Keywords:
-----------------------------+-------------------

Comment (by sjamaan):

 I think this has nothing to do with GC roots in particular.  The symbol GC
 is throwing away symbols too eagerly:

 {{{
 $ csi -e '(gc #t) (use posix)' # all good
 $ csi -:w -e '(gc #f) (use posix)' # still good
 $ csi -:w -e '(gc #t) (use posix)' # what the hell

 Error: (require) cannot load extension: posix

         Call history:

         <syntax>          (gc #t)
         <eval>    (gc #t)
         <syntax>          (use posix)
         <syntax>          (##core#require-extension (posix) #t)
         <syntax>          (##core#begin (##core#begin (##sys#require
 (quote posix)) (import posix)) (##core#undefined))
         <syntax>          (##core#begin (##sys#require (quote posix))
 (import posix))
         <syntax>          (##sys#require (quote posix))
         <syntax>          (quote posix)
         <syntax>          (##core#quote posix)
         <syntax>          (import posix)
         <syntax>          (##core#undefined)
         <syntax>          (##core#undefined)
         <eval>    (##sys#require (quote posix)) <--

 }}}

--
Ticket URL: <http://bugs.call-cc.org/ticket/1173#comment:3>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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