Hi Jana,<br><br>Could you submit a ticket including the test sample? Since we have a workaround now, I&#39;d rather fix this issue right after the 6.0 release is out.<br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">
2011/5/12 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>
I&#39;ve got problems adding labels to a union layer. The source layers use attribute from database for styling (e.g. COLOR or ANGLE). Without labels everything is fine. But when adding labels using LABELITEM in the union layer (TEXT inside CLASS doesn&#39;t have any effect) I get segmentation faults in maputil.c (method bindStyle). It seems that shape-&gt;values isn&#39;t filled correctly in this case. (Cause of the segfault is &quot;Address [...] out of bounds&quot;.)<br>

<br>
A temporary workaround for me is adding an EXPRESSION to the union layer containing all attributes I use in the source layers. That causes shape-&gt;values being filled correctly but it&#39;s quite dirty though.<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>