Opened 13 years ago
Closed 13 years ago
#3866 closed defect (fixed)
MapScript Seg Fault with class->createLegendIcon
Reported by: | worthlutz | Owned by: | dmorissette |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | MapScript-PHP | Version: | 6.0 |
Severity: | critical | Keywords: | mapscript createLegendIcon |
Cc: | worthlutz, aboudreault |
Description
Calling class->createLegendIcon with a layer with a hatch symbol and OPACITY or TRANSPARENCY causes a Segmentation Fault.
The attached files are a test case for this error. To create the error remove the comment character "#" from the OPACITY or TRANSPARENCY in the mapfile for "test_layer_1". This caused the Segmentation Fault. OPACITY works for the solid fill layer, "test_layer_2"
I am using version 6.0 rc2 from ubuntugis-testing repository.
I have not yet tested if OPACITY works for hatch with a regular map draw as it has taken me a while to find this problem as the code for the legend icon is embedded in my application which just crashes. I had to extract the code and then go through layers to find the offending item.
Attachments (2)
Change History (6)
by , 13 years ago
by , 13 years ago
Attachment: | createLegendIconTest.php added |
---|
comment:1 by , 13 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'll have a look at this now