| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am writing a set of print driver plugins (IO, PBM, PM, PDE) and have gotten to the point where the printer is incorrectly added._______________________________________________
In the PBM, I enter some information and click add. The printer is added, the IOM and PM are called, Print Center Terminates the PBM, and hangs. All the controls have been removed from the window and the sheet is about to close.
I assume it is some data that I am not adding or adding incorrectly to some return value. If I attempt to add the printer while GDB is attached to Print Center, then error 4 is reported and the printer is not added.
Once Print Center crashes, it will crash every time it is opened. Viewing the printers at http://127.0.0.1:631/printers will return an empty list regardless of what valid printers there are. I must delete the new PPD from /etc/cups/ppd/ and send a kill -HUP to cupsd, then go back to the web page and remove the now visible printer before anything works again.
The generated PPD seems to be valid, at least nothing in plain text is obviously wrong.
Here is the bottom of the 66 function stack crawl from GDB:
#0 0x90025724 in recvfrom ()
#1 0x93a24604 in httpGets ()
#2 0x93a24ce0 in httpUpdate ()
#3 0x93a2d9d8 in cupsDoFileRequest ()
#4 0x95246014 in CPLPrinterIsRemote ()
#5 0x000053dc in ?? ()
#6 0x000126ac in ?? ()
#7 0x00012a30 in ?? ()
#8 0x930ac01c in -[NSToolbarItem _validateAsCommonItem:] ()
#9 0x930cc110 in -[NSToolbar validateVisibleItems] ()
#10 0x9313f84c in -[NSToolbarView _doDelayedValidateVisibleToolbarItems] ()
#11 0x907fd32c in __NSFireDelayedPerform ()
#12 0x901632f0 in __CFRunLoopDoTimer ()
#13 0x90148e48 in __CFRunLoopRun ()
#14 0x90180fe4 in CFRunLoopRunSpecific ()
#15 0x93159a20 in -[NSMoveHelper _doAnimation] ()
#16 0x931e21a4 in -[NSMoveHelper(Sheets) _closeSheet:andMoveParent:] ()
#17 0x931e2098 in -[NSWindow(Sheets) _orderOutRelativeToWindow:] ()
#18 0x931e99a4 in -[NSCarbonWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] ()
#19 0x9311e994 in -[NSWindow _close] ()
#20 0x9315468c in -[NSWindow close] ()
#21 0x0001598c in ?? ()
#22 0x00015cfc in ?? ()
#23 0x0001c01c in ?? ()
#24 0x969a2244 in DispatchEventToHandlers ()
Has anyone had similar problems? Any suggestions on what might be wrong?
Thanks
Eric
_______________________________________________
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: | |
| >CPLPrinterIsRemote crashes Print Center (From: Eric Cole <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.