setimagepath problem
-------------------------------
$nSymbol=$oStyle->symbol;
$oSymbol = $map->getSymbolObjectById($nSymbol);
$symboldid = ms_newSymbolObj($map,"xxx");
$oSymbol->setimagepath("/pic.gif");
-------------------------------
if pic.gif exist mapserver draw map.
else if pic.gif does not exist apache child died
with this error
[Sat Nov 18 20:39:03 2006] [notice] child pid 29168 exit signal Segmentation
fault (11)
system SUSE LINUX 10.1
PHP Version 4.4.1
System Linux SUSE 2.6.16.13-4-default #1 Mon Oct 2 10:35:39 MSD 2006 i686
Apache Version Apache/1.3.34 (Unix)
MapServer Version MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
PHP MapScript Version ($Revision: 1.260 $ $Date: 2006/09/06 16:42:36 $)
Change History
(4)
Milestone: |
→ 4.10 release
|
Description: |
modified (diff)
|
Owner: |
changed from mapserverbugs to dmorissette
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I cannot get this to segfault using the Python MapScript test suite, but the error message in msLoadImageSymbol was returning some junk when it couldn't open the file. Fixed that problem in r6565.
Test case added in r6566