sketch-module-web-view: Crashing after using remote url
Sketch crushing after a while if I do
browserWindow.loadURL(‘https://github.com')
Error I’m getting:
Thread 0 Crashed:
0 libsystem_malloc.dylib 0x00007fff7e91ba8e nanov2_allocate_from_block + 622
1 libsystem_malloc.dylib 0x00007fff7e91b0f6 nanov2_allocate + 142
2 libsystem_malloc.dylib 0x00007fff7e91bf7e nanov2_calloc + 82
3 libsystem_malloc.dylib 0x00007fff7e910d3a malloc_zone_calloc + 99
4 libsystem_malloc.dylib 0x00007fff7e910cba calloc + 30
5 libobjc.A.dylib 0x00007fff7d68383e class_createInstance + 83
6 CoreFoundation 0x00007fff5155d989 __CFAllocateObject + 17
7 CoreFoundation 0x00007fff5158dc41 +[__NSSingleObjectSetI __new::] + 21
8 CoreFoundation 0x00007fff5158dc26 __createSet + 33
9 CoreFoundation 0x00007fff5158dbf2 +[NSSet setWithObject:] + 38
10 AppKit 0x00007fff4eb6d174 -[_NSViewLayoutInvalidator observeValueForKeyPath:ofObject:change:context:] + 433
11 Foundation 0x00007fff538e4f96 NSKeyValueNotifyObserver + 346
12 Foundation 0x00007fff538e4a02 NSKeyValueDidChange + 481
13 Foundation 0x00007fff53a74028 NSKeyValueDidChangeWithPerThreadPendingNotifications.llvm.6933669911801571155 + 143
14 AppKit 0x00007fff4eb1b5f3 -[NSView didChangeValueForKey:] + 144
15 Foundation 0x00007fff538e39ef _NSSetObjectValueAndNotify + 164
16 AppKit 0x00007fff4ebdcc72 -[NSButtonCell _updateBackgroundViewWithFrame:inView:] + 439
17 AppKit 0x00007fff4eb74f08 -[NSButtonCell _updateSubviewsInView:includeTitleTextField:] + 146
18 AppKit 0x00007fff4ece63b7 __35-[NSControl _windowChangedKeyState]_block_invoke + 46
19 AppKit 0x00007fff4eb06436 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 84
20 AppKit 0x00007fff4ece6192 -[NSControl _windowChangedKeyState] + 138
21 AppKit 0x00007fff4ece629a -[NSView _windowChangedKeyState] + 253
22 AppKit 0x00007fff4ed07bc3 -[NSToolbarItemViewer _windowChangedKeyState] + 42
23 AppKit 0x00007fff4ece629a -[NSView _windowChangedKeyState] + 253
24 AppKit 0x00007fff4ed07b1a -[NSToolbarView _windowChangedKeyState] + 44
25 AppKit 0x00007fff4ece629a -[NSView _windowChangedKeyState] + 253
26 AppKit 0x00007fff4ed076cd -[NSVisualEffectView _windowChangedKeyState] + 42
27 AppKit 0x00007fff4ece629a -[NSView _windowChangedKeyState] + 253
28 AppKit 0x00007fff4ece629a -[NSView _windowChangedKeyState] + 253
29 AppKit 0x00007fff4ed0763f -[NSThemeFrame _windowChangedKeyState] + 46
30 AppKit 0x00007fff4ec29a2c +[NSWindow _enableKeyStateChangeNotifications] + 355
31 AppKit 0x00007fff4ed13251 _NXEndKeyAndMain + 297
32 AppKit 0x00007fff4ed11e42 -[NSApplication _handleDeactivateEvent:] + 764
33 AppKit 0x00007fff4eae0d74 -[NSApplication(NSEvent) sendEvent:] + 2588
34 AppKit 0x00007fff4eacdcf1 -[NSApplication run] + 755
35 AppKit 0x00007fff4eabd3f7 NSApplicationMain + 780
36 libdyld.dylib 0x00007fff7e76108d start + 1
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 24 (6 by maintainers)
I have got the same Problem…
Should be fixed in 2.1.2
we might need to do something with this: https://developer.apple.com/documentation/webkit/wkusercontentcontroller/2902756-addcontentrulelist?language=objc then
I can confirm that this seems to be a Mojave issue. I’ve been updating some old plugins. The one I did before upgrading to Mojave seemed to be fine, but after I switched to Mojave, I get the same issues/error messages above. Not able to load either a remote or local URL without it crashing.