beta3 issues

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Aug 8 23:04:37 EDT 2007


Mike Leahy wrote:
> 
> I seem to have found two problems related to php_mapscript (on F7 64-bit).
> 
> First, if --enable-coverage is added to my compile options, I'll get the
> following error message the php_mapscript.so module when it is loaded:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib64/php/modules/php_mapscript.so' -
> /usr/lib64/php/modules/php_mapscript.so: undefined symbol: __gcov_merge_add
> in Unknown on line 0
> 

It seems that this problem is not new and existed in previous versions 
of MapServer. I have filed a ticket for it and the fix will be in the 
next beta:

   http://trac.osgeo.org/mapserver/ticket/2216

While we were at it, we have renamed --enable-covergae to --enable-gcov 
since the old name led users to think that the option might be related 
to enabling WCS or Arc/Info coverage which is not the case:

   http://trac.osgeo.org/mapserver/ticket/2217

> 
> The second problem, however, is with beta3 only.  Provided I omit
> --enable-coverage, this version of the php_mapscript.so will segfault when
> it is used (though it seems to initially load in PHP without errors).  All I
> can see after I try to load a map (using one of the samples for Chameleon)
> is this error message in my apache error log, while nothing at all gets
> returned to the browser:
> 
> [Wed Aug 08 17:02:00 2007] [notice] child pid 802 exit signal Segmentation
> fault (11)
> 
> I'm using Chameleon 2.4.1 to test this...so maybe something new in beta3 is
> incompatible with that version of chameleon, or the sample mapfile.  It
> works fine with beta2 (without --enable-coverage).  Let me know if I should
> file any bugs or if there is anything else I can do to help.  If anyone has
> mentioned this already, I apologize for the duplicate.
> 

It crashes with any of the Chameleon samples? It's possible that the 
sample mapfiles need upgrading, but that should not cause a seg fault. 
I'll have to try to reproduce that one.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list