This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: segfault in scm_gc_mark?
- To: Lynn Winebarger <owinebar at free-expression dot org>
- Subject: Re: segfault in scm_gc_mark?
- From: Lars Arvestad <arve at nada dot kth dot se>
- Date: 03 Nov 1999 15:27:49 +0100
- Cc: Greg Harvey <Greg dot Harvey at thezone dot net>, guile at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.9911030917370.10213-100000@se232.math.indiana.edu>
LW> I've updated to the CVS version (last night), and compiled with
LW> debugging turned on. Now it recognizes the whole stack, which is helpful.
LW> What kinds of objects are you referring to? I can't see anything in
LW> my code that isn't properly initialized, at least in terms of what I've
LW> malloc'ed (which is not much - most of the mallocing is done while loading
LW> the binary and symbol/relocation tables). I don't use any smobs - just
LW> gh_cons, gh_symbol2scm (which isn't really a heap allocation anyway), and
LW> a few C->scheme value converters.
You could be gh_cons'ing a C value and not a SCM value.
Lars
--
Lars Arvestad Dept. of Numerical Analysis and Computing Science
Royal Institute of Technology (KTH), Stockholm, Sweden