My Mac App Crashing on ARM-64 Devices After Calling NSURL -getResourceValue:forKey: with

I'm getting some Crash Reports for an app of mine that's on the Mac App Store. A few details:

-All the crash reports are on ARM-64 Macs. -The call stack shows my app calling NSURL's -getResourceValue:forKey: method with NSURLLocalizedNameKey, which is the last call made by my app before the crash. After that crash logs look like this:

**Thread 0 Crashed:

0   libobjc.A.dylib               0x00000001a623c4b0 objc_retain + 16

1   LaunchServices                0x00000001a6954f68 -[FSNode(PathAndName) nameWithError:] + 72

2   LaunchServices                0x00000001a6a36278 +[_LSDisplayNameConstructor(ConstructForAnyFile) displayNameConstructorWithContextIfNeeded:bundle:bundleClass:node:preferredLocalizations:error:] + 2732

3   LaunchServices                0x00000001a6a357ac +[_LSDisplayNameConstructor(ConstructForAnyFile) displayNameConstructorWithContextIfNeeded:node:error:] + 44

4   LaunchServices                0x00000001a6ae5b20 LaunchServices::URLPropertyProvider::getDisplayNameConstructor(LaunchServices::Database::Context&, FSNode*, LaunchServices::URLPropertyProvider::State*, NSError* __autoreleasing*) + 88

5   LaunchServices                0x00000001a6ae1930 LaunchServices::URLPropertyProvider::prepareLocalizedNameValue(LaunchServices::Database::Context&, FSNode*, __FileCache*, __CFString const*, LaunchServices::URLPropertyProvider::State*, NSError* __autoreleasing*) + 328

6   LaunchServices                0x00000001a6953d6c LaunchServices::URLPropertyProvider::prepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 456

7   CoreServicesInternal          0x00000001a8def6f0 prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 452

8   CoreServicesInternal          0x00000001a8dec5ec _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 236

9   CoreFoundation                0x00000001a64546b0 CFURLCopyResourcePropertyForKey + 144

10  CoreFoundation                0x00000001a646b944 -[NSURL getResourceValue:forKey:error:] + 120**

--

I haven't been able to reproduce the issue on my ARM-64 Mac. Not sure what's going with _LSDisplayNameConstructor or if there is a way I can workaround/resolve.

Some of the crashes have the following lines included:

Kernel Triage: VM - Compressor failed a blocking pager_get

VM - Compressor failed a blocking pager_get

VM - Compressor failed a blocking pager_get

VM - Compressor failed a blocking pager_get

VM - Compressor failed a blocking pager_get

I opened FB10445753

Any help is much appreciated. Thanks in advance.

My Mac App Crashing on ARM-64 Devices After Calling NSURL -getResourceValue:forKey: with
 
 
Q