Hello All! Under certain conditions I get a strange error: The combination of spatil geometry, style of class in map and bbox in WMS request - leads to the libgeos segmentation error. All files of Example adding to email: * bug_json.map * geodata_bug.geojson * mapfile_web.py * mapstyle_for_7_0_4.zip Run this: python3 mapfile_web.py bug_json.map Passed WMS request: http://localhost:3007/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=3032662.425975159276,5637758.341410524212,3340530.939469947945,5864962.737246668898&CRS=EPSG:3857&WIDTH=1103&HEIGHT=814&LAYERS=good&FORMAT=image/png Failed WMS request: http://localhost:3007/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=3032662.425975159276,5637758.341410524212,3340530.939469947945,5864962.737246668898&CRS=EPSG:3857&WIDTH=1103&HEIGHT=814&LAYERS=bad&FORMAT=image/png Reproduction conditions of error: * mapserver & python3-mapscript v7.6.4, v7.6.5 (manual package), geos v3.5.1 (repository package) - OS linux debian 9 * mapserver & python3-mapscript v7.6.2 (repository package), geos v3.9.0 (repository package) - OS linux debian 11 Error message before segafoult: python3: geos_ts_c.cpp:3742: int GEOSCoordSeq_getOrdinate_r(GEOSContextHandle_t, const geos::geom::CoordinateSequence*, unsigned int, unsigned int, double*): Assertion `0 != cs' failed. The error does not cause segfault in mapserver v7.0.4,(repository package) geos v3.5.1 (repository package) - OS linux debian 9: Run this (mapstyle & shp files in mapstyle_for_7_0_4.zip): python3 mapfile_web.py bug_shp.map All WMS requests from the example above. Error message don't segafoult - all WMS query (rendering passed): OWSDispatch Error: msGEOSError(): GEOS library error. (message repeated 1 times) P.S: Are there any recommendations or patches for mapserver 7.6.*(Preferably) - what to do with this problem? Baev Alexandr [email protected]
bug_json.map
Description: application/navimap
geodata_bug.geojson
Description: application/geo
mapfile_web.py
Description: application/python<<attachment: mapstyle_for_7_0_4.zip>>
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
