com.apple.WebKit.WebContent process is hung,, due to which webview in OSX app is not loading

The following is the stack trace.

Call graph:

2246 Thread_14270191   DispatchQueue_1: com.apple.main-thread  (serial)
+ 2246 start  (in dyld) + 462  [0x1125c851e]
+   2246 WebKit::XPCServiceMain(int, char const**)  (in WebKit) + 85  [0x7ff911bbb759]
+     2246 xpc_main  (in libxpc.dylib) + 99  [0x7ff80d4af239]
+       2246 _xpc_objc_main  (in libxpc.dylib) + 773  [0x7ff80d4af816]
+         2246 -[NSRunLoop(NSRunLoop) run]  (in Foundation) + 76  [0x7ff80e70e8d7]
+           2246 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]  (in Foundation) + 216  [0x7ff80e683d9a]
+             2246 CFRunLoopRunSpecific  (in CoreFoundation) + 562  [0x7ff80d82f7ac]
+               2237 __CFRunLoopRun  (in CoreFoundation) + 1276  [0x7ff80d830368]
+               ! 2237 __CFRunLoopServiceMachPort  (in CoreFoundation) + 319  [0x7ff80d831cdd]
+               !   2237 mach_msg  (in libsystem_kernel.dylib) + 56  [0x7ff80d72ece8]
+               !     2237 mach_msg_trap  (in libsystem_kernel.dylib) + 10  [0x7ff80d72e97a]
+               8 __CFRunLoopRun  (in CoreFoundation) + 2010  [0x7ff80d830646]
+               ! 3 __CFRunLoopDoTimers  (in CoreFoundation) + 307  [0x7ff80d849ef8]
+               ! : 2 __CFRunLoopDoTimer  (in CoreFoundation) + 923  [0x7ff80d84a388]
+               ! : | 2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__  (in CoreFoundation) + 20  [0x7ff80d84a899]
+               ! : |   1 WebCore::timerFired(__CFRunLoopTimer*, void*)  (in WebCore) + 18  [0x7ff90edb9a62]
+               ! : |   + 1 WTF::AutodrainedPool::AutodrainedPool()  (in JavaScriptCore) + 0  [0x7ff825ef0050]
+               ! : |   1 WebCore::timerFired(__CFRunLoopTimer*, void*)  (in WebCore) + 31  [0x7ff90edb9a6f]
+               ! : |     1 WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void>::call()  (in WebCore) + 148  [0x7ff91092a534]
+               ! : 1 __CFRunLoopDoTimer  (in CoreFoundation) + 104  [0x7ff80d84a055]
+               ! :   1 CFRetain  (in CoreFoundation) + 65  [0x7ff80d7b598e]
+               ! 2 __CFRunLoopDoTimers  (in CoreFoundation) + 191  [0x7ff80d849e84]
+               ! : 1 __NSArrayM_new  (in CoreFoundation) + 50  [0x7ff80d7cf1cc]
+               ! : | 1 __CFAllocateObject  (in CoreFoundation) + 15  [0x7ff80d7b58ef]
+               ! : |   1 class_createInstance  (in libobjc.A.dylib) + 64  [0x7ff80d5fe1da]
+               ! : |     1 _malloc_zone_calloc  (in libsystem_malloc.dylib) + 60  [0x7ff80d59eb75]
+               ! : |       1 szone_malloc_should_clear  (in libsystem_malloc.dylib) + 66  [0x7ff80d5837d2]
+               ! : |         1 tiny_malloc_should_clear  (in libsystem_malloc.dylib) + 32  [0x7ff80d584765]
+               ! : 1 objc_msgSend  (in libobjc.A.dylib) + 26  [0x7ff80d5fe41a]
+               ! 2 __CFRunLoopDoTimers  (in CoreFoundation) + 205  [0x7ff80d849e92]
+               ! : 1 -[__NSArrayM insertObject:atIndex:]  (in CoreFoundation) + 399  [0x7ff80d7d27ee]
+               ! : | 1 _platform_bzero$VARIANT$Haswell  (in libsystem_platform.dylib) + 0  [0x7ff80d77e600]
+               ! : 1 -[__NSArrayM insertObject:atIndex:]  (in CoreFoundation) + 257  [0x7ff80d7d2760]
+               ! 1 __CFRunLoopDoTimers  (in CoreFoundation) + 222  [0x7ff80d849ea3]
+               1 __CFRunLoopRun  (in CoreFoundation) + 1280  [0x7ff80d83036c]
2246 Thread_14270227: WebCore: Scrolling
+ 2246 thread_start  (in libsystem_pthread.dylib) + 15  [0x7ff80d766f6b]
+   2246 _pthread_start  (in libsystem_pthread.dylib) + 125  [0x7ff80d76b4e1]
+     2246 WTF::wtfThreadEntryPoint(void*)  (in JavaScriptCore) + 9  [0x7ff825ef0039]
+       2246 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)  (in JavaScriptCore) + 246  [0x7ff82711ffa6]
+         2246 WTF::RunLoop::run()  (in JavaScriptCore) + 19  [0x7ff827109c53]
+           2246 CFRunLoopRun  (in CoreFoundation) + 40  [0x7ff80d8b782b]
+             2246 CFRunLoopRunSpecific  (in CoreFoundation) + 562  [0x7ff80d82f7ac]
+               2246 __CFRunLoopRun  (in CoreFoundation) + 1276  [0x7ff80d830368]
+                 2246 __CFRunLoopServiceMachPort  (in CoreFoundation) + 319  [0x7ff80d831cdd]
+                   2246 mach_msg  (in libsystem_kernel.dylib) + 56  [0x7ff80d72ece8]
+                     2246 mach_msg_trap  (in libsystem_kernel.dylib) + 10  [0x7ff80d72e97a]

1 Thread_14270224   DispatchQueue_13: com.apple.root.default-qos  (concurrent)
  1 start_wqthread  (in libsystem_pthread.dylib) + 15  [0x7ff80d766f57]
    1 _pthread_wqthread  (in libsystem_pthread.dylib) + 326  [0x7ff80d767fd0]
      1 _dispatch_workloop_worker_thread  (in libdispatch.dylib) + 753  [0x7ff80d5c0eee]
        1 _dispatch_mach_invoke  (in libdispatch.dylib) + 484  [0x7ff80d5c9b77]
          1 _dispatch_lane_serial_drain  (in libdispatch.dylib) + 342  [0x7ff80d5b61cd]
            1 _dispatch_mach_msg_invoke  (in libdispatch.dylib) + 445  [0x7ff80d5c9041]
              1 _dispatch_client_callout4  (in libdispatch.dylib) + 9  [0x7ff80d5b03b1]
                1 _xpc_connection_mach_event  (in libxpc.dylib) + 1382  [0x7ff80d4a5947]
                  1 _xpc_connection_call_event_handler  (in libxpc.dylib) + 56  [0x7ff80d4a6b6c]
                    1 WebKit::LaunchServicesDatabaseManager::handleEvent(NSObject<OS_xpc_object>*)  (in WebKit) + 176  [0x7ff911a6b0de]
                      1 -[LSDatabaseContext(WebKitChangeTracking) observeDatabaseChange4WebKit:]  (in LaunchServices) + 519  [0x7ff80dd8e80a]
                        1 _LSDatabaseCreate  (in LaunchServices) + 68  [0x7ff80dcc7a7c]
                          1 _LSDatabaseCreateWithAccessQueue  (in LaunchServices) + 769  [0x7ff80dd81865]
                            1 _CSGetStringForCharacters  (in CoreServicesStore) + 56  [0x7ff8100cc7af]
                              1 CSStore2::String::Find(CSStore2::Store&, char const*, unsigned int)  (in CoreServicesStore) + 554  [0x7ff8100cca02]
                                1 invocation function for block in CSStore2::String::Find(CSStore2::Store&, char const*, unsigned int)  (in CoreServicesStore) + 27  [0x7ff8100ccbfe]

Looks like the last thread is stuck in a database read call. Can anyone please help in a workaround for this?

Can someone please suggest a workaround on this?

com.apple.WebKit.WebContent process is hung,, due to which webview in OSX app is not loading
 
 
Q