Hi Jana,<br><br>Thanks for the fix, applied in SVN-trunk (<a href="http://trac.osgeo.org/mapserver/changeset/11664">http://trac.osgeo.org/mapserver/changeset/11664</a>)<br>It&#39;s strange that it did not crash on Windows for me and Jeff.<br>
<br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2011/5/9 Jana Golinowski <span dir="ltr">&lt;<a href="mailto:jgolinowski@codematix.de">jgolinowski@codematix.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
in our current application we want to use the new union layer. In MapServer 6.0.0-rc2 the problem with STYLEITEM AUTO is still not fixed. So I did some debugging and found a possible solution.<br>
<br>
In mapunion.c (method msUnionLayerNextShape) at line 423 (rc2 and trunk (rev 11639)) strcasecmp causes a segmentation fault. Checking the existence of srclayer-&gt;styleitem before passing it to strcasecmp should solve this problem (for me it does). In msUnionLayerGetAutoStyle it does done correctly.<br>

<br>
After making that change the example attached to ticket #3859 <a href="http://trac.osgeo.org/mapserver/ticket/3859" target="_blank">http://trac.osgeo.org/mapserver/ticket/3859</a> is working without errors.<br>
<br>
Greetings, Jana.<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div><br>