ok. different problem then. I see nothing wrong with the expression offhand. Perhaps the data type support has changed between versions?<br><br><div class="gmail_quote">On Tue, Apr 21, 2009 at 11:36 AM, Michael E Masscotte <span dir="ltr"><<a href="mailto:masscotm@erau.edu">masscotm@erau.edu</a>></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 haven't tried RHEL5 yet, but it happens with RHEL 4 and Solaris 10.<br>
<br>
Liz Godwin 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;"><div class="im">
I've noticed a similar problem with EXPRESSION statements, but inconsistantly. Are you running MS on Red Hat 5 by any chance?<br>
<br></div><div><div></div><div class="h5">
On Tue, Apr 21, 2009 at 11:05 AM, Michael E Masscotte <<a href="mailto:masscotm@erau.edu" target="_blank">masscotm@erau.edu</a> <mailto:<a href="mailto:masscotm@erau.edu" target="_blank">masscotm@erau.edu</a>>> wrote:<br>
<br>
I've done some more investigation and found the seg fault happens<br>
with a call to msDrawRasterLayerGDAL() according to gdb. I also<br>
found what is tripping the core dump in the map file. I have an<br>
class with 'EXPRESSION ([pixel] > 0)' so mapserver does not draw<br>
black pixels. When I remove this, it works fine although it has<br>
the black pixels I don't want. So, it appears I'm doing something<br>
wrong with the EXPRESSION statement. Any one have any ideas how to<br>
fix this or workaround it? Again, what I find strange is that this<br>
works fine in MapServer 4.x but not 5.x.<br>
<br>
Thanks for your help,<br>
-Mike<br>
<br>
<br>
<br>
Michael E Masscotte wrote:<br>
<br>
I have a php script that generates a png from geotiff tiles.<br>
The tiles are indexed using gdaltindex. The php script works<br>
fine for MapServer 4.10.x but seg faults for version 5.x.x.<br>
Does anyone know of any differences between version 4 and 5<br>
that would cause this? Could it be from an older version of<br>
gdal that the tiles are being generated with? This happens in<br>
both RedHat Linux 4 as well as on our Solaris machines. I can<br>
provide more details if someone can point me in the right<br>
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></div></div>
<mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><div class="im"><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br></div>
<mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>><div class="im"><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
</div></blockquote>
</blockquote></div><br>