[Mapserver-dev] MapScript issue with freeing a cloned mapObj and msFreeFontSet
Sean Gillies
sgillies at frii.com
Tue Sep 16 00:09:23 EDT 2003
Hi all,
First, is anybody else using the clone method, and are they finding it
useful?
The only problem I've found with it so far is that when a cloned
mapObj is garbage collected (I'm talking Python here) and msFreeMap
is called, a malloc error is raised from msFreeFontSet at this line
if (fontset->filename)
free(fontset->filename);
The error is:
*** malloc[717]: Deallocation of a pointer not malloced: 0x16fefa0;
This could b
e a double free(), or free() called with the middle of an allocated
block; Try s
etting environment variable MallocHelp to see tools to help debug
This error never occurs with a mapObj created by the normal
constructor, but
I am always seeing it with a cloned mapObj. Maybe it's just a OS X
issue? Can
anyone help me confirm this?
thanks,
Sean
--
Sean Gillies
sgillies at frii dot com
http://www.frii.com/~sgillies
More information about the mapserver-dev
mailing list