• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Out of memory, or some other problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Out of memory, or some other problem?


  • Subject: Out of memory, or some other problem?
  • From: Graham Cox <email@hidden>
  • Date: Sat, 16 Jan 2010 09:56:56 +1100

Hi all,

 I received the following (edited) crash log from the field:

Model: Unknown (MacBookPro2,1)
CPU Speed: 2x 2.15 GHz
Code Type:       X86 (Native)
Parent Process:  launchd [163]

Date/Time:       2010-01-15 20:02:43.837 +0100
OS Version:      Mac OS X 10.6.2 (10C540)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x95cb8130 CFDataAppendBytes + 96
1   libPDFRIP.A.dylib             	0x13296bb8 PDFImageEmitDefinition + 1192
2   com.apple.CoreFoundation      	0x95cd1139 __CFSetApplyFunction_block_invoke_1 + 25
3   com.apple.CoreFoundation      	0x95cb60ba CFBasicHashApply + 202
4   com.apple.CoreFoundation      	0x95cd1101 CFSetApplyFunction + 177
5   libPDFRIP.A.dylib             	0x13296dd6 PDFImageSetEmitDefinitions + 67
6   libPDFRIP.A.dylib             	0x1328a422 emit_page_resources + 112
7   libPDFRIP.A.dylib             	0x1328b3f1 PDFDocumentEndPage + 74
8   libPDFRIP.A.dylib             	0x13289bc5 pdf_EndPage + 25
9   com.apple.CoreGraphics        	0x9054de6a CGContextEndPage + 113
10  com.apple.AppKit              	0x92270a8e -[NSPrintCopyingGraphicsContext endPage] + 61
11  com.apple.AppKit              	0x922453c8 -[NSView(NSPrintingInternal) _copyForCurrentOperation] + 184
12  com.apple.AppKit              	0x9200057f -[NSConcretePrintOperation _renderView] + 390
13  com.apple.AppKit              	0x920008cc -[NSConcretePrintOperation runOperation] + 362
14  com.apple.AppKit              	0x92245295 -[NSView(NSPrinting1) dataWithPDFInsideRect:] + 121

I've never seen any problems with PDF generation occur before, but the user says this is a fairly large file. Is this simply a case of running out of memory, or something more insidious? Is there anything I can do about it? Is there some upper limit on the number of paths that can be included in a PDF - I don't know how many the user has created but as the main file is >50MB, probably could be a few thousand. I have tested with >10,000 before and haven't seen this though.

I should mention that the code path in question is invoked during a file save, after the main file components have been written, the document is imaged as a PDF and then converted to a smaller JPEG file for the QuickLook thumbnail.

--Graham


_______________________________________________

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

  • Follow-Ups:
    • Re: Out of memory, or some other problem?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
  • Next by Date: Re: Clipping subview drawing to arbitrary path or image (iPhone)
  • Previous by thread: Re: Clipping subview drawing to arbitrary path or image (iPhone)
  • Next by thread: Re: Out of memory, or some other problem?
  • Index(es):
    • Date
    • Thread