Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGPIPE received while trying to print - help needed !



I sent the following recommendation to Christian and it appears to have
solved the problem ...

> Add the following line to your .gdbinit file
>
> handle SIGPIPE nostop noprint pass

This is another good opportunity to point you to the gdb documentation
...

http://developer.apple.com/techpubs/macosx/DeveloperTools/gdb/gdb/
gdb_6.html#SEC39

The section on Signals explains how to tell gdb what action to take for
various signals. In the case of SIGPIPE you can ignore it during the
execution of a print job.

-Paul


On Sunday, February 23, 2003, at 11:25 PM, Cristian Savu wrote:

> Hello list,
> I am working at a Cocoa application which uses Core Graphics calls
> to draw.
>
> While I am trying to print , from time to time the application exits
> with SIGPIPE message.
>
> I am not doing anything special, and USUALLY the printing is working
> fine.
>
> Any idea what may cause this or how can I get rid of the problem ?
>
>
> The application stack looks like this when exits:
>
> Regards , Cristian
> sendto
> httpPrintf
> httpGetLength
> cupsDoFileRequest
> cupsGetDefault
> cupsGetDests
> cachedCupsGetDests(cups_dest_t**)
> CPLCopyDefaultPrinterName
> OpaquePMPrinter::OpaquePMPrinter[unified]()
> OpaquePMPrinter::OpaquePMPrinter[in-charge]()
> PJCGetCurrentPrinter
> OpaquePMPrintSession::SetCurrentPrinter()
> OpaquePMPrintSession::OpaquePMPrintSession[unified](OpaquePMPrintSessio
> n*)
> OpaquePMPrintSession::OpaquePMPrintSession[in-
> charge](OpaquePMPrintSession*)
> PJCCreateSession(OpaquePMPrintSession**)
> PMCreateSession
> -[NSPrintInfo(NSPrivate) _printSessionForGetting]
> -[NSPrintInfo(NSPrivate) _pageFormatForGetting]
> -[NSPrintPanel updateFromPrintInfo]
> -[NSPrintPanel _runModalWithPrintInfo:]
> -[NSConcretePrintOperation runOperation]
> -[RSPrintingController startPrinting]
> -[RSMainWindowController(RSMainMenuCategory) doMenuPrint:]
> -[NSApplication sendAction:to:from:]
> -[NSMenu performActionForItemAtIndex:]
> -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
> _NSHandleCarbonMenuEvent
> _DPSNextEvent
> -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
> -[NSApplication run]
> -[RSApp run]
> NSApplicationMain
> main
> _start
> start
> _______________________________________________
> printing mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/printing
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >SIGPIPE received while trying to print - help needed ! (From: Cristian Savu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.