[Mapserver-users] php clone() doesn't cut it

Daniel Morissette dmorissette at dmsolutions.ca
Wed Feb 4 11:16:44 PST 2004


Sean Gillies wrote:
> 
> On Feb 4, 2004, at 10:04 AM, Charlton Purvis wrote:
> 
>> Well, Sean, I'm a monkey's uncle.  I created the attached example, and
>> it seems to work fine.  Don't know what I was smoking.
>>
>> But by running it from the command line, I do get an error:
>> free(): invalid pointer 0x822b370!
>>
>> Maybe this was mucking up things when I ran it w/i my interface?
>>
>> Don't know.  But everything is attached, if anyone is interested.
>>
>> Charlton
>> <seacoos_obs.map><test_clone.php><boundaries.png><boundaries.wld>
> 
> 
> I've seen that free() error as well ... can you provide any other
> context?  What was the object at 0x822b370?  I'd like to get this
> bug fixed.
> 

FYI I ran the sample script with PHP 4.3.3 and php_mapscript.so 4.0.1 
and don't get that free() error.  Is there something else we need to 
know to reproduce this?

BTW, it might be a good idea to file a bug about this and continue the 
discussion there.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the MapServer-users mailing list