Safari crashes running default Safari App Extension

When creating a new Safari App Extension, I am able to run the application. However, running the application the NSLogs are not printed to the console.

The logs should be shown when running only the extension. If I do that, however, Safari crashes after a few seconds similar to the problem in

https://stackoverflow.com/questions/51657557/how-can-crashes-of-safari-extensions-on-mojave-be-avoided


This is the console output:

2019-03-10 19:25:13.863237+0100 Safari[1264:38205] [default] Unable to load Info.plist exceptions (eGPUOverrides)

2019-03-10 19:25:13.936899+0100 Safari[1264:38205] [SQLiteStore] Failed to acquire database store coordination lock at /Users/username/Library/Safari/Favicon Cache/favicons.db-lock: [35: Resource temporarily unavailable]

2019-03-10 19:25:13.938206+0100 Safari[1264:38205] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users/username/Library/Safari/Favicon%20Cache/favicons.db.

2019-03-10 19:25:13.939730+0100 Safari[1264:38205] [SQLiteStore] Failed to acquire database store coordination lock at /Users/username/Library/Safari/Favicon Cache/favicons.db-lock: [35: Resource temporarily unavailable]

2019-03-10 19:25:13.939916+0100 Safari[1264:38205] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users/username/Library/Safari/Favicon%20Cache/favicons.db.

2019-03-10 19:25:13.940061+0100 Safari[1264:38205] [SQLiteStore] Falling back to an in-memory store

2019-03-10 19:25:13.943271+0100 Safari[1264:38205] [FaviconPersistence] Using in-memory representation for database /Users/username/Library/Safari/Favicon Cache/favicons.db

2019-03-10 19:25:14.159193+0100 Safari[1264:38219] [SQLiteStore] Failed to acquire database store coordination lock at /Users/username/Library/Containers/com.apple.Safari/Data/Library/Caches/com.apple.Safari/TabSnapshots/Metadata.db-lock: [35: Resource temporarily unavailable]

2019-03-10 19:25:14.160110+0100 Safari[1264:38219] [SQLiteStore] Failed to acquire exclusive access to database at file:///Users/username/Library/Containers/com.apple.Safari/Data/Library/Caches/com.apple.Safari/TabSnapshots/Metadata.db.

2019-03-10 19:25:14.280009+0100 Safari[1264:38293] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

2019-03-10 19:25:14.286126+0100 Safari[1264:38293] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

2019-03-10 19:25:14.287890+0100 Safari[1264:38293] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

2019-03-10 19:25:14.290918+0100 Safari[1264:38293] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

2019-03-10 19:25:14.561656+0100 Safari[1264:38445] flock failed to lock maps file: errno = 35

2019-03-10 19:25:14.562377+0100 Safari[1264:38445] flock failed to lock maps file: errno = 35

2019-03-10 19:25:19.205182+0100 Safari[1264:38733] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1003

2019-03-10 19:25:19.217127+0100 Safari[1264:38733] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: NSURLErrorDomain: -1003

2019-03-10 19:25:19.470094+0100 Safari[1264:38733] [CrowdsourcedAutoFill] Unable to read cloud AutoFill correction sets, error: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist."

2019-03-10 19:25:19.827251+0100 Safari[1264:38749] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

2019-03-10 19:25:20.223171+0100 Safari[1264:38749] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

2019-03-10 19:25:20.954639+0100 Safari[1264:38195] [logging-persist] cannot open file at line 42263 of [95fbac39ba]

2019-03-10 19:25:20.984886+0100 Safari[1264:38195] [logging-persist] os_unix.c:42263: (0) open(/var/db/DetachedSignatures) - Undefined error: 0

2019-03-10 19:25:22.485688+0100 Safari[1264:38740] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist."

2019-03-10 19:25:22.846847+0100 sessions Extension[1279:38877] [default] Unable to load Info.plist exceptions (eGPUOverrides)

2019-03-10 19:25:24.936786+0100 Safari[1264:38195] [PerSitePreferences] Failed to set up all website policies before timeout

2019-03-10 19:25:24.938044+0100 Safari[1264:38195] [PerSitePreferences] Failed to set up all website policies before timeout

2019-03-10 19:25:24.940622+0100 Safari[1264:38195] [PerSitePreferences] Failed to set up all website policies before timeout

2019-03-10 19:25:24.941832+0100 Safari[1264:38195] [PerSitePreferences] Failed to set up all website policies before timeout

2019-03-10 19:25:25.238038+0100 Safari[1264:38418] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

2019-03-10 19:25:25.247764+0100 Safari[1264:38418] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

2019-03-10 19:25:27.166853+0100 Safari[1264:38753] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist."

2019-03-10 19:25:28.201651+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:28.485802+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:31.444835+0100 Safari[1264:38733] Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.

2019-03-10 19:25:31.466526+0100 Safari[1264:38733] Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.

2019-03-10 19:25:31.466787+0100 Safari[1264:38733] [CrowdsourcedAutoFill] Neither local nor cloud classification correction databases could be opened

2019-03-10 19:25:34.736236+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:34.742889+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:35.902569+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:37.384348+0100 Safari[1264:38195] [WebKit2Callbacks] Page (pid: 1275) did fail provisional load in subframe (Error Domain=WebKitErrorDomain Code=104 "(null)")

2019-03-10 19:25:39.204130+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:39.295968+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

2019-03-10 19:25:40.684271+0100 Safari[1264:38195] extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...

Program ended with exit code: 0

Replies

Unfortunately, there isn't anything actionable in those logs.


If you are able to reproduce this again, can you file a bug report on https://bugreport.apple.com and give me the number? I can look it up and hopefully help.