[geos-devel] [GEOS] #1012: Thread Sanitizer warns of data race in geos::util::Interrupt::cancel()
GEOS
geos-trac at osgeo.org
Sat Jan 25 08:13:56 PST 2020
#1012: Thread Sanitizer warns of data race in geos::util::Interrupt::cancel()
------------------------+--------------------------
Reporter: macdrevx | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.7.0
Severity: Unassigned | Keywords:
------------------------+--------------------------
Original ticket: https://github.com/GEOSwift/GEOSwift/issues/192
Actual geos version is 3.7.1 but it's not one of the available options in
Version field.
Two threads invoke `GEOS_init_r()` which in turn invokes
`geos::util::Interrupt::cancel()`. Both threads write to the requested
variable, which is detected by the [Thread
Sanitizer|https://developer.apple.com/documentation/code_diagnostics/thread_sanitizer]
as a data race.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1012>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list