On Fri, Jun 11, 2021 at 1:32 PM Robert Schaaf <rwsch...@gmail.com> wrote:
>
> Please help, I humbly beg!
>
> First, the environment:
>
> go version go1.16.5 darwin/arm64
> ImageMagick 7.0.11-8 Q16 arm 2021-04-17
> macOS Big Sur, version 11.4 on Mac Mini M1, 16 GB
>
> I've run into a brick wall with Go driving the Imagemagick 7 API on a 16
> GB M1 Mac Mini. The problem occurs when combining an image read and
> pixel extraction in a tight loop. The first two lines, which cure the problem,
> were suggested by Justin Israel. Note: it doesn't always crash, but the 
> attached
> PNG fails 100% of the time.

My understanding of what you are saying is that you have a way to
avoid the crash, which is to call runtime.LockOSThread.  Is there
something wrong with that approach?  What kind of answer are you
looking for?  Thanks.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXpBVh6uVEz7_1KSeBYFEz-HmcLgcuQvcAcxWxpgJ5fgg%40mail.gmail.com.

Reply via email to