This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Why does the GC frees my function?
- To: Dimitri Ara <dimitri dot ara at mail dot dotcom dot fr>
- Subject: Re: Why does the GC frees my function?
- From: Michael Livshin <mlivshin at bigfoot dot com>
- Date: 02 Mar 2000 14:29:13 +0200
- Cc: guile at sourceware dot cygnus dot com
- Organization: who? me?
- References: <877lfvo5k6.fsf@toto.debian> <7esnyj2bpe.fsf@zesoi.fer.hr> <87snyis1vt.fsf@toto.debian> <7eema1mtfm.fsf@zesoi.fer.hr> <87ema1rrid.fsf@toto.debian> <7eitzb3n5e.fsf@zesoi.fer.hr> <87zosn50yf.fsf@toto.debian> <m3n1omoxd8.fsf@behemoth.dethfart.org> <87snyaab05.fsf@toto.debian> <200003012220.WAA00731@ossau> <87g0ua47tg.fsf@toto.debian>
Dimitri Ara <dimitri.ara@mail.dotcom.fr> writes:
> SCM version;
...
> version = gh_str02scm (VERSION);
there is a bug in your program: you didn't protect the static location
`version' from the GC.
I doubt that this is what causes your problem, but it's still a bug.
hth,
--mike
--
Hit the philistines three times over the head with the Elisp reference manual.
-- Michael A. Petonic