Hi All,<br><br>I&#39;ve found an annoying effect of one of the recent changes in trunk causing msautotest (buildbot) to hang in the following command (in msautotest/misc):<br><br>shp2img -m grid.map -o result/grid.png<br><br>
The process is running in an infinite loop with a significant cpu utilization.<br><br>By breaking the execution in a debugger the call stack looks something like:<br><br>     libmap.dll!_gdCacheGet()  + 0x20 bytes    C<br>
     libmap.dll!_gdImageArc()  + 0x751 bytes    C<br>     libmap.dll!_gdImageStringFTEx()  + 0x843 bytes    C<br>     libmap.dll!_gdImageStringFT()  + 0x3c bytes    C<br>&gt;    libmap.dll!msDrawTextGD(gdImageStruct * img=0x028e6cc0, pointObj labelPnt={...}, char * string=0x02a3a678, labelObj * label=0x02ac17d8, fontSetObj * fontset=0x00f0b3e8, double scalefactor=1.0000000000000000)  Line 2988 + 0x58 bytes    C<br>
     libmap.dll!msDrawText(imageObj * image=0x028e6c80, pointObj labelPnt={...}, char * string=0x02a3a678, labelObj * label=0x02ac17d8, fontSetObj * fontset=0x00f0b3e8, double scalefactor=1.0000000000000000)  Line 822 + 0x31 bytes    C<br>
     libmap.dll!msDrawLabelCache(imageObj * image=0x028e6c80, map_obj * map=0x00f0b3a0)  Line 2424 + 0x4b bytes    C<br>     libmap.dll!msDrawMap(map_obj * map=0x00f0b3a0, int querymap=0)  Line 507 + 0xd bytes    C<br>     shp2img.exe!00401ae7()     <br>
     [Frames below may be incorrect and/or missing, no symbols loaded for shp2img.exe]    <br>     shp2img.exe!00401dba()     <br>     kernel32.dll!7d4e7d42()     <br><br><br>I&#39;d wonder if someone who have better knowledge about the recent changes could find out the reason. <br>
I could see a couple of changes related to  msLayerWhichItems which caused issues, but I don&#39;t see one by one correspondence between those changes and this problem.<br><br>Best regards,<br><br>Tamas<br><br><br>