I have had some crashes in jqt when working with viewmat and code generating image data for viewmat.
I have not yet noticed a reproducible pattern which would help me isolate those problems. But I am also running Mojave rather than Monterey, FYI, -- Raul On Tue, Jan 18, 2022 at 4:11 AM Thomas McGuire <tmcguir...@gmail.com> wrote: > > reading a jpeg image with readimg > > The first time in a fresh JQt session no problems. I am able to read a jpeg > file an display it in viewmat > > On rereading the same file or a different file JQt crashes. > > The crash is occuring on a MacBook Pro with Monterey installed. I haven’t had > a chance to try it on another Mac. I am using the 903 latest release. > > I stepped through it in debug mode in JQt and it dies at the 64bit call to: > > CGContextDrawImage ctx;img;_1;_1;_1;_1;0;0;w1;h1 > > This is line 516 in graphics_pplatimg/pplatimg.ijs > > There is a ContextRelease and an ImageRelease call after this: > > > CGContextRelease ctx > CGImageRelease img > > My thought is on the latest Mac Monterey they have made a change to the > underlying graphics calls and something needs to be added to the release > statements. > > Anyone with a Mac have any insight into this? > > Tom McGuire > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm