Re: PDFKit and 64-bit bugs

Christiaan Hofman <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Sep 6, 2009, at 0:46, Jim Correia wrote:

> On Sep 5, 2009, at 6:10 PM, Christiaan Hofman wrote:
>
>> I've finally moved to upgrade a PDFKit app to 64-bits. However,  
>> it's giving me all kinds of crashers which I'm pretty sure are bugs  
>> in PDFKit. It seems that whenever I call -[PDFBorder dashPattern]  
>> or -[PDFPage attributedString] it crashes, and on 10.5.8 also - 
>> [PDFView areaOfInterestForMouse:] (though that seems to originate  
>> in -[PDFPage loadTextChars]). I've found some ugly workarounds for  
>> the first two, but the last one remains illusive.
>>
>> I wonder whether others on this list had similar problems? And in  
>> particular, whether others know workarounds for these bugs, in  
>> particular the third one?
>
> I force my app to run in 32-bit mode on 10.5 because I ran into a  
> show-stopper crash immediately with PDFKit (IIRC, this is the last  
> crash you mentioned.)

How do you force an app to run in 32-bit mode on 10.5?

And you did report the bug, didn't you?

>
> Are the first 2 crashing for you on 10.6 too?
>
> Jim
>

Definitely, that's where I discovered them. I've actually not even had  
a chance to check them on 10.5, because the third one crashes the app  
before getting there. But from class-dump I'm pretty sure that at  
least one of them should be present there as well.

Christiaan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.