<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Ian,</span></div><div><br></div><div class="yiv1908617004MsoNormal">&gt;<span class="yui_3_2_0_15_1317133199096110" style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"></span><span class="yui_3_2_0_15_1317133199096112" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);"> We
 have moved from 5.x to 6.x are chasing an issue causing a segmentation 
fault which appears to be related to the way we are <br></span></div><div class="yiv1908617004MsoNormal"><span class="yui_3_2_0_15_1317133199096112" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);">&gt; defining the 
symbols.</span></div><div class="yiv1908617004MsoNormal"><br><span class="yui_3_2_0_15_1317133199096112" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);"></span></div><div class="yiv1908617004MsoNormal"><span class="yui_3_2_0_15_1317133199096112" style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">Are you talking about the SYMBOLSET file definition ? The segmentation fault throws when you invoke map-&gt;draw() ?<br></span></div><div><br><span></span></div><div><span>&gt; </span><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);">We
 used to print_r the map object and then compare the one created from 
the map file and the one we had created programmatically, <br></span></div><div><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);">&gt; however with 
mapserver 6.x the print_r on the map object is empty.</span></div><div><br><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);"></span></div><div><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);">If you can have both map objects (the one loaded and the other one created) I suggest you to use the map-&gt;save(file name) method to see the differences between them.</span></div><div><br><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);"></span></div><div><span class="yui_3_2_0_15_1317133199096124" style="font-size: 11pt; font-family: &quot;sans-serif&quot;; color: rgb(31, 73, 125);">Cheers from México<br></span></div><div><br><span class="yui_3_2_0_15_1317133199096124"
 style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"></span></div><div><font style="font-weight:bold;color:rgb(0, 96, 191);font-family:verdana, helvetica, sans-serif;" size="2">IC Carlos Ruiz</font><br><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Ian Walberg &lt;ian.walberg@airborne.aero&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, September 26, 2011 12:54 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] PHP Mapscript - debugging help<br></font><br><div id="yiv1908617004"><style><!--
#yiv1908617004  
 _filtered #yiv1908617004 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1908617004  
#yiv1908617004 p.yiv1908617004MsoNormal, #yiv1908617004 li.yiv1908617004MsoNormal, #yiv1908617004 div.yiv1908617004MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1908617004 a:link, #yiv1908617004 span.yiv1908617004MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1908617004 a:visited, #yiv1908617004 span.yiv1908617004MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1908617004 span.yiv1908617004EmailStyle17
        {font-family:"sans-serif";color:#1F497D;}
#yiv1908617004 .yiv1908617004MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1908617004 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1908617004 div.yiv1908617004WordSection1
        {}
--></style><div class="yiv1908617004WordSection1"><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">Hello,</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">We have moved from 5.x to 6.x are chasing an issue causing a segmentation fault which appears to be related to the way we are defining the symbols.</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">If we create the map object from an empty map file (with just MAP and END in it) then we do not get a segmentation
 fault, sounds like something not initialized I know…</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">Any ideas on this appreciated but here is the real question (and it may really be a php question) &nbsp;:-</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">We used to print_r the map object and then compare the one created from the map file and the one we had created programmatically, however with mapserver 6.x the print_r on the map object is empty.</span></div><div class="yiv1908617004MsoNormal"><span
 style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">I am sure this is basic PHP but any help would be appreciated.</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">Thanks</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div class="yiv1908617004MsoNormal"><span style="font-size:11.0pt;font-family:&quot;sans-serif&quot;;color:#1F497D;">Ian</span></div></div></div><br>_______________________________________________<br>mapserver-users mailing list<br><a
 ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><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></div></div></body></html>