[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What normally causes "GC missed a reference"?
From: |
Michael Livshin |
Subject: |
Re: What normally causes "GC missed a reference"? |
Date: |
16 Jan 2001 19:08:32 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Crater Lake) |
Rob Browning <address@hidden> writes:
> Anyway here is the most typical error message, but they can vary. I
> was hoping someone might know the most likely cause so I can narrow my
> search. Also any ideas about the easiest way to track this down would
> be welcome.
>
> /opt/gnucash/share/gnucash/scm/report.scm:56:18: In procedure
> gnc:report-window in expression (gnc:report-window rept):
> /opt/gnucash/share/gnucash/scm/report.scm:56:18: Wrong type argument in
> position 2: #<freed cell 0x40d6d158; GC missed a reference>
the most likely cause is a failure to mark something that is
referenced by a smob. so check you smob mark functions.
to ease the hunting, try compiling your guile with
-DGUILE_DEBUG_FREELIST and calling (gc-set-debug-check-freelist! #t)
somewhere before the errorring place. you want to call it as late as
possible, as what it does is GC before each cons.
--
May all your PUSHes be POPped.