#2347 closed defect (fixed)
segmentation fault in maplabel.c:156
Reported by: | akrherz | Owned by: | unicoletti |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.3 release |
Component: | MapServer C Library | Version: | 5.0 |
Severity: | normal | Keywords: | |
Cc: | umberto |
Description
one must have a style definition with a POINT layer when rendering text in php mapscript (that's all I tested). Interestingly, if the layer is an annotation, the style can be missing.
Anyway, gdb reports:
Program terminated with signal 11, Segmentation fault. #0 0x002258f2 in msAddLabel (map=0x9626228, layerindex=0, classindex=0, shapeindex=155762096, tileindex=-1, point=0x96e9b80, labelpath=0x0, string=0x96e9f80 "67", featuresize=-1, label=0xbfc4b7c4) at maplabel.c:156 156 if(msGetMarkerSize(&map->symbolset, classPtr->styles[0], &w, &h, layerPtr->scalefactor) != MS_SUCCESS)
Change History (6)
comment:1 by , 17 years ago
Milestone: | → 5.0.1 release |
---|---|
Owner: | changed from | to
comment:2 by , 17 years ago
Cc: | added |
---|---|
Component: | MapScript-PHP → MapServer C Library |
comment:3 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 16 years ago
I've applied the fix in branch-5-0 r7332 since I've run into the same issue with 5.0.2
comment:6 by , 16 years ago
Milestone: | 5.0.1 release → 5.0.3 release |
---|
Note:
See TracTickets
for help on using tickets.
from IRC:
(08:45:40 PM) hobu: akrherz: this bug was a result of umberto's RFC 24 work http://trac.osgeo.org/mapserver/changeset/6031