I&#39;ve noticed a similar problem with EXPRESSION statements, but inconsistantly.  Are you running MS on Red Hat 5 by any chance?<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 11:05 AM, Michael E Masscotte <span dir="ltr">&lt;<a href="mailto:masscotm@erau.edu">masscotm@erau.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;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 &#39;EXPRESSION ([pixel] &gt; 0)&#39; so mapserver does not draw black pixels. When I remove this, it works fine although it has the black pixels I don&#39;t want. So, it appears I&#39;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.<br>

<br>
Thanks for your help,<br>
-Mike<div><div></div><div class="h5"><br>
<br>
<br>
Michael E Masscotte wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>

<br>
Thanks is advance for any insight any one might provide!<br>
-Mike<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>