[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trying to track down an alpha problem (may be in scm_ihashq).
From: |
Rob Browning |
Subject: |
Trying to track down an alpha problem (may be in scm_ihashq). |
Date: |
14 Jun 2001 17:08:58 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
I'm trying to track down a problem with gnucash on the Alphas, and one
of the candidates for the crash is guile itself. I've found what
looks like it might be suspicious behavior in scm_ihashq (or more
specifically SCM_UNPACK).
Of course the problem might also have nothing to do with guile, and
might be in g-wrap, other libs, or gnucash itself, but I thought I'd
see what others think.
Here's my modified for debugging version of scm_ihashq
unsigned int
scm_ihashq (SCM obj, unsigned int n)
{
unsigned int result;
unsigned long unpack = SCM_UNPACK(obj);
result = (SCM_UNPACK (obj) >> 1) % n;
fprintf(stderr, "scm_ihashq (%lu >> 1) %% %u -> %u\n", unpack, n, result);
fflush(stderr);
return result;
}
and at the point of failure, this prints:
scm_ihashq (18446744073709551614 >> 1) % 31 -> 4294967295
Any help appreciated.
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930
- Trying to track down an alpha problem (may be in scm_ihashq).,
Rob Browning <=