Re: Reference Count Underflow when Writing PDF
Re: Reference Count Underflow when Writing PDF
- Subject: Re: Reference Count Underflow when Writing PDF
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 16 Jul 2009 13:29:26 -0700
On Jul 15, 2009, at 6:25 PM, K. Darcy Otto wrote:
(1) Contrary to my first message, it appears to me now that
PDFDocument inherits from NSObject. So, i shouldn't have to do any
special memory management, right?
You shouldn't. It is a bug in the PDFKit framework. Please file a
bug via http://bugreport.apple.com/.
(2) The malloc error doesn't seem to stop the program, and
everything is written to the appropriate file. Can I just leave the
code as it is and ignore the error, or will it eventually catch up
with me?
Beyond spamming the console, it won't cause a problem.
(3) Is there another way to do what I've tried to do, I guess not
using PDFDocument (if that is indeed the culprit, and not my own
code)?
Nope -- it is the innards of PDFDocument that is busted and there
isn't anything you can do about it (other than file a bug so we can
capture that it is being encountered in The Real World).
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden