<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thanks, yes a crash is a bug. I have confirmed it exists in GEOS, and filed an issue<div><br></div><div><a href="https://github.com/libgeos/geos/issues/946">https://github.com/libgeos/geos/issues/946</a></div><div><br></div><div>P<br><div><br><blockquote type="cite"><div>On Aug 18, 2023, at 6:03 AM, 耳辰 <erchen.cz@alibaba-inc.com> wrote:</div><br class="Apple-interchange-newline"><div><div class="__aliyun_email_body_block"><div style="line-height: 1.7; font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><div style="clear:both;"><br></div><div class="__aliyun_node_has_color" style="line-height: 1.7; font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><div style="clear:both;"><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;">Hi guys,<br></div><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;"><br></div><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;">I met a postgis crash when tried to use ST_ConvaveHull function with a multipoint, in postgis 3.3.2 and Geos 3.11.2 :</div><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;"><br></div><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;"><span>select ST_ConcaveHull('MULTIPOINT ((113.56577197798602 22.80081530883069),(113.565723279387 22.800815316487014),(113.56571548761124 22.80081531771092),(113.56571548780202 22.800815317674463),(113.56577197817877 22.8008153088047),(113.56577197798602 22.80081530883069))', 0.75);</span></div><div class="__aliyun_node_has_color" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-family: Helvetica, Tahoma, Arial; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration-style: initial; text-decoration-color: initial; clear: both;"><span><br></span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;">The crash stack are listed:</span><br></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;">#0 0x0000ffff84e02210 in geos::triangulate::tri::Tri::getIndex(geos::triangulate::tri::Tri const*) const () from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</span><div style="clear:both;">#1 0x0000ffff84ce74c0 in geos::algorithm::hull::HullTriangulation::nextBorderTri(geos::algorithm::hull::HullTri*) ()</div><div style="clear:both;"> from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</div><div style="clear:both;">#2 0x0000ffff84ce7698 in geos::algorithm::hull::HullTriangulation::traceBoundary(geos::triangulate::tri::TriList<geos::algorithm::hull::HullTri>&) ()</div><div style="clear:both;"> from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</div><div style="clear:both;">#3 0x0000ffff84ce79d4 in geos::algorithm::hull::HullTriangulation::traceBoundaryPolygon(geos::triangulate::tri::TriList<geos::algorithm::hull::HullTri>&, geos::geom::GeometryFactory const*) ()</div><div style="clear:both;"> from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</div><div style="clear:both;">#4 0x0000ffff84ce1f28 in geos::algorithm::hull::ConcaveHull::toGeometry(geos::triangulate::tri::TriList<geos::algorithm::hull::HullTri>&, geos::geom::GeometryFactory const*) () from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</div><div style="clear:both;">#5 0x0000ffff84ce29d4 in geos::algorithm::hull::ConcaveHull::getHull() ()</div><div style="clear:both;"> from /home/erchen.cz/pgsql15/lib/libgeos.so.3.11.2</div><div style="clear:both;">#6 0x0000ffff8e54818c in GEOSConcaveHull_r ()</div><div><span> from /home/erchen.cz/pgsql15/lib/libgeos_c.so.1</span></div><span style="font-family:Helvetica,Tahoma,Arial;">….</span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;"><br></span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;">It seemed that geos was failed to triangulate the multipoint and then crashed … Is this a bug of geos?</span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;"><br></span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;">Any comment is welcomed.</span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><span style="font-family:Helvetica,Tahoma,Arial;">Regards,</span></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;"><br></div><div class="__aliyun_node_has_color" style="margin:.0px;padding:.0px;border:.0px;outline:.0px;font-variant-ligatures:normal;text-align:start;text-indent:.0px;text-decoration-style:initial;text-decoration-color:initial;clear:both;">Zhen</div></div></div><div style="line-height:20.0px;clear:both;"><br></div></div></div>_______________________________________________<br>postgis-users mailing list<br>postgis-users@lists.osgeo.org<br>https://lists.osgeo.org/mailman/listinfo/postgis-users<br></div></blockquote></div><br></div></body></html>