• 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
SIGPIPE with dataWithPDFInsideRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGPIPE with dataWithPDFInsideRect


  • Subject: SIGPIPE with dataWithPDFInsideRect
  • From: Robert Clair <email@hidden>
  • Date: Fri, 30 Apr 2004 09:38:22 -0400

I'm using dataWithPDFInsideRect to get a PDF representation of some
graphics
in preparation to do a drag and drop:

pdfData = [displayListView dataWithPDFInsideRect: viewBounds];

Every once in a while (when the application has been sitting out of
focus for a bit ?)
it crashes with a SIGPIPE (stack trace below). Nothing appears amiss
with the views,
and this has happened when the graphics to be rendered are as simple as
a single
rectangle. It is not repeatable - doing the same thing with the same
file will work
the next 100 times.

I understand that it is probably using the same code to prepare the pdf
as it
does when making a spool file, but why is it trying to contact a
printer ? Why
is it trying to connect to anything at all?

(My default printer is reached over an Airport connection with an iMac
that is probably asleep unless I go in the other room to wake it
up if I want to print, but what has this to do with the price of
tea in China...)

Anyone have any ideas ?

Thanks,

Bob

#0 0x90013508 in sendto ()
#1 0x93a23fd4 in httpPrintf ()
#2 0x93a24a30 in httpGetLength ()
#3 0x93a2d29c in cupsDoFileRequest ()
#4 0x952460e4 in CPLPrinterIsRemote ()
#5 0x95276644 in OpaquePMPrinter::IsPrinterDirectConnect() ()
#6 0x952465bc in PMPrinterIsFavorite ()
#7 0x95246554 in PMPrinterIsFavorite ()
#8 0x9523c4a8 in PMCreateSession ()
#9 0x9523c3ac in PMCreateSession ()
#10 0x9523c2e0 in PMCreateSession ()
#11 0x9523c1dc in PMCreateSession ()
#12 0x9523c104 in PMCreateSession ()
#13 0x931e3504 in -[NSPrintInfo(NSPrivate) _printSessionForGetting] ()
#14 0x931e92e0 in -[NSPrintInfo(NSPrivate) _printSettingsForGetting] ()
#15 0x93179134 in -[NSPrintInfo(NSManagedAttributes)
_objectForAttributeKey:] ()
#16 0x93278dec in -[NSConcretePrintOperation runOperation] ()
#17 0x93352f24 in -[NSView(NSPrinting) dataWithPDFInsideRect:] ()
#18 0x00034e50 in -[ZGDisplayList dataWithPDFForDisplayListInView:]
(self=0x9a03da0, _cmd=0xf4d90,
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: NSImage allocation issues
  • Next by Date: Re: NSImage allocation issues
  • Previous by thread: Re: OT? Why are list archive search results so lame?
  • Next by thread: Getting updated insertion point from NSDraggingInfo
  • Index(es):
    • Date
    • Thread