<div>Hi all,</div><div><br></div><div>I get a segmentation fault with php mapscript (mapserver 6.0.0 & 6.0.2) when I try to set the rgb color in a styleObj.</div><div>My code looks like this:</div>
<div><br></div><div>$gpoMap = @ms_newmapObj("foo.map");</div><div>...</div><div>$style = ms_newStyleObj($class);</div><div>...</div><div>$style->outlinecolor->setRGB($rs,$gs,$bs); //seg fault here</div>
<div>....</div><div>$gpoMap->save("/store/cartografia/2008/bar.map");</div><div><br></div><div>Is this a know mapserver mapscript 6.x bug or my mapscript could have some library issues?</div>
<div>Another strange issue: print_r on new 6.x objects prints always an "empty" object. Why?</div><br><div>Mapserver compiled on Linux Debian Ubuntu with php:</div><div>PHP 5.2.10-2ubuntu6.10 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: May 2 2011 23:18:54)</div>
<div><br></div><div>Thanks in advance.</div><div><br></div>Stefano