[ka-Map-users] Mapscript errors
Wei Yang, Ng - Wayne
wayne at datalinktech.com.au
Tue Jun 6 02:57:09 EDT 2006
Hi Paul,
Thanks for the reply. I am running php as a module and yes we are
quite concerned about it. I will try the mapserver users mailing list
instead. By the way, is it possible to "embed" ka-maps within a Java applet?
Cheers,
Wayne
Paul Spencer wrote:
> Wayne,
>
> this won't be a problem if you are running php as a cgi, but if you
> are running as a module then perhaps it is something to be concerned
> about. I would send this to the mapserver-users mailing list.
>
> Cheers
>
> Paul
>
> On 4-Jun-06, at 8:37 PM, Wei Yang, Ng - Wayne wrote:
>
>> 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
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>
>
>
>
More information about the ka-Map-users
mailing list