[mapserver-users] MapServer 4 vs 5 segfault in msDrawRasterLayerGDAL()
Michael E Masscotte
masscotm at erau.edu
Wed Apr 22 09:12:20 PDT 2009
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
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list