Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadSanitizer reports access race in FrameStore.swift #132

Closed
emmanueltugado opened this issue Aug 8, 2018 · 1 comment
Closed

ThreadSanitizer reports access race in FrameStore.swift #132

emmanueltugado opened this issue Aug 8, 2018 · 1 comment
Labels

Comments

@emmanueltugado
Copy link

If you turn on ThreadSanitizer and animate a gif, an access race is reported in FrameStore.swift at line 119.

The error summary is: SUMMARY: ThreadSanitizer: Swift access race FrameStore.swift in _T04Gifu10FrameStoreC14animatedFramesSayAA08AnimatedB0VGvg

@kaishin kaishin added the bug label Nov 30, 2019
@Theome
Copy link

Theome commented Jan 23, 2021

This is an issue for me, too. It might be possible to fix this by wrapping access to FrameStore.animatedFrames with a NSLock, but I don't know what performance implications this would have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants