閱讀609 返回首頁    go iPhone_iPad_Mac_apple


Safari and Preview crash when printing

Safari (10.0.3) and Preview (9.0) both crash immediately when "print" is selected.  However, the same document or webpage print with no issues using Firefox, Chrome, Acrobat Reader, etc.  The specific printer is immaterial (using three: HP8620, HP6830, HP6500).  This is a MacBook Pro running MacOS Sierra 10.12.3


Desperate for a solution...


First page or so of crash reporter:

Process: Safari [30486]

Path: /Applications/Safari.app/Contents/MacOS/Safari

Identifier: com.apple.Safari

Version: 10.0.3 (12602.4.8)

Build Info: WebBrowser-7602004008000000~2

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Safari [30486]

User ID: 501

 

Date/Time: 2017-03-21 11:55:39.090 -0400

OS Version: Mac OS X 10.12.3 (16D32)

Report Version: 12

Anonymous UUID: DE9A499D-4FEE-F7E0-7742-5EE047471221

 

Sleep/Wake UUID: 6EE6202B-3B98-4BDA-91C1-880B125DCC6D

 

Time Awake Since Boot: 160000 seconds

Time Since Wake: 2500 seconds

 

System Integrity Protection: enabled

 

Crashed Thread: 0  Dispatch queue: com.apple.main-thread

 

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)

Exception Codes: 0x0000000000000001, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

 

Termination Signal: Illegal instruction: 4

Termination Reason: Namespace SIGNAL, Code 0x4

Terminating Process: exc handler [0]

 

Application Specific Information:

Enabled Extensions:

  1. com.agilebits.onepassword4-safari-2BUA8C4S2C (4060390 - 4.6.3) 1Password
  2. com.betafish.adblockforsafari-UAMUU4S2D9 (102.42 - 2.42) AdBlock
  3. com.amazon.safari.wishlist-86P4553JA3 (9 - 1.8) Add To Amazon Wish List

 

Crashing on exception: *** -[NSProxy doesNotRecognizeSelector:saveGraphicsState] called!

 

Application Specific Backtrace 1:

0   CoreFoundation                      0x00007fffa7da6e7b __exceptionPreprocess + 171

1 libobjc.A.dylib 0x00007fffbc990cad objc_exception_throw + 48

2 CoreFoundation 0x00007fffa7e2599d +[NSException raise:format:] + 205

3   CoreFoundation                      0x00007fffa7d18fb5 ___forwarding___ + 1061

4 CoreFoundation 0x00007fffa7d18b08 _CF_forwarding_prep_0 + 120

5   AppKit 0x00007fffa599686a +[NSGraphicsContext saveGraphicsState] + 128

6   AppKit 0x00007fffa5b04c47 -[NSPrintThumbnailView drawRect:] + 995

7   AppKit 0x00007fffa59a6af9 -[NSView _drawRect:clip:] + 2276

8   AppKit                              0x00007fffa59f6aab -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1753

9   AppKit 0x00007fffa59f6f16 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2884

10  AppKit 0x00007fffa59f6f16 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2884

11  AppKit 0x00007fffa59a4632 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 837

12  AppKit                              0x00007fffa59a5231 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 3908

13  AppKit 0x00007fffa59a5231 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 3908

14  AppKit 0x00007fffa59a3e0f -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 334

15  AppKit                              0x00007fffa59a2238 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2452

16  AppKit 0x00007fffa599db25 -[NSView displayIfNeeded] + 1748

17  AppKit                              0x00007fffa599d437 -[NSWindow displayIfNeeded] + 230

18  AppKit 0x00007fffa60fbf3f ___NSWindowGetDisplayCycleObserver_block_invoke.6228 + 277

19  AppKit 0x00007fffa599cf15 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 454

20  QuartzCore                          0x00007fffada4ba96 _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 46

21  QuartzCore                          0x00007fffadb53800 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 160

22  QuartzCore                          0x00007fffada4a631 _ZN2CA11Transaction6commitEv + 475

23  AppKit 0x00007fffa5c7ff1d __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 + 323

24 CoreFoundation                      0x00007fffa7d3c397 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23

25 CoreFoundation 0x00007fffa7d3c307 __CFRunLoopDoObservers + 391

26 CoreFoundation 0x00007fffa7d1cf39 __CFRunLoopRun + 873

27 CoreFoundation 0x00007fffa7d1c974 CFRunLoopRunSpecific + 420

28  HIToolbox                           0x00007fffa72a8a5c RunCurrentEventLoopInMode + 240

29  HIToolbox                           0x00007fffa72a8891 ReceiveNextEventCommon + 432

30  HIToolbox                           0x00007fffa72a86c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71

31  AppKit 0x00007fffa584e5b4 _DPSNextEvent + 1120

32  AppKit                              0x00007fffa5fc8d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789

33  Safari 0x00007fffb8932f81 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 252

34  AppKit                              0x00007fffa5842f35 -[NSApplication run] + 926

35  AppKit 0x00007fffa580d850 NSApplicationMain + 1237

36  libdyld.dylib                       0x00007fffbd274255 start + 1



Please try the following two suggestions:

 

  1. Use safe mode to isolate issues with your Mac - Apple Support.
    • Compare how your Mac works in Safe Mode to how it has been.
    • Then, restart normally. If the same problem returns, please read the section If an issue doesn't happen in safe mode for Apple's recommended actions.
  2. How to test an issue in another user account on your Mac.
    • When you are finished troubleshooting, you can remove the temporary User Account by following these instructions: macOS Sierra: Delete a user or group.
    • Before removing it, confirm you don't need any of the files you might have created in that Account


John, I'm not sure where it takes me, but:

 

(1) I Can print from Safari and Preview in Safe Mode

 

(2) I Can print from Safari and Preview as a Guest in normal mode

 

I saw a suggestion to delete com.apple.safari.plist from Library/Preferences, but there is no such file anywhere on my Mac.

 

What do I do now?



The Apple Support document suggests:

 

 

You should certainly investigate that possibility, but there are additional potential causes that often reveal the willful installation and use of ill-conceived non-Apple "anti-virus" junk, as well as various and sundry "cleaning" scam products aggressively marketed by a variety of sources. If you know that you installed anything in either one of those categories, uninstall them as a matter of course. That just goes without saying. Recovery from either one of those causes requires explicit instructions tailored to the particular product that may be involved.

 

If you eliminate that cause, or are uncertain of it, and still cannot determine the reason for the crashes, please examine the contents of each of the following folders:

 

~/Library/LaunchAgents

/Library/LaunchAgents/

/Library/LaunchDaemons/

 

To navigate to them, copy and paste each one of the above lines into the Finder's Go menu > Go to Folder... field.

 

By default Apple installs nothing in any of those folders, which means that you should be absolutely certain everything they contain is required for software that you need. One or more of those items are likely to be responsible for the behavior you are experiencing, so if you find anything installed in those locations please identify it by name.

 

If investigating that does not lead to a resolution, then please reset that Mac's SMC according to the following: Reset the System Management Controller (SMC) on your Mac - Apple Support.

 

If that still does not help, please write back for additional suggestions.



I have no malware like you described that I can find, and did not notice anything that might have coincided with the upgrade to Sierra. The issue coincided precisely with the upgrade to Sierra. 


The two Library folders do contain files (see below) but it is not at all clear (to me) why any of these files might prevent printing from Safari and Preview but not from Firefox, Chrome, Acrobat Reader, Acrobat, Word, or other print-capable programs. 


Nonetheless, should I delete all the following files?


/Library/LaunchAgents/ contains these files:


com.adobe.AAM.Updater-1.0.plist

com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a2 3d420d.plist

com.google.keystone.agent.plist

com.oracle.java.Java-Updater.plist

 

/Library/LaunchDaemons contains these files:

 

com.microsoft.office.licensing.helper.plist

com.oracle.java.Helper-Tool.plist

com.google.keystone.daemon.plist

com.barebones.authd.plist

com.adobe.fpsaud.plist

com.adobe.ARMDC.SMJobBlessHelper.plist

com.adobe.ARMDC.Communicator.plist

 

Unless one of these rings a bell, I will reset the SMC early tomorrow and report back...

 

I appreciate your help. 



Reset SMC this morning, no change to symptoms...



Try running this program in your normal account, then copy and paste the output in a reply. The program was created by etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read. On the screen with Options, please open Options and check the bottom 2 boxes before running. Click “Share Report” button in the toolbar, select “Copy Report” and then paste into a reply. This will show what is running on your computer. No personal information is shown.
  

Etrecheck – System Information



Here is:

 

EtreCheck version: 3.1.5 (343)

Report generated 2017-03-22 16:42:53

Download EtreCheck from https://etrecheck.com

Runtime 1:41

Performance: Excellent

 

Click the [Support] links for help with non-Apple products.

Click the [Details] links for more information about that line.

 

Problem: No problem - just checking

 

Hardware Information: ⓘ

    MacBook Pro (Retina, 15-inch, Late 2013)

    [Technical Specifications] - [User Guide] - [Warranty & Service]

    MacBook Pro - model: MacBookPro11,3

    1 2.3 GHz Intel Core i7 (i7-4850HQ) CPU: 4-core

    16 GB RAM Not upgradeable

        BANK 0/DIMM0

            8 GB DDR3 1600 MHz ok

        BANK 1/DIMM0

            8 GB DDR3 1600 MHz ok

    Bluetooth: Good - Handoff/Airdrop2 supported

    Wireless:  en0: 802.11 a/b/g/n/ac

    Battery: Health = Normal - Cycle count = 21

 

Video Information: ⓘ

    Intel Iris Pro

        Color LCD 3360 x 2100

    NVIDIA GeForce GT 750M - VRAM: 2048 MB

 

System Software: ⓘ

    macOS Sierra  10.12.3 (16D32) - Time since boot: about one day

 

Disk Information: ⓘ

    APPLE SSD SM0512F disk0 : (500.28 GB) (Solid State - TRIM: Yes)

    [Show SMART report]

        EFI (disk0s1) <not mounted> : 210 MB

        Macintosh HD (disk0s2) /  [Startup]: 427.42 GB (231.43 GB free)

        Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB

        BOOTCAMP (disk0s4) /Volumes/BOOTCAMP : 72.00 GB (16.56 GB free)

 

USB Information: ⓘ

    Apple Inc. Apple Internal Keyboard / Trackpad

    Apple Inc. BRCM20702 Hub

        Apple Inc. Bluetooth USB Host Controller

 

Thunderbolt Information: ⓘ

    Apple Inc. thunderbolt_bus

 

Gatekeeper: ⓘ

    Mac App Store and identified developers

 

Unknown Files: ⓘ

    ~/Library/LaunchAgents/com.userhelper.status.update.plist

        ~/Library/Application Support/userhelper/userhelper.app/Contents/MacOS/Installer -evnt agnt -oprID 80801239|00340|1000022|0|0|1|0|000000000|16022017|03762784|OTA=|U2FmZUZpbmRlcg= =|VVM=|VW5pdGVkIFN0YXRlcw==|R29vZ2xl -dBrowser Firefox

    One unknown file found. [Check files]

 

Kernel Extensions: ⓘ

        /System/Library/Extensions

    [not loaded]    com.microsoft.driver.MicrosoftMouse (8.2 - 2017-03-22) [Support]

    [not loaded]    com.rim.driver.BlackBerryUSBDriverInt (0.0.39 - 2017-03-22) [Support]

    [not loaded]    com.rim.driver.BlackBerryUSBDriverVSP (0.0.39 - 2017-03-22) [Support]

 

        /System/Library/Extensions/MicrosoftMouse.kext/Contents/PlugIns

    [not loaded]    com.microsoft.driver.MicrosoftMouseBluetooth (8.2 - 2011-07-27) [Support]

    [not loaded]    com.microsoft.driver.MicrosoftMouseUSB (8.2 - 2011-07-27) [Support]

 

System Launch Agents: ⓘ

    [not loaded]    7 Apple tasks

    [loaded]    168 Apple tasks

    [running]    105 Apple tasks

 

System Launch Daemons: ⓘ

    [not loaded]    40 Apple tasks

    [loaded]    162 Apple tasks

    [running]    109 Apple tasks

 

Launch Agents: ⓘ

    [not loaded]    com.adobe.AAM.Updater-1.0.plist (2014-11-04) [Support]

    [failed]    com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a 23d420d.plist (2017-01-13) [Support]

    [loaded]    com.google.keystone.agent.plist (2017-01-13) [Support]

    [loaded]    com.oracle.java.Java-Updater.plist (2016-08-10) [Support]

    [running]    com.rim.BBLaunchAgent.plist (2013-10-18) [Support]

 

Launch Daemons: ⓘ

    [loaded]    com.adobe.ARMDC.Communicator.plist (2017-01-13) [Support]

    [loaded]    com.adobe.ARMDC.SMJobBlessHelper.plist (2017-01-13) [Support]

    [loaded]    com.adobe.fpsaud.plist (2017-02-28) [Support]

    [loaded]    com.barebones.authd.plist (2013-10-28) [Support]

    [loaded]    com.google.keystone.daemon.plist (2017-01-23) [Support]

    [loaded]    com.microsoft.office.licensing.helper.plist (2010-08-25) [Support]

    [loaded]    com.oracle.java.Helper-Tool.plist (2016-06-22) [Support]

    [running]    com.rim.BBDaemon.plist (2010-07-28) [Support]

 

User Launch Agents: ⓘ

    [loaded]    com.adobe.AAM.Updater-1.0.plist (2013-12-06) [Support]

    [failed]    com.adobe.ARM.[...].plist (2015-03-10) [Support] - /Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper: Executable not found!

    [loaded]    com.dropbox.DropboxMacUpdate.agent.plist (2017-03-09) [Support]

    [loaded]    com.userhelper.status.update.plist (2017-03-22) [Support]

    [not loaded]    ws.agile.1PasswordAgent.plist (2014-05-30) [Support]

 

User Login Items: ⓘ

    Dropbox    Application 

        (/Applications/Dropbox.app)

    ElementsAutoAnalyzer    Application 

        (/Applications/Adobe Elements 12 Organizer.app/Contents/ElementsAutoAnalyzer.app)

    Advanced Mac Cleaner    Application 

        (~/.Trash/Advanced Mac Cleaner.app)

 

Internet Plug-ins: ⓘ

    NPDjVu: 6.1.2 - SDK 10.6 (2012-05-02) [Support]

    PrintDialogExt: 6.1.1 (2012-05-02) [Support]

    Flip4Mac WMV Plugin: 2.3.2.6 (2010-02-19) [Support]

    OfficeLiveBrowserPlugin: 12.2.9 (2011-05-14) [Support]

    AdobePDFViewerNPAPI: 15.023.20056 - SDK 10.11 (2017-01-21) [Support]

    FlashPlayer-10.6: 25.0.0.127 - SDK 10.9 (2017-03-15) [Support]

    Silverlight: 5.1.50428.0 - SDK 10.6 (2016-07-07) [Support]

    QuickTime Plugin: 7.7.3 (2017-02-04)

    Flash Player: 25.0.0.127 - SDK 10.9 (2017-03-15) [Support]

    iPhotoPhotocast: 7.0 (2010-04-20)

    NP_2020Player_IKEA: 5.0.94.0 - SDK 10.6 (2011-10-26) [Support]

    AdobePDFViewer: 15.023.20056 - SDK 10.11 (2017-01-21) [Support]

    SharePointBrowserPlugin: 14.0.2 (2011-01-03) [Support]

    JavaAppletPlugin: Java 8 Update 101 build 13 (2016-08-10) Check version

 

User internet Plug-ins: ⓘ

    Picasa: 1.0 (2010-07-11) [Support]

    Google Earth Web Plug-in: 7.1 (2013-10-07) [Support]

 

Safari Extensions: ⓘ

    1Password - AgileBits - https://agilebits.com/onepassword (2017-02-17)

    AdBlock - BetaFish, Inc. - https://getadblock.com (2015-10-12)

    Add To Amazon Wish List - Amazon.com - https://www.amazon.com/wishlist?ref=cm_wl_saf_ext (2014-11-06)

    Open in Internet Explorer - Parallels - https://www.parallels.com (2013-08-15)

 

3rd Party Preference Panes: ⓘ

    Flash Player (2017-02-28) [Support]

    Flip4Mac WMV (2010-02-19) [Support]

    Java (2016-08-10) [Support]

    MacFUSE (2010-09-22) [Support]

    Microsoft Mouse (2013-05-21) [Support]

 

Time Machine: ⓘ

    Skip System Files: NO

    Mobile backups: ON

    Auto backup: YES

    Volumes being backed up:

        Macintosh HD: Disk size: 427.42 GB Disk used: 195.99 GB

    Destinations:

        BACKUP G-DRIVE USB [Network]

        Total size: 4.00 TB

        Total number of backups: 33

        Oldest backup: 2/28/17, 7:05 AM

        Last backup: 3/22/17, 4:00 PM

        Size of backup disk: Excellent

            Backup size 4.00 TB > (Disk size 427.42 GB X 3)

 

Top Processes by CPU: ⓘ

         7%       WindowServer

         1%       kernel_task

         1%       fontd

         1%       ps

         1%       com.apple.AmbientDisplayAgent

 

Top Processes by Memory: ⓘ

    1.39 GB       kernel_task

    1.09 GB       Google Chrome Helper(5)

    819 MB        Safari

    590 MB        com.apple.WebKit.WebContent(4)

    557 MB        firefox

 

Virtual Memory Information: ⓘ

    4.56 GB       Available RAM

    218 MB        Free RAM

    11.44 GB      Used RAM

    4.35 GB       Cached files

    227 MB        Swap Used

 

Diagnostics Information: ⓘ

    Mar 22, 2017, 02:20:15 PM    ~/Library/Logs/DiagnosticReports/iTunesHelper_2017-03-22-142015_[redacted].cras h

        com.apple.iTunesHelper - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesH elper

    Mar 21, 2017, 06:27:31 PM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2017-03-21-182731_[redacted].c rash

        /Applications/Adobe Elements 12 Organizer.app/Contents/ElementsAutoAnalyzer.app/Contents/Frameworks/AdobeCrashR eporter.framework/Required/AdobeCrashDaemon.app/Contents/MacOS/AdobeCrashDaemon

    Mar 21, 2017, 06:27:05 PM    Self test - passed

    Mar 21, 2017, 04:46:19 PM    ~/Library/Logs/DiagnosticReports/Preview_2017-03-21-164619_[redacted].crash

        com.apple.Preview - /Applications/Preview.app/Contents/MacOS/Preview

    Mar 21, 2017, 11:55:39 AM    ~/Library/Logs/DiagnosticReports/Safari_2017-03-21-115539_[redacted].crash

        com.apple.Safari - /Applications/Safari.app/Contents/MacOS/Safari

    Mar 21, 2017, 11:22:42 AM    ~/Library/Logs/DiagnosticReports/Safari_2017-03-21-112242_[redacted].crash

    Mar 21, 2017, 11:21:30 AM    ~/Library/Logs/DiagnosticReports/Safari_2017-03-21-112130_[redacted].crash

 

Files deleted by EtreCheck: ⓘ

    Mar 22, 2017, 04:26:55 PM - ~/Library/LaunchAgents/com.pcv.hlpramcn.plist



did you ever find a solution to this issue?



最後更新:2017-09-14 04:54:06

  上一篇:go Bluetooth audio horrible in Mazda
  下一篇:go How to avoid opening a new window when creating...