vimr: For some users the loading of FontAwesome throws an exception
VimR v0.20.5-259 macOS Sierra 10.12.6 (16G1309)
From Console App:
default 17:09:05.167101 +0100 VimR Faulting in NSHTTPCookieStorage singleton
default 17:09:05.167122 +0100 VimR Faulting in CFHTTPCookieStorage singleton
default 17:09:05.167134 +0100 VimR Creating default cookie storage with process/bundle identifier
error 17:09:05.181679 +0100 VimR An uncaught exception was raised
error 17:09:05.181744 +0100 VimR <private>
error 17:09:05.181832 +0100 VimR <private>
default 17:09:05.181933 +0100 VimR *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The operation couldn’t be completed. (com.apple.CoreText.CTFontManagerErrorDomain error -1 - Could not register the CGFont '<CGFont (0x6000000de990): FontAwesome>')'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffaf1202cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffc3f3748d objc_exception_throw + 48
2 CoreFoundation 0x00007fffaf120219 -[NSException raise] + 9
3 CocoaFontAwesome 0x000000010ada32a6 -[NSImage(UKRemoveTransparentAreas) trimming] + 12598
4 CocoaFontAwesome 0x000000010ada3429 -[NSImage(UKRemoveTransparentAreas) trimming] + 12985
5 CocoaFontAwesome 0x000000010ada0689 -[NSImage(UKRemoveTransparentAreas) trimming] + 1305
6 CocoaFontAwesome 0x000000010ada46eb swift_rt_swift_getInitializedObjCClass + 2043
7 CocoaFontAwesom
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 15 (6 by maintainers)
Commits related to this issue
- GH-611 Prevent crash when loading FontAwesome fails — committed to qvacua/vimr by qvacua 6 years ago
- GH-611 Show a notification when fontawesome cannot be loaded and show ? instead of the icons — committed to qvacua/vimr by qvacua 6 years ago
- GH-611 Update release notes — committed to qvacua/vimr by qvacua 6 years ago
Please try the latest snapshot. If the font cannot be loaded,
?will be displayed instead of, well, crashing…