Printing from Safari in 10.6 makes Safari... crash

Discussion in 'Mac Apps and Mac App Store' started by declandio, Sep 1, 2009.

  1. declandio macrumors 6502

    Joined:
    Apr 3, 2009
    Location:
    London, UK
    #1
    Hi there...

    I've been trying to print webpages (actually, just save them as pdf via the print dialogue, but I can't even get that far) from Safari... no plugins installed etc, and the system is a clean installation of 10.6, so everything is fresh and un-tinkered with so far.

    As soon as I select 'print' from the file menu, Safari just gets unresponsive. The actual print dialogue doesn't even appear. The only think I can do is 'force quit'.

    The printer is an HP Photosmart c4100 series. It works fine, I used it a few times this morning to print pdf's with no trouble at all.

    It's only Safari that has this problem- I can print (to the printer, and to a pdf file) just fine from every other app that I have tried.

    I copied some of the blurb from Console and pasted it below. It's all gibberish to me, but hoping someone here might be able to help?? Does this happen to anyone else??

    Cheers
    Declan

    01/09/2009 17:43:09 Safari[193] *** WebKit discarding exception: <NSInvalidArgumentException> -[TopSitesView detachRootLayer]: unrecognized selector sent to instance 0x11460df30
    01/09/2009 17:43:23 com.apple.WebKit.PluginAgent[157] Debugger() was called!
    01/09/2009 17:43:35 Safari[193] unlockFocus called too many time.
    01/09/2009 17:43:35 Safari[193] unlockFocus called too many time.
    01/09/2009 17:43:35 Safari[193] unlockFocus called too many time.
    01/09/2009 17:43:35 Safari[193] unlockFocus called too many time.
    01/09/2009 17:43:35 Safari[193] unlockFocus called too many time.
    01/09/2009 17:43:35 Safari[193] HIToolbox: ignoring exception '*** -[NSCFArray objectAtIndex:]: index (-1 (or possibly larger)) beyond bounds (15)' that raised inside Carbon event dispatch
    (
    0 CoreFoundation 0x00007fff8893e5a4 __exceptionPreprocess + 180
    1 libobjc.A.dylib 0x00007fff85ad2313 objc_exception_throw + 45
    2 CoreFoundation 0x00007fff8893e3c7 +[NSException raise:format:arguments:] + 103
    3 CoreFoundation 0x00007fff8893e354 +[NSException raise:format:] + 148
    4 Foundation 0x00007fff83cf50d0 _NSArrayRaiseBoundException + 122
    5 Foundation 0x00007fff83c57c4d -[NSCFArray objectAtIndex:] + 75
    6 WebKit 0x00007fff824b8543 -[WebHTMLView rectForPage:] + 51
    7 AppKit 0x00007fff85581937 -[NSConcretePrintOperation(NSInternal) _tryToSetCurrentPageNumber:] + 138
    8 AppKit 0x00007fff85792a37 -[NSPrintThumbnailView drawRect:] + 2337
    9 AppKit 0x00007fff851d73ce -[NSView _drawRect:clip:] + 3390
    10 AppKit 0x00007fff851d6041 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
    11 AppKit 0x00007fff851d63ab -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
    12 AppKit 0x00007fff851d63ab -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
    13 AppKit 0x00007fff851d63ab -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
    14 AppKit 0x00007fff851d63ab -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
    15 AppKit 0x00007fff851d4713 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767
    16 AppKit 0x00007fff851d4237 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
    17 AppKit 0x00007fff851d0adb -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
    18 AppKit 0x00007fff8514a287 -[NSView displayIfNeeded] + 969
    19 AppKit 0x00007fff85112367 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1050
    20 AppKit 0x00007fff85352f5d -[NSApplication _orderFrontModalWindow:relativeToWindow:] + 734
    21 AppKit 0x00007fff853529c7 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 714
    22 AppKit 0x00007fff85582fc9 -[NSPrintPanel beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:] + 667
    23 AppKit 0x00007fff85581690 -[NSConcretePrintOperation runOperationModalForWindow:delegate:didRunSelector:contextInfo:] + 478
    24 Safari 0x0000000100133222 0x0 + 4296225314
    25 AppKit 0x00007fff85442ec9 -[NSDocument _printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo:] + 235
    26 AppKit 0x00007fff85442c24 -[NSDocument printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo:] + 599
    27 AppKit 0x00007fff85443245 -[NSDocument printDocument:] + 68
    28 AppKit 0x00007fff8526f276 -[NSApplication sendAction:to:from:] + 95
    29 Safari 0x000000010004f1fb 0x0 + 4295291387
    30 AppKit 0x00007fff852937ca -[NSMenuItem _corePerformAction] + 365
    31 AppKit 0x00007fff85293534 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
    32 AppKit 0x00007fff85515cdc -[NSMenu _internalPerformActionForItemAtIndex:] + 35
    33 AppKit 0x00007fff853c88af -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 136
    34 AppKit 0x00007fff85275d40 NSSLMMenuEventHandler + 321
    35 HIToolbox 0x00007fff884a8f97 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1002
    36 HIToolbox 0x00007fff884a84e6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 395
    37 HIToolbox 0x00007fff884c5f49 SendEventToEventTarget + 45
    38 HIToolbox 0x00007fff884f4f59 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 387
    39 HIToolbox 0x00007fff88521bae SendMenuCommandWithContextAndModifiers + 56
    40 HIToolbox 0x00007fff88521b68 SendMenuItemSelectedEvent + 101
    41 HIToolbox 0x00007fff88521a7c _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 150
    42 HIToolbox 0x00007fff88502f2d _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 453
    43 HIToolbox 0x00007fff88502695 _HandleMenuSelection2 + 453
    44 AppKit 0x00007fff85146ecb _NSHandleCarbonMenuEvent + 236
    45 AppKit 0x00007fff8511aa23 _DPSNextEvent + 1921
    46 AppKit 0x00007fff85119ed9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    47 Safari 0x000000010000bcf0 0x0 + 4295015664
    48 AppKit 0x00007fff850dfb29 -[NSApplication run] + 395
    49 AppKit 0x00007fff850d8844 NSApplicationMain + 364
    50 Safari 0x0000000100001d0c 0x0 + 4294974732
    )
     
  2. jamin100 macrumors 6502

    Joined:
    Sep 22, 2008
    #2
    I have the same printer and it works fine for me.

    Try re-instaling the printer and drivers
     
  3. declandio thread starter macrumors 6502

    Joined:
    Apr 3, 2009
    Location:
    London, UK
    #3
    Thanks... I'll try that. Reckon it's a Safari problem though, as the printer works fine from all other applications. So can you print from Safari specifically, without issue?
     
  4. declandio thread starter macrumors 6502

    Joined:
    Apr 3, 2009
    Location:
    London, UK
    #4
    I guess I should have tried that first before posting here. I removed the printer then added it again (without re-installing drivers), and it seems ok now. Sorted... but weird.

    Cheers
     

Share This Page