Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] CMYK TIFF and Mach-O (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Next thread: [MBS] 6.4pr4 StatusItem (UB on MacPro)


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] CMYK TIFF and Mach-O   -   Steve Upton
   Re: [MBS] CMYK TIFF and Mach-O   -   Christian Schmitz

[MBS] CMYK TIFF and Mach-O
Date: 29.09.06 21:18 (Fri, 29 Sep 2006 13:18:36 -0700)
From: Steve Upton

this one's driving me nuts....

f.openAsTiffMBS OR TiffPictureMBS.openAsString both work fine when compiling as PEF but as soon as I try to run them as Mach-O it crashes. I've tried multiple different CMYK images and that's not the problem.

Running: MBS 6.3 and OS 10.4.7, RB 2006r3, PB G4

A fragment of the dump is:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 <<00000000>> 0xffff8810 __memcpy + 112 (cpu_capabilities.h:189)
1 ...c Libs Plugin_148.132.dylib 0x010d0544 TIFFLastDirectory + 1804
2 ...c Libs Plugin_148.132.dylib 0x010cf734 TIFFSetField + 44
3 ...c Libs Plugin_148.132.dylib 0x010cd6d0 TIFFReadDirectory + 5404
4 ...c Libs Plugin_148.132.dylib 0x010ccd90 TIFFReadDirectory + 3036

can anyone help w/ this?

Regards,

Steve Upton

Re: [MBS] CMYK TIFF and Mach-O
Date: 30.09.06 00:32 (Sat, 30 Sep 2006 01:32:13 +0200)
From: Christian Schmitz
Steve Upton <<email address removed>> wrote:

> this one's driving me nuts....
>
> f.openAsTiffMBS OR TiffPictureMBS.openAsString both work fine when
> compiling as PEF but as soon as I try to run them as Mach-O it crashes.
> I've tried multiple different CMYK images and that's not the problem.
>

Please provide me with a small example project and the needed TIFF file
so I can check that.

memcpy should never be 0.

Gruß
Christian