[Mapserver-users] Mapscript causes core dump on Solaris
Daniel Morissette
dmorissette at dmsolutions.ca
Wed Feb 25 09:18:44 PST 2004
Carsten Heidmann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> I had problems running mapscript (4.0.1) applications on Solaris 8 (SPARC).
> Applications developed with the current Maplab version didn't run and
> caused mapscript to terminate with a core dump.
> My current workaround is to disable/delete the lines with ANTIALIAS ... in
> the mapfile.
> I suspect that the basic problem is the usage of a precompiled libpng from
> www.sunfreeware.com. I haven't yet tested compiling libpng by myself but I
> will write if this solves the problem.
As Lowell suggested in another email, you could test to see if the
problem happens with the mapserv CGI. If the problem can't be
reproduced with the CGI, then the next place to look would be making
sure that if your PHP has the GD module enabled then it uses the exact
same copy of GD as php_mapscript. This is a common problem that happens
if PHP uses its builtin GD (the default), or if you have multiple copies
of GD on your system.
Another possible source for this problem is that GDAL comes with its own
builtin copy of libpng, so you may have to make sure that it uses the
system copy of libpng.
The fact that you use libpng from www.sunfreeware.com or any other place
shouldn't matter as long as all the components that you link together
use the exact same copy of libpng.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list