The Persistence of Vision Raytracer (POV-Ray).
This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.
FS#296 - max gradient computation is not thread safe (isosurface)
Opened by Grimbert Jérôme (Le_Forgeron) - Sunday, 09 June 2013, 09:26 GMT
Last edited by William F Pokorny (wfpokorny) - Tuesday, 11 October 2016, 14:53 GMT
|
Details
It appears as a side effect of investigation of #294: the code in isosurf.cpp, inside if(gradient < temp) gradient = temp; is not thread-safe (The code is used at render time, there is a data race between < and = operation, as gradient is stored in the global object and accessed in write mode by the cited code)
It is only important if the gradient is initially undervaluated (otherwise, all is fine, no write-access) |
Now tracked on GitHub as #113.