Skip to content

Conversation

@Uriopass
Copy link

@Uriopass Uriopass commented May 20, 2024

Avoid crashes in release mode. Locking is necessary before accessing the pixel buffer on the CPU according to the doc.
Fixed the zero address on my M1.

Fixes #9

@mrfoogles
Copy link

I also just tried this change, and it also fixes the segmentation fault on my M3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault in release build on MacOS M1 - the slice returned by data_u8() has a null pointer address

2 participants