RESOLVED FIXED 188240
WebContent crashes on initialization with a local WebKit build on macOS Mojave seed
https://bugs.webkit.org/show_bug.cgi?id=188240
Summary WebContent crashes on initialization with a local WebKit build on macOS Mojav...
Devin Rousso
Reported 2018-08-01 14:52:10 PDT
Created attachment 346303 [details] [Log] Crash Possibly related to <https://webkit.org/b/188238>, but I can't say for sure.
Attachments
[Log] Crash (52.84 KB, text/plain)
2018-08-01 14:52 PDT, Devin Rousso
no flags
Joseph Pecoraro
Comment 1 2018-08-01 14:54:16 PDT
Hmm, this code just does a dispatch_sync to the main queue after checking ![NSThread isMainThread]. Whats up wit that? > Exception Type: EXC_BAD_INSTRUCTION (SIGILL) > Exception Codes: 0x0000000000000001, 0x0000000000000000 > Exception Note: EXC_CORPSE_NOTIFY > > Application Specific Information: > BUG IN CLIENT OF LIBDISPATCH: dispatch_sync called on queue already owned by current thread > > Thread 1 Crashed:: Dispatch queue: com.apple.main-thread > 0 libdispatch.dylib 0x00007fff7e0bda2e __DISPATCH_WAIT_FOR_QUEUE__ + 392 > 1 libdispatch.dylib 0x00007fff7e0bd611 _dispatch_sync_f_slow + 171 > 2 com.apple.WebKit 0x000000010eab2e60 WebKit::InitializeWebKit2()::$_0::operator()() const + 80 (WebKit2InitializeCocoa.mm:68) > 3 com.apple.WebKit 0x000000010eab2dfb void std::__1::__call_once_proxy<std::__1::tuple<WebKit::InitializeWebKit2()::$_0&&> >(void*) + 91 (mutex:650) > 4 libc++.1.dylib 0x00007fff7b8e1c8a std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 139 > 5 com.apple.WebKit 0x000000010eab2d91 WebKit::InitializeWebKit2() + 289 (WebKit2InitializeCocoa.mm:69) > ...
Alexey Proskuryakov
Comment 2 2018-08-04 13:34:05 PDT
It appears to be quite confused about which thread is main.
Radar WebKit Bug Importer
Comment 3 2018-08-04 13:34:18 PDT
Chris Dumez
Comment 4 2018-08-04 15:32:17 PDT
Chris Dumez
Comment 5 2018-08-04 15:48:18 PDT
Chris Dumez
Comment 6 2018-08-05 10:43:18 PDT
Devin, could you please clarify if this happens consistently on startup or this was a one time thing? Many people (including me) are running local builds of WebKit on recent builds of Mojave, without issue.
Devin Rousso
Comment 7 2018-08-05 12:21:29 PDT
(In reply to Chris Dumez from comment #6) > Devin, could you please clarify if this happens consistently on startup or > this was a one time thing? I had multiple crash reports from the exact same time that all had the same error. I only uploaded one since they were all the same. When the page crashed, it would attempt to reload, only to crash again, and then repeat the cycle.
Chris Dumez
Comment 8 2018-08-06 15:30:11 PDT
Please update to the latest macOS 12.14 beta, this should have been fixed already.
Chris Dumez
Comment 9 2018-08-06 15:33:53 PDT
(In reply to Chris Dumez from comment #8) > Please update to the latest macOS 12.14 beta, this should have been fixed > already. You're using the 4th developer seed and the latest one if the 6th. The 6th should definitely have the fix.
Note You need to log in before you can comment on or make changes to this bug.