Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Sierra Finder crash on web link quickview

I have a web link saved into a folder and selecting this link a quickview the file I got a Finder Crash

I see this behaviour after upgrade to Safari 12 on OS X 10.12.6


I also try to login to another new user and the crash occur in the same way.


Can someone help me?



Here you can download the crash report: Finder crash report.rtf - Box

MacBook Pro (15-inch, 2017), iOS 12

Posted on Sep 21, 2018 11:50 PM

Reply
41 replies

Dec 28, 2018 3:52 PM in response to Rossi Paolo

SOLUTION

  • Currently working for OS X 10.12.6
  • Finder doesn't crash when .weblock is clicked.
  • Safari is able to launch the url.
  • However, Quicklook views .weblocs as plain text files, bypassing the web preview generation.



Overview

Step 1

File: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist

Remove: <string>com.apple.weblocation</string>



Step 2

File: /System/Library/QuickLook/Text.qlgenerator/Contents.info.plist

Add:

<string>com.apple.internet-location</string>

Location:

<string>QLGenerator</string>
<key>LSItemContentTypes</key>
<array>
	<string>public.data</string>
	<string>com.apple.internet-location</string> <!-- sierra-webloc-crashfix  -->
</array>


Step 3

Copy File: /System/Library/QuickLook/Text.qlgenerator

Move Copy:/Library/QuickLook/Text.qlgenerator


Step 4

Terminal Command:

qlmaange -r 


Basic instructions for editing these types of files:

ex.Step 1


Locate File: /System/Library/QuickLook/Web.qlgenerator/

-Right Click and select “Show Package Contents”


Copy File to desktop: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist

…Enter PW to allow changes

Duplicate File on desktop & rename: original.Contents.info.plist

-Edit desktop/Contents.info.plist

Remove:

<string>com.apple.weblocation</string>


- Save, move both files to replace original File: /System/Library/QuickLook/Web.qlgenerator/Contents.info.plist

…Enter PW to allow changes


ect.


Sep 27, 2018 6:21 AM in response to Rossi Paolo

I also had this error on my system running Sierra 10.12.6 and the only recent change was the update to Safari 12.


Looking at the crash logs (In Console - User reports) certainly calls out the same things reported here as follows:


Process: Spotlight [370]
Path: /System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight
Identifier: com.apple.Spotlight
Version: 1.0 (1075.40)
Build Info: SpotlightUI-1075040000000000~244
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Spotlight [370]
User ID: 501


Date/Time: 2018-09-26 08:59:32.454 -0500
OS Version: Mac OS X 10.12.6 (16G1510)
Report Version: 12
Anonymous UUID: 203C2CBC-8F7A-2B08-2B4D-E56DB6EF22CC



Time Awake Since Boot: 120 seconds


System Integrity Protection: enabled


Crashed Thread: 7 Dispatch queue: com.apple.root.default-qos


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:

XPC API Misuse: Release of last reference on a suspended connection.


Application Specific Signatures:

API Misuse


The important thing to note is what THREAD has crashed as seen below:


Thread 7 Crashed:: Dispatch queue: com.apple.root.default-qos

0 libxpc.dylib 0x00007fffd9152504 _xpc_api_misuse + 75

1 libxpc.dylib 0x00007fffd9141b7f _xpc_connection_last_xref_cancel + 52

2 libxpc.dylib 0x00007fffd9141b22 -[OS_xpc_connection _xref_dispose] + 17

3 com.apple.SafariServices.framework 0x00007fffc94c685f SSGetFullySimplifiedStringForURL + 746

4 com.apple.QuickLookUIFramework 0x00007fffc9203940 -[QLPreviewSchemeHandler_http _calculatePreviewURL:previewData:previewProperties:previewType:] + 331

5 com.apple.QuickLookUIFramework 0x00007fffc917d535 _QLPreviewItemGeneratorCopyPreviewUsingSchemeHandlerForURL + 158

6 com.apple.QuickLookFramework 0x00007fffc9483568 _QLPreviewReplyCreatedWithURL + 861

7 com.apple.QuickLookFramework 0x00007fffc9489e0e _XPreviewReplyCreatedWithURL + 219

8 com.apple.QuickLookFramework 0x00007fffc948a27e QLPreviewReply_server + 80

9 libsystem_kernel.dylib 0x00007fffd9014e0c mach_msg_server_once + 476

10 com.apple.QuickLookFramework 0x00007fffc9480d7f _QLPreviewWaitForPreviewTypeIfNecessary + 2631

11 com.apple.QuickLookFramework 0x00007fffc94801bc QLPreviewGetDisplayBundleID + 180

12 com.apple.QuickLookUIFramework 0x00007fffc9214a6f __65-[QLPreviewDocument startLoadingWithForcedDisplayBundleID:hints:]_block_invoke + 99

13 com.apple.QuickLookFramework 0x00007fffc94adfe4 QLTryCatchAndCrash(void () block_pointer) + 20

14 libdispatch.dylib 0x00007fffd8ec1524 _dispatch_call_block_and_release + 12

15 libdispatch.dylib 0x00007fffd8eb88fc _dispatch_client_callout + 8

16 libdispatch.dylib 0x00007fffd8ec7196 _dispatch_queue_override_invoke + 743

17 libdispatch.dylib 0x00007fffd8eba6b5 _dispatch_root_queue_drain + 476

18 libdispatch.dylib 0x00007fffd8eba48c _dispatch_worker_thread3 + 99

19 libsystem_pthread.dylib 0x00007fffd91075a2 _pthread_wqthread + 1299

20 libsystem_pthread.dylib 0x00007fffd910707d start_wqthread + 13



What this more or less tells me is that the Quicklook previewer is crashing when attempting to give you a preview of any weblink (in my case any *.webloc file).


What I had to do to fully fix this after trying all the normal things including rebuilding the spotlight index, trying safe mode, trying a new user, running disk check, checking the actual contents of the *.webloc files for corruption or malformed links, was to reinstall Sierra 10.12.6 by shutting down my system and holding COMMAND +R to "internet recovery" the OS on my machine.


Once the OS was reinstalled, full functionality was restored and I can now use spotlight as normal and include all items in the results with no further issues.

Oct 2, 2018 2:13 PM in response to Rossi Paolo

Same system and Safari here. A work-around, not a fix: Disable preview column in Finder as follows.


Finder, View menu, Show View Options, deselect Show preview columns.


With this, the Finder no longer resets when I click a .webloc item. However, Get Info still crashes the finder.


One other note on this bug. I have two machines with the same setup, and one has the problem while the other does not. This just means there are more factors the just the system and Safari versions.


I hope this helps.

SW

Oct 21, 2018 11:04 AM in response to Rossi Paolo

I posted this on a similar thread but I want to add my account here because the more Apple sees this, hopefully the sooner they fix it.


I'm also having this problem with Finder too--and it started around the same time as you after upgrading some applications. I've tried re-installing Sierra 10.12.6 and while it fixed the problem for a few days, just last night Finder began crashing again with basically any folder that had a URL file in it. Regardless of whether I was actually clicking on a URL file. And it doesn't seem switching users works either, it's only a temporary fix along with re-installing your OS.


It's happening to any URL file from any browser (I've tried all of them) too. It's refreshing to know it's not just a me problem, I was worried that I would need to get a new computer... I hope that Apple fixes this soon.

Oct 30, 2018 9:37 AM in response to Eric Root

Hmmm..

I just downloaded Safari_12.0.1_for_macOS_Sierra_beta_4.dmg.

It's a Developer file and there is also a version for High Sierra too.


I took a chance and and installed it and it seems that the Finder crashing has been resolved.

Now, I could be wrong but clicking on any dot weblock files do not crash the Finder here anymore.

It would be nice if anyone else could confirm this.


You need a Developer Account, which I recall as being free, and just use your normal ID & password.

Note; the installation will overwrite your Safari 12.0. but it seems OK here.


A simple google of Safari 12.0.1 beta, should bring up the location of the files.

Still a little in dis-belief here and hoping it holds.


!!! EDIT !!! NOTE; It does not fix the quicklook problem, Finder still Crashes on dot weblock files.

Oct 30, 2018 11:51 AM in response to Richard Schletty

Yes, Get Info still crashes Finder on a webloc here also.

Quick look is also still messed up on weblocs.


I could not even SELECT a .webloc without Finder crashing.

At least I can safely select one now and even double click it and Safari opens it, so that’s better here.


Yes, Apple has a long way to go with this.


Is High Sierra having all the same issues ?

anyone?

Nov 1, 2018 3:50 PM in response to RTouris

I was really hoping that last update 12.0.1 would fix this issue, but Apple is STILL ignoring it. 😠


This is not cool. It makes me hate the Apple brand. I have multiple Mac and clients with Macs that can't upgrade to High Sierra for compatibility issues. This makes them not want to upgrade their machines, it makes them want to jump ship to Windows 10 I can't blame them.


FIX IT, APPLE. 😠

Sierra Finder crash on web link quickview

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.