[mapserver-users] MapServer 4 vs 5 seg fault

Michael E Masscotte masscotm at erau.edu
Tue Apr 21 11:36:11 EDT 2009


I haven't tried RHEL5 yet, but it happens with RHEL 4 and Solaris 10.

Liz Godwin wrote:

> I've noticed a similar problem with EXPRESSION statements, but 
> inconsistantly.  Are you running MS on Red Hat 5 by any chance?
>
> On Tue, Apr 21, 2009 at 11:05 AM, Michael E Masscotte 
> <masscotm at erau.edu <mailto:masscotm at erau.edu>> wrote:
>
>     I've done some more investigation and found the seg fault happens
>     with a call to msDrawRasterLayerGDAL() according to gdb. I also
>     found what is tripping the core dump in the map file. I have an
>     class with 'EXPRESSION ([pixel] > 0)' so mapserver does not draw
>     black pixels. When I remove this, it works fine although it has
>     the black pixels I don't want. So, it appears I'm doing something
>     wrong with the EXPRESSION statement. Any one have any ideas how to
>     fix this or workaround it? Again, what I find strange is that this
>     works fine in MapServer 4.x but not 5.x.
>
>     Thanks for your help,
>     -Mike
>
>
>
>     Michael E Masscotte wrote:
>
>         I have a php script that generates a png from geotiff tiles.
>         The tiles are indexed using gdaltindex. The php script works
>         fine for MapServer 4.10.x but seg faults for version 5.x.x.
>         Does anyone know of any differences between version 4 and 5
>         that would cause this? Could it be from an older version of
>         gdal that the tiles are being generated with? This happens in
>         both RedHat Linux 4 as well as on our Solaris machines. I can
>         provide more details if someone can point me in the right
>         direction on where to look first for a problem.
>
>         Thanks is advance for any insight any one might provide!
>         -Mike
>         _______________________________________________
>         mapserver-users mailing list
>         mapserver-users at lists.osgeo.org
>         <mailto:mapserver-users at lists.osgeo.org>
>         http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>     _______________________________________________
>     mapserver-users mailing list
>     mapserver-users at lists.osgeo.org
>     <mailto:mapserver-users at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list