Ticket #2763 (closed defect: fixed)
PHP MapScript shapeObj->toWkt() segfaults for an object created by ms_shapeObjFromWkt()
| Reported by: | mgleahy | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | MapScript-PHP | Version: | 5.2 |
| Severity: | normal | Keywords: | |
| Cc: | dmorissette |
Description
A shape object created from any wkt will cause php to segfault when shapeObj->toWkt() is called:
$oTestShape = ms_shapeObjFromWkt('POLYGON((0 0,0 1,1 1,1 0,0 0))');
$sWKT = $oTestShape->toWkt();
Produces this in my apache log:
[Tue Sep 09 13:41:23 2008] [notice] child pid 6296 exit signal Segmentation fault (11)
No output is sent to the client browser.
Change History
Note: See
TracTickets for help on using
tickets.
