Re: Line number and source file names in stack trace, part 1

From: Michael Hohn <>
Date: Thu, 23 Dec 1999 11:55:05 -0700 (MST)

       From: Shiro Kawai <>
       X-Dispatcher: imput version 980905(IM100)
       I just quickly browse the patch file. Looks like you store SCM
       pointer to the Scheme string containing the source file name in
       each cell but don't mark it in GC. Thus the string is
       eventually garbage-collected and becomes an unknown object.

       Try this: in STk_gc_mark, just be fore the big switch, add

This was one of my concerns. Thanks!
     The filename/line feature is very handy to have, but I don't
     know if I want to dedicate 2 words per cell for that purpose.
     If, memory consumption doesn't grow when I turn debugging off
     at run time, it'll be very nice...

That was another concern. It may be better (and more flexible) to
add just a single SCM pointer (1 word) to the obj struct, and use an
alist when needed.

Received on Thu Dec 23 1999 - 19:55:38 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST