bugGuile - Bugs: bug #21483, mandelbug whit GUILE_DEBUG_MALLOC

 
 

bug #21483: mandelbug whit GUILE_DEBUG_MALLOC

Submitter:  Neil Jerram <ossau>
Submitted:  Wed 31 Oct 2007 12:31:12 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 31 Oct 2007 12:31:12 AM UTC, original submission:  

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

Neil Jerram <ossau>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ossau (Submitted the item)
  • -email is unavailable- added by ossau
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-31 ossau Carbon-Copy- Added "marco maggi" <marco.maggi-ipsu@poste.it>

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code