Skip to content

BUG: fixed simultaneous read/write access of same ivar by different t…#3115

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
seanm:TSan-fixes5
Jan 18, 2022
Merged

BUG: fixed simultaneous read/write access of same ivar by different t…#3115
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
seanm:TSan-fixes5

Conversation

@seanm
Copy link
Copy Markdown
Contributor

@seanm seanm commented Jan 17, 2022

…hreads

Made the ivar atomic, so at least the simultaneous access is well-defined.

Found by TSan. A great many tests were failing because of this.

…hreads

Made the ivar atomic, so at least the simultaneous access is well-defined.

Found by TSan.  A great many tests were failing because of this.
@github-actions github-actions Bot added area:Core Issues affecting the Core module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances labels Jan 17, 2022
@seanm
Copy link
Copy Markdown
Contributor Author

seanm commented Jan 17, 2022

BTW I think this is a recent regression, but did not check history/blame. TSan used to have only hundreds of failures, but now has thousands. I think most are due to this.

@dzenanz
Copy link
Copy Markdown
Member

dzenanz commented Jan 17, 2022

Can you take a look at #3116 and try to figure out the hang in a few filters?

	209 - PythonGradientMagnitudeRecursiveGaussianImageFilterTest (Timeout)
	210 - itkGradientVectorFlowImageFilterPythonTest (Timeout)
	211 - PythonLaplacianImageFilterTest (Timeout)
	215 - PythonGeodesicActiveContourLeftVentricleTest (Timeout)

It might not be even all of these now, but only two of them (Laplacian and one more).

@hjmjohnson hjmjohnson merged commit 142e254 into InsightSoftwareConsortium:master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants