Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#514 closed defect (fixed)

RobustDeterminant encountered non-finite numbers with dense vertex distributions

Reported by: 3nids Owned by: strk
Priority: major Milestone: 3.3.9
Component: Default Version: 3.3.5
Severity: Unassigned Keywords:
Cc:

Description

Geos throws an exception (crash with 3.2) with dense vertex distributions (e.g. segmented curves)

ERROR 1: IllegalArgumentException: RobustDeterminant encountered non-finite numbers

Example with the offset curve in Qgis: http://youtu.be/DBbMg5rO8fU

The geometry of the line in question

LINESTRING(554235.01669295 145547.73137862,554242.99020772 145548.76938867,554245.33776182 145545.30016923,554245.49416371 145544.76210759) 

Change History (7)

comment:1 by strk, 12 years ago

Milestone: 3.3.33.3.4

Can you reproduce the problem with GEOS-3.3.3 ?

comment:2 by strk, 12 years ago

Resolution: wontfix
Status: newclosed

Bug starved on lack of feedback.

comment:3 by mamay, 11 years ago

Milestone: 3.3.43.5.0
Resolution: wontfix
Status: closedreopened
Version: 3.2.33.3.5

HI all,

actually this happens quite often in postgis, though assumed to be GEOS bug. For example,

select st_offsetcurve('SRID=999155;LINESTRING(741922.822062051 7092670.71838009,741951.196012204 7092670.6883862,741963.16073233 7092671.13829462,741973.096974673 7092672.24806872,741982.934266923 7092674.01770852,742002.328492731 7092678.90671337,742012.009113895 7092681.41620258,742021.689735091 7092683.92569179,742031.370356322 7092686.43518098,742040.201655604 7092688.73471292,742060.981183193 7092694.12361602,742079.394153474 7092700.20237871,742097.394831648 7092708.89061025,742114.07617464 7092719.89836965,742121.827268302 7092726.21708349,742135.985382907 7092740.31421406,742148.238707534 7092756.11099868,742172.770094343 7092790.07408559,742184.223572083 7092804.08123447,742198.744503883 7092817.81843831,742214.955833702 7092829.50605933,742232.57720304 7092838.93414026,742234.075512092 7092839.49435034,742236.311149471 7092840.33024333,742236.311149471 7092840.33024333,742251.295269595 7092845.93271573,742270.780199619 7092850.38181013,742290.677421938 7092852.20143975,742304.167623144 7092851.9314947,742370.530178049 7092847.58237994,742390.501612979 7092846.71255699,742410.431818665 7092848.26224156,742429.966223779 7092852.45138887,742448.783240484 7092859.19001724,742457.812439924 7092863.48914217,742474.906075152 7092873.83703589,742491.158634306 7092885.50466098,742583.042077281 7092951.5212235)', 5.0, 'quad_segs=4 join=round')

Tried with GEOS="3.3.5-CAPI-1.7.5" and GEOS="3.4.0dev-CAPI-1.8.0 r3823" in both cases the issue.

comment:4 by strk, 11 years ago

Does not happen for me with POSTGIS="2.1.0rc2 r11766" GEOS="3.4.0-CAPI-1.8.0 r3935" nor with POSTGIS="2.0.5SVN r11955" GEOS="3.3.8-CAPI-1.7.8"

This is a 64bit system.

comment:5 by mamay, 11 years ago

Resolution: fixed
Status: reopenedclosed

Tried with GEOS="3.3.5-CAPI-1.7.5" and GEOS="3.4.0dev-CAPI-1.8.0 r3823" in both cases the issue.

comment:6 by mamay, 11 years ago

Sorry, for my previous message. It defebately fixed at least in version 3.3.9

comment:7 by strk, 11 years ago

Milestone: 3.5.03.3.9

thanks for confirming this

Note: See TracTickets for help on using tickets.