[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mandelbug whit GUILE_DEBUG_MALLOC
From: |
Marco Maggi |
Subject: |
mandelbug whit GUILE_DEBUG_MALLOC |
Date: |
Tue, 30 Oct 2007 19:27:11 +0200 |
Ciao,
just for the record, because I think that it is
unlikely that I or someone will succeed in fixing it.
It appears to me that there
is a problem in 'scm_malloc_reregister()', file
"libguile/debug-memory.c", which is invoked by
'scm_gc_realloc()' only when Guile is compiled
with 'GUILE_DEBUG_MALLOC' defined.
It tells me that I am trying to reallocate a block
with a different "what" string.
It comes and goes, but for the small code
evolution span in which it was reproducible: I was
able to determine that I was using the same
"what".
I circumvented it, it seems, by using the same
"what" in two different invocations to
"scm_gc_realloc()".
Understanding what is going on requirers
understanding the hash table handling, which is
a little mess IMHO, and it is above my head now.
--
Marco Maggi
"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mandelbug whit GUILE_DEBUG_MALLOC,
Marco Maggi <=