<div dir="ltr">So it seems the offsetter is failing on some line coordinates, and may happen only in A rather than B because they differing due to the different projections used. Try getting a backtrace of the crash, and/or create a self-contained testcase that consistently reproduces the issue.<div><br></div><div>--</div><div>thomas</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 28, 2017 at 4:21 PM Björn Danielsson <<a href="mailto:bjorn.danielsson@falubo.se">bjorn.danielsson@falubo.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg">
<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">We are using different 
mapfiles for different users and sometimes over the same geographical 
area.</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">Funny thing is that in one 
of the cases where two mapfiles cover the same area a label for a line works 
ok in  mapfile A but not in mapfile B despite the fact that the label 
code for one particular line feature is identical in the two mapfiles.</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">I have traced this to 
OFFSET. OFFSET 3 99 works in mapfile A but gives Error 500 Internal Server 
Error in mapfile B. On the other hand OFFSET 1 99 and -2 99 works fine in 
mapfile B.</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">The two mapfiles use 
different epsg and have different scale levels and as far as I can see that 
is the only thing that differs.</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">I can contribute with more 
data if anyone will dig into this.</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">       
LABEL<br class="gmail_msg">
        TEXT       
"[text]"<br class="gmail_msg">
        COLOR      0 0 255<br class="gmail_msg">
        OUTLINECOLOR 255 255 255<br class="gmail_msg">
        TYPE       TRUETYPE<br class="gmail_msg">
        FONT       arial<br class="gmail_msg">
        SIZE       8<br class="gmail_msg">
        ANTIALIAS  FALSE<br class="gmail_msg">
        POSITION   CC<br class="gmail_msg">
        PARTIALS   FALSE<br class="gmail_msg">
        FORCE      TRUE<br class="gmail_msg">
        MINDISTANCE 0<br class="gmail_msg">
        BUFFER      0<br class="gmail_msg">
        ANGLE      FOLLOW<br class="gmail_msg">
        MAXOVERLAPANGLE 180<br class="gmail_msg">
        OFFSET     3 99<br class="gmail_msg">
      END</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg"> </div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal;background:none 0% 0%/auto repeat scroll padding-box border-box rgba(0,0,0,0)" class="gmail_msg">Björn Danielsson</div>
</div>
_______________________________________________<br class="gmail_msg">
mapserver-users mailing list<br class="gmail_msg">
<a href="mailto:mapserver-users@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users@lists.osgeo.org</a><br class="gmail_msg">
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>