[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 1.9.0 scm_read_hash_extend gc trouble
From: |
Bill Schottstaedt |
Subject: |
Re: guile 1.9.0 scm_read_hash_extend gc trouble |
Date: |
Mon, 22 Jun 2009 10:23:09 -0700 |
> Can you spot some way in which what you are doing
> is different to this?
I believe this is a GC problem; you're doing exactly what I'm doing,
but in a context where the GC is not called. If I place the
skip comment function in its own file, and compile it
with optimization turned off, everything is happy; if
optimization is on (either -O or -O2), it dies. According to
valgrind the problem is in scm_getc -- the SCM_PTAB_ENTRY
pointer "pt" does not point to a valid structure, so the read
and subsuequent write through pt goes off into unallocated
memory. I haven't tracked down the actual problem yet,
but gc-protecting the "port" variable does no good.
- guile 1.9.0 scm_read_hash_extend gc trouble, Bill Schottstaedt, 2009/06/21
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Neil Jerram, 2009/06/21
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Neil Jerram, 2009/06/21
- Re: guile 1.9.0 scm_read_hash_extend gc trouble,
Bill Schottstaedt <=
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Neil Jerram, 2009/06/22
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Bill Schottstaedt, 2009/06/23
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Ludovic Courtès, 2009/06/23
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Neil Jerram, 2009/06/27
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Ludovic Courtès, 2009/06/27
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Ludovic Courtès, 2009/06/29
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Neil Jerram, 2009/06/29
- Re: guile 1.9.0 scm_read_hash_extend gc trouble, Bill Schottstaedt, 2009/06/24
Re: guile 1.9.0 scm_read_hash_extend gc trouble, Thien-Thi Nguyen, 2009/06/23