This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

markbits out of cells. Help.



Hi,

I felt productive today, and had a try at moving markbits out of the
cells. You can have a look at the result (modulo some small patches by
others, sorry) In

      http://www.cs.uu.nl/~hanwen/software/guile-gc

      (BTW, how do I get rid of all auto-generated junk in my patches
      automatically?)

However, I have trouble in getting it to work: guile crashes in
scm_scan_weak_vectors, because SCM_WVECT_GC_CHAIN(scm_weak_vector) has
value 127 (the free cell tag, I believe).  Apparently, the cell
containing SCM_WVECT_GC_CHAIN() was recycled during the sweep.

Does anyone know what's going on? How is SCM_WVECT_GC_CHAIN(weak_vect)
protected from GC?



-- 

Han-Wen Nienhuys, hanwen@cs.uu.nl ** GNU LilyPond - The Music Typesetter 
      http://www.cs.uu.nl/people/hanwen/lilypond/index.html 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]