I have written an application for combining images into 3D anagliphs and image pairs. This worked fine until Snow Leopard came along, now it crashes on the second time a file is saved. I've put all sorts of printing to see where it falls over. I get this:-
Message recieved on consol:-
Program received signal: EXC_BAD_ACCESS.
sharedlibrary apply-load-rules all
is received when executing :-
NSLog(@"about to get images from interface");
rImageData = [view valueForOutputKey"Right_Image_out"];
NSLog(@"one");
lImageData = [view valueForOutputKey"Left_Image_out"];
NSLog(@"two");
// it gets this far
imageData = [view valueForOutputKey"FinalImage"];
// never gets here on the second time through
NSLog(@"Just got images from interface");
If someone could help point me where I am going wrong I would much appreciate it. I am much more of a hardware type of person so I am a bit lost here.
The source code is available at:-
http://www.thebox.myzen.co.uk/Site/3D_Slide_Maker_2.zip
Thanks
Message recieved on consol:-
Program received signal: EXC_BAD_ACCESS.
sharedlibrary apply-load-rules all
is received when executing :-
NSLog(@"about to get images from interface");
rImageData = [view valueForOutputKey"Right_Image_out"];
NSLog(@"one");
lImageData = [view valueForOutputKey"Left_Image_out"];
NSLog(@"two");
// it gets this far
imageData = [view valueForOutputKey"FinalImage"];
// never gets here on the second time through
NSLog(@"Just got images from interface");
If someone could help point me where I am going wrong I would much appreciate it. I am much more of a hardware type of person so I am a bit lost here.
The source code is available at:-
http://www.thebox.myzen.co.uk/Site/3D_Slide_Maker_2.zip
Thanks