[ka-Map-users] Mapscript errors
Wei Yang, Ng - Wayne
wayne at datalinktech.com.au
Sun Jun 4 20:37:00 EDT 2006
Hi all,
Recently, a colleague of mine turned on debugging information
within php_mapscript.c before compiling it. The error messages are then
redirected to my apache logs. I have been getting such error messages
ever since:
[Mon Jun 5 09:30:49 2006] Script:
'/home/wayne/ka-map-cvs/ka-map/htdocs/init.php'
php_mapscript.c(8575) : Freeing 0x08CFC824 (16 bytes),
script=/home/wayne/ka-map-cvs/ka-map/htdocs/init.php
Last leak repeated 1 time
[Mon Jun 5 09:30:49 2006] Script:
'/home/wayne/ka-map-cvs/ka-map/htdocs/init.php'
php_mapscript.c(8571) : Freeing 0x08CFC664 (16 bytes),
script=/home/wayne/ka-map-cvs/ka-map/htdocs/init.php
Last leak repeated 1 time
[Mon Jun 5 09:31:52 2006] Script:
'/home/wayne/ka-map-cvs/ka-map/htdocs/legend.php'
php_mapscript.c(1741) : Freeing 0x08CF8064 (16 bytes),
script=/home/wayne/ka-map-cvs/ka-map/htdocs/legend.php
[Mon Jun 5 09:31:52 2006] Script:
'/home/wayne/ka-map-cvs/ka-map/htdocs/legend.php'
php_mapscript.c(1720) : Freeing 0x0831AAE4 (16 bytes),
script=/home/wayne/ka-map-cvs/ka-map/htdocs/legend.php
=== Total 159 memory leaks detected ===
I was wondering if anyone has a clue about this. Perhaps Paul might know
something ? :) According to my colleague,
some objects within php_mapscript are not getting dereferenced properly
or something. But the source code alone is over 400kb and tracing the
fault is not a trivial task.
These are the other information you might require. I am currently using:
PHP Version 5.1.4
Mapserver 4.8.3
and the CVS build of Ka-Maps
OS: FreeBSD 6.1-RC #2
Cheers,
Wayne
More information about the ka-Map-users
mailing list