5

Vlad This looks like the exact issue I started having with Orion RC starting Jan 1 ("Version 0.99.126.4.1.3-rc (WebKit 618.1.7) Build date Jan 1 2024"). I think my original report got merged into this thread to which I've been adding updates:
https://orionfeedback.org/d/6523-refresh-loops-page-randomly-reloading/142

I tried the latest RC ( -127) a few days ago but the problem didn't go away for me. I would have reported the issue again had I saw the pervious report marked Done earlier. I assumed this is caused by a bug in WebKit introduced between 618.1.2 and 618.1.7 and I would have to wait for a future Orion with a newer WebKit.

In the meantime, I've been using Orion Version 0.99.126.4.1-beta on my Catalina system. However, I don't want the issue to get lost as I would like to stay current with Orion. Unfortuantely, anything newer than that beta is unusable on my Catalina system.

squidcharger can you please share crash reports here? so that we can debug the issue.
You can find those under ~/Library/Logs/DiagnosticReports

    dino

    I don't have any from WebKit or Orion in there; in fact I have none that were made since the Orion update.

      dino FYI, I also don't have anything in that folder related to the RC version of Orion (there are a few reports in there from the 0.99.126.4.1-beta that doesn't have this issue and it is the version I normally run).

      Is there an option -- system or Orion-specific -- that we need to enable to generate debugging logs that you can use?

      • dino replied to this.

        dino

        Running Orion from the terminal results in no logging emitted when the problem occurs. I managed to attach a debugger which (like my system log earlier) shows it receiving a SIGKILL:

        * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGKILL
            frame #0: 0x0000000110b88581 JavaScriptCore`JSC::CodeBlock::finishCreation(JSC::VM&, JSC::ScriptExecutable*, JSC::UnlinkedCodeBlock*, JSC::JSScope*) + 2849
        JavaScriptCore`JSC::CodeBlock::finishCreation:
        ->  0x110b88581 <+2849>: movl   0x2c(%r15), %edi
            0x110b88585 <+2853>: addl   %edi, %edx
            0x110b88587 <+2855>: incl   %edx
            0x110b88589 <+2857>: movl   %edx, 0x2c(%r15)
        Target 0: (com.apple.WebKit.WebContent.Orion) stopped.
        (lldb) bt
        * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGKILL
          * frame #0: 0x0000000110b88581 JavaScriptCore`JSC::CodeBlock::finishCreation(JSC::VM&, JSC::ScriptExecutable*, JSC::UnlinkedCodeBlock*, JSC::JSScope*) + 2849
            frame #1: 0x0000000111d15f8c JavaScriptCore`JSC::ScriptExecutable::prepareForExecutionImpl(JSC::VM&, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&) + 1052
            frame #2: 0x000000011150575c JavaScriptCore`JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 2428
            frame #3: 0x000000011092d361 JavaScriptCore`JSObjectCallAsFunction + 593
            frame #4: 0x00000001108c3e3c JavaScriptCore`-[JSValue callWithArguments:] + 492
            frame #5: 0x0000000366487edb InjectedBundleAPI`___lldb_unnamed_symbol429$$InjectedBundleAPI + 267
            frame #6: 0x00000003664a5dd6 InjectedBundleAPI`___lldb_unnamed_symbol899$$InjectedBundleAPI + 486
            frame #7: 0x000000036649e909 InjectedBundleAPI`___lldb_unnamed_symbol818$$InjectedBundleAPI + 9
            frame #8: 0x00007fff2f66bb1c CoreFoundation`__invoking___ + 140
            frame #9: 0x00007fff2f66b9c1 CoreFoundation`-[NSInvocation invoke] + 303
            frame #10: 0x00000001109097b3 JavaScriptCore`JSC::ObjCCallbackFunctionImpl::call(JSContext*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + 419
            frame #11: 0x0000000110907157 JavaScriptCore`JSC::objCCallbackFunctionCallAsFunction(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + 183
            frame #12: 0x00000001109092a9 JavaScriptCore`JSC::callObjCCallbackFunction(JSC::JSGlobalObject*, JSC::CallFrame*) + 345
            frame #13: 0x00004eb97ae0c327
            frame #14: 0x00000001122f2585 JavaScriptCore`llint_entry + 122485
            frame #15: 0x00004eb97ae50c10
            frame #16: 0x00000001122f1b2b JavaScriptCore`llint_entry + 119835
            frame #17: 0x00000001122f17d9 JavaScriptCore`llint_entry + 118985
            frame #18: 0x00000001122d45bd JavaScriptCore`vmEntryToJavaScript + 188
            frame #19: 0x0000000111505809 JavaScriptCore`JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 2601
            frame #20: 0x0000000111771e0c JavaScriptCore`JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 172
            frame #21: 0x0000000114073845 WebCore`WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 197
            frame #22: 0x0000000114072443 WebCore`WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 1219
            frame #23: 0x00000001145021be WebCore`WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) + 398
            frame #24: 0x0000000114501dc9 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) + 313
            frame #25: 0x00000001144f8798 WebCore`WebCore::EventContext::handleLocalEvents(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) const + 504
            frame #26: 0x00000001144fbc8b WebCore`WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&) + 123
            frame #27: 0x00000001144fa956 WebCore`WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 6454
            frame #28: 0x00000001144e1855 WebCore`WebCore::Element::dispatchMouseEvent(WebCore::PlatformMouseEvent const&, WTF::AtomString const&, int, WebCore::Element*, WebCore::IsSyntheticClick) + 613
            frame #29: 0x0000000114b3d249 WebCore`WebCore::EventHandler::dispatchMouseEvent(WTF::AtomString const&, WebCore::Node*, int, WebCore::PlatformMouseEvent const&, WebCore::EventHandler::FireMouseOverOut) + 185
            frame #30: 0x0000000114b4a664 WebCore`WebCore::EventHandler::handleMousePressEvent(WebCore::PlatformMouseEvent const&) + 3204
            frame #31: 0x000000010e3ab9b3 WebKit`WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&) + 58843
            frame #32: 0x000000010e4bfa67 WebKit`IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 231
            frame #33: 0x000000010e185984 WebKit`WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 28
            frame #34: 0x000000010e4b6fdd WebKit`IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) + 757
            frame #35: 0x000000010e4b9444 WebKit`WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_15, void>::call() + 142
            frame #36: 0x000000011046b71b JavaScriptCore`WTF::RunLoop::performWork(void*) + 379
            frame #37: 0x00007fff2f689f92 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
            frame #38: 0x00007fff2f689f31 CoreFoundation`__CFRunLoopDoSource0 + 103
            frame #39: 0x00007fff2f689d4b CoreFoundation`__CFRunLoopDoSources0 + 209
            frame #40: 0x00007fff2f688a7a CoreFoundation`__CFRunLoopRun + 927
            frame #41: 0x00007fff2f68807e CoreFoundation`CFRunLoopRunSpecific + 462
            frame #42: 0x00007fff31d27c48 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
            frame #43: 0x00007fff31dda6ef Foundation`-[NSRunLoop(NSRunLoop) run] + 76
            frame #44: 0x00007fff689564ea libxpc.dylib`_xpc_objc_main.cold.4 + 49
            frame #45: 0x00007fff68956430 libxpc.dylib`_xpc_objc_main + 559
            frame #46: 0x00007fff68955f63 libxpc.dylib`xpc_main + 377
            frame #47: 0x000000010dd6ba54 WebKit`WebKit::XPCServiceMain(int, char const**) + 51
            frame #48: 0x000000010e49e923 WebKit`WKXPCServiceMain + 9
            frame #49: 0x00007fff68708cc9 libdyld.dylib`start + 1

        (This is attached to the webkit webcontent process)

        dino Another data point in case helpful (and this is weird but maybe that actually helps?):

        Running Orion .99.127-Beta / Catalina on a Monterey system reproduced this problem.
        Running Orion .99.127-Beta / {Mojave,Monterey} on same Monterey system worked exactly as expected.

        That is I downloaded from the regular download site the latest Orion Beta .dmg for each of Monterey, Catalina, and Mojave on my Monterey system and then tested them. Running the Orion from the Catalina download had all the same problems on the Monterey system as I had when I ran Orion RC and Catalina-specific Beta (after January 1, 2024) on my Catalina system.

        Especially since the Mojave-specfic build of Orion worked fine on Monterey but the Catalina-specific one did not, it appears there is something off with the Catalina-specfic build of Orion that started circa January 1, 2024.

          Unfortunately running the Mojave build on my Catalina system does not resolve the issue.

            squidcharger Yes I noticed that too with further testing. It appears that Catalina is cursed...

            Orion/Mojave on Mac/Mojave is fine (as far as this issue)
            Orion/{Mojave,Catalina} on Mac/Catalina has issue
            Orion/Catalina on Mac/Monterey has issue
            Orion/{Mojave,Monterey} on Mac/Monterey is fine

            For now I continue to run the previous Version 0.99.126.4.1-beta on my Catalina system but of course would prefer to keep up with the latest Orion...

              squidcharger is there some exact pattern I can follow to reproduce the issue locally? like from executing Orion to transitioning into that exact state. I think there's some pattern needed, which I am missing, so was unable to reproducing the issue. More the context I will have more the chances to fix that.

                dino

                I wish! Literally I can open Orion, go to any webpage (either by clicking a bookmark or entering a url, doesn't matter), click the first link I see and the tab almost always crashes. Sometimes it'll work one or two times.

                I understand it's really difficult to debug a problem if you can't reproduce it, but unfortunately I'm really not doing anything specific to trigger it.

                  I just had the genius (if I may say so myself) idea of starting Orion from LLDB and running it that way gives a whole bunch more output than just starting it on the cli:

                  2024-03-26 22:24:49.032456+0100 Orion[32184:1892600] [IPC] Received an invalid message 'WebPageProxy_DidPerformImmediateActionHitTest' from the WebContent process with PID 32201
                  2024-03-26 22:24:49.032502+0100 Orion[32184:1892600] [Process] AuxiliaryProcessProxy::terminate: PID=32201
                  2024-03-26 22:24:49.032617+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::didClose: (web process 32201 crash)
                  2024-03-26 22:24:49.032635+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
                  2024-03-26 22:24:49.032648+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::shutDown:
                  2024-03-26 22:24:49.032653+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::processWillShutDown:
                  2024-03-26 22:24:49.032816+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e1613d0 - [PID=0] ProcessThrottler::didDisconnectFromProcess:
                  2024-03-26 22:24:49.032838+0100 Orion[32184:1892600] [Process] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32201] WebPageProxy::processDidTerminate: (pid 32201), reason=Crash
                  2024-03-26 22:24:49.034624+0100 Orion[32184:1892600] [Media] VideoPresentationManagerProxy::invalidate(C4EA417F)
                  2024-03-26 22:24:49.034646+0100 Orion[32184:1892600] [Fullscreen] VideoPresentationManagerProxy::invalidate(C4EA417F)
                  2024-03-26 22:24:49.034655+0100 Orion[32184:1892600] [Fullscreen] VideoPresentationManagerProxy::~VideoPresentationManagerProxy(C4EA417F)
                  2024-03-26 22:24:49.034660+0100 Orion[32184:1892600] [Fullscreen] VideoPresentationManagerProxy::invalidate(C4EA417F)
                  2024-03-26 22:24:49.034664+0100 Orion[32184:1892600] [Media] VideoPresentationManagerProxy::~PlaybackSessionManagerProxy(C4EA417F)
                  2024-03-26 22:24:49.034676+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::processTerminated:
                  2024-03-26 22:24:49.034706+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32201] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
                  2024-03-26 22:24:49.034789+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32201] WebPageProxy::reload:
                  2024-03-26 22:24:49.034824+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32201] WebPageProxy::launchProcessForReload:
                  2024-03-26 22:24:49.034836+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32201] WebPageProxy::launchProcess:
                  2024-03-26 22:24:49.034841+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::removeWebPage: webPage=0x10f902a20, pageProxyID=125, webPageID=126
                  2024-03-26 22:24:49.034869+0100 Orion[32184:1892600] [Process] 0x11e1617c0 - [PID=32202] WebProcessProxy::setWebsiteDataStore() dataStore=0x11fa09178, sessionID=2
                  2024-03-26 22:24:49.034875+0100 Orion[32184:1892600] [Process] 0x11e04dc00 - NetworkProcessProxy::sendXPCEndpointToProcess(0x11e1617c0) state = 1 has connection = 1 XPC endpoint message = 0x0
                  2024-03-26 22:24:49.035020+0100 Orion[32184:1892600] [Process] 0x11e1617c0 - [PID=32202] WebProcessProxy::markIsNoLongerInPrewarmedPool:
                  2024-03-26 22:24:49.035031+0100 Orion[32184:1892600] [ProcessSwapping] 0x10f88b408 - WebProcessPool::processForRegistrableDomain: Using prewarmed process (process=0x11e1617c0, PID=32202)
                  2024-03-26 22:24:49.035038+0100 Orion[32184:1892600] [Process] 0x11e1617c0 - [PID=32202] WebProcessProxy::addExistingWebPage: webPage=0x10f902a20, pageProxyID=125, webPageID=126
                  2024-03-26 22:24:49.035074+0100 Orion[32184:1892600] [Media] VideoPresentationManagerProxy::PlaybackSessionManagerProxy(C4EA417F)
                  2024-03-26 22:24:49.035083+0100 Orion[32184:1892600] [Fullscreen] VideoPresentationManagerProxy::VideoPresentationManagerProxy(C4EA417F)
                  2024-03-26 22:24:49.036459+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32201] WebProcessProxy::destructor:
                  2024-03-26 22:24:49.036487+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e1613d0 - [PID=0] ProcessThrottler::invalidateAllActivities: BEGIN (foregroundActivityCount: 0, backgroundActivityCount: 1)
                  2024-03-26 22:24:49.036495+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e1613d0 - [PID=0] ProcessThrottler::invalidateAllActivities: END
                  2024-03-26 22:24:49.104136+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e04dc00 - NetworkProcessProxy is taking a background assertion because a web process is requesting a connection
                  2024-03-26 22:24:49.172766+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::decidePolicyForNavigationAction: frameID=2, isMainFrame=1, navigationID=4
                  2024-03-26 22:24:49.176013+0100 Orion[32184:1892600] [AppSSO] 0x11e000a20 - SOAuthorizationCoordinator::tryAuthorize
                  2024-03-26 22:24:49.176346+0100 Orion[32184:1892600] [AppSSO] 0x11e000a20 - SOAuthorizationCoordinator::tryAuthorize: The requested URL is not registered for AppSSO handling. No further action needed.
                  2024-03-26 22:24:49.176361+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::decidePolicyForNavigationAction: listener called: frameID=2, isMainFrame=1, navigationID=4, policyAction=0, safeBrowsingWarning=0, isAppBoundDomain=0, wasNavigationIntercepted=0
                  2024-03-26 22:24:49.176376+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::receivedNavigationPolicyDecision: frameID=2, isMainFrame=1, navigationID=4, policyAction=0
                  2024-03-26 22:24:49.176552+0100 Orion[32184:1892600] [ProcessSwapping] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::decidePolicyForNavigationAction: keep using process 32202 for navigation, reason=Process has not yet committed any provisional loads
                  2024-03-26 22:24:49.176587+0100 Orion[32184:1892600] [Process] 0x11e1617c0 - [PID=32202] WebProcessProxy::canTerminateAuxiliaryProcess: returns false (pageCount=1, provisionalPageCount=0, suspendedPageCount=0, m_isInProcessCache=0, m_shutdownPreventingScopeCounter=0)
                  2024-03-26 22:24:49.202201+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::didStartProvisionalLoadForFrame: frameID=2, isMainFrame=1
                  2024-03-26 22:24:49.202238+0100 Orion[32184:1892600] [PerformanceLogging] 0x10f88b408 - WebProcessPool::prewarmProcess: Prewarming a WebProcess for performance
                  2024-03-26 22:24:49.202249+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=0] WebProcessProxy::constructor:
                  2024-03-26 22:24:49.202718+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e29a3c0 - [PID=0, throttler=0x11e1613d0] ProcessThrottler::Activity::Activity: Starting foreground activity / 'WebProcess initialization'
                  2024-03-26 22:24:49.213174+0100 Orion[32184:1892600] [Loading] 0x11e1617c0 - [PID=32202] WebProcessProxy::didStartProvisionalLoadForMainFrame:
                  2024-03-26 22:24:49.213379+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceRequestAsync
                  2024-03-26 22:24:49.213872+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e0918e0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.216032+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e0918e0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::invalidate: Ending background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.293163+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceResponseAsync
                  2024-03-26 22:24:49.294211+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e2996a0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.294982+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e0a44c0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.295998+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e2996a0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::invalidate: Ending background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.297154+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e0a44c0 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::invalidate: Ending background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.301600+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::didNavigateWithNavigationDataShared:
                  2024-03-26 22:24:49.302258+0100 Orion[32184:1892600] [Loading] 0x10f902a20 - [pageProxyID=125, webPageID=126, PID=32202] WebPageProxy::didCommitLoadForFrame: frameID=2, isMainFrame=1
                  2024-03-26 22:24:49.305343+0100 Orion[32184:1892600] [Process] 0x11e161200 - [PID=32203] WebProcessProxy::didFinishLaunching:
                  2024-03-26 22:24:49.356404+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceRequestAsync
                  2024-03-26 22:24:49.356833+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e0a4e20 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.356936+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceRequestAsync
                  2024-03-26 22:24:49.357291+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e091080 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.357422+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceRequestAsync
                  2024-03-26 22:24:49.357746+0100 Orion[32184:1892600] [ProcessSuspension] 0x11e093d60 - [PID=0, throttler=0x11e160290] ProcessThrottler::Activity::Activity: Starting background activity / 'RemoteObjectRegistry invocation'
                  2024-03-26 22:24:49.357844+0100 Orion[32184:1892600] [Process] ResourceInterceptor::decidePolicyForResourceRequestAsync

                  (This continues on for a bit, seems like the new process launching.)

                    dino Interesting that you can't reproduce. For me it happens every time I use the current Orion Beta (or any RC Jan 1, 2024 or later) on Catalina. I just have to go to www.google.com, search for something (I use nytimes), and >50% of the time it will refresh the page when I click on a link. I've never seen it not refresh 2 out of 4 times.

                    I also found that the latest Speedometer (3.0) on www.browserbench.org has the same issue. When I click "Start Test" it just refreshes. Again only with recent Beta and RC and only on Catalina or with Catalina version on Monterey.

                    If you are not reproducing with a clean instance of current Orion Beta on Catalina there must be a confouding variable in our configurations. Off chance, are you running your test instance of Orion/Catalina from /Applications or ~/Applications or did you copy to some other location?

                      dino Same problem:

                      2024-03-28 02:25:53.603407+0100 Orion RC[43165:2400822] [IPC] Received an invalid message 'WebPageProxy_DidPerformImmediateActionHitTest' from the WebContent process with PID 43173
                      2024-03-28 02:25:53.603446+0100 Orion RC[43165:2400822] [Process] AuxiliaryProcessProxy::terminate: PID=43173
                      2024-03-28 02:25:53.603566+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::didClose: (web process 43173 crash)
                      2024-03-28 02:25:53.603579+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
                      2024-03-28 02:25:53.603589+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::shutDown:
                      2024-03-28 02:25:53.603594+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::processWillShutDown:
                      2024-03-28 02:25:53.603739+0100 Orion RC[43165:2400822] [ProcessSuspension] 0x11e020850 - [PID=0] ProcessThrottler::didDisconnectFromProcess:
                      2024-03-28 02:25:53.603762+0100 Orion RC[43165:2400822] [Process] 0x10d89ea20 - [pageProxyID=83, webPageID=84, PID=43173] WebPageProxy::processDidTerminate: (pid 43173), reason=Crash
                      2024-03-28 02:25:53.605766+0100 Orion RC[43165:2400822] [Media] VideoPresentationManagerProxy::invalidate(F1BEBD80)
                      2024-03-28 02:25:53.605790+0100 Orion RC[43165:2400822] [Fullscreen] VideoPresentationManagerProxy::invalidate(F1BEBD80)
                      2024-03-28 02:25:53.605800+0100 Orion RC[43165:2400822] [Fullscreen] VideoPresentationManagerProxy::~VideoPresentationManagerProxy(F1BEBD80)
                      2024-03-28 02:25:53.605807+0100 Orion RC[43165:2400822] [Fullscreen] VideoPresentationManagerProxy::invalidate(F1BEBD80)
                      2024-03-28 02:25:53.605837+0100 Orion RC[43165:2400822] [Media] VideoPresentationManagerProxy::~PlaybackSessionManagerProxy(F1BEBD80)
                      2024-03-28 02:25:53.605867+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::processTerminated:
                      2024-03-28 02:25:53.605909+0100 Orion RC[43165:2400822] [Loading] 0x10d89ea20 - [pageProxyID=83, webPageID=84, PID=43173] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
                      2024-03-28 02:25:53.605982+0100 Orion RC[43165:2400822] [Loading] 0x10d89ea20 - [pageProxyID=83, webPageID=84, PID=43173] WebPageProxy::reload:
                      2024-03-28 02:25:53.606033+0100 Orion RC[43165:2400822] [Loading] 0x10d89ea20 - [pageProxyID=83, webPageID=84, PID=43173] WebPageProxy::launchProcessForReload:
                      2024-03-28 02:25:53.606046+0100 Orion RC[43165:2400822] [Loading] 0x10d89ea20 - [pageProxyID=83, webPageID=84, PID=43173] WebPageProxy::launchProcess:
                      2024-03-28 02:25:53.606051+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::removeWebPage: webPage=0x10d89ea20, pageProxyID=83, webPageID=84
                      2024-03-28 02:25:53.606082+0100 Orion RC[43165:2400822] [Process] 0x11e0200c0 - [PID=43179] WebProcessProxy::setWebsiteDataStore() dataStore=0x10bbd9128, sessionID=2
                      2024-03-28 02:25:53.606092+0100 Orion RC[43165:2400822] [Process] 0x11e04dc00 - NetworkProcessProxy::sendXPCEndpointToProcess(0x11e0200c0) state = 1 has connection = 1 XPC endpoint message = 0x0
                      2024-03-28 02:25:53.606260+0100 Orion RC[43165:2400822] [Process] 0x11e0200c0 - [PID=43179] WebProcessProxy::markIsNoLongerInPrewarmedPool:
                      2024-03-28 02:25:53.606269+0100 Orion RC[43165:2400822] [ProcessSwapping] 0x10c08de08 - WebProcessPool::processForRegistrableDomain: Using prewarmed process (process=0x11e0200c0, PID=43179)
                      2024-03-28 02:25:53.606276+0100 Orion RC[43165:2400822] [Process] 0x11e0200c0 - [PID=43179] WebProcessProxy::addExistingWebPage: webPage=0x10d89ea20, pageProxyID=83, webPageID=84
                      2024-03-28 02:25:53.606309+0100 Orion RC[43165:2400822] [Media] VideoPresentationManagerProxy::PlaybackSessionManagerProxy(F1BEBD80)
                      2024-03-28 02:25:53.606316+0100 Orion RC[43165:2400822] [Fullscreen] VideoPresentationManagerProxy::VideoPresentationManagerProxy(F1BEBD80)
                      2024-03-28 02:25:53.607842+0100 Orion RC[43165:2400822] [Process] 0x11e020680 - [PID=43173] WebProcessProxy::destructor:
                      2024-03-28 02:25:53.607869+0100 Orion RC[43165:2400822] [ProcessSuspension] 0x11e020850 - [PID=0] ProcessThrottler::invalidateAllActivities: BEGIN (foregroundActivityCount: 0, backgroundActivityCount: 1)
                      2024-03-28 02:25:53.607878+0100 Orion RC[43165:2400822] [ProcessSuspension] 0x11e020850 - [PID=0] ProcessThrottler::invalidateAllActivities: END
                      2024-03-28 02:25:53.613266+0100 Orion RC[43165:2400822] [ProcessSuspension] 0x11e04dc00 - NetworkProcessProxy is taking a background assertion because a web process is requesting a connection

                      For reference this log can also be had by running Orion from the terminal with the environment variable OS_ACTIVITY_DT_MODE=enable set.

                        squidcharger

                        Please try replacing Orion.app/Contents/Frameworks/WebKit.framework/Versions/A/Resources/com.apple.WebProcess.sb with attached file and see if that resolves the issue.

                        comapplewebprocess.txt
                        61kB

                          dino

                          I tried this in the RC you gave me earlier and it causes webkit to always crash, even before I do anything.

                          • dino replied to this.

                            Thats really strange, as it's also working fine for me. I think some more details will help me undestanding the difference in our setup

                            1. Machine configuration (model name, processor)
                            2. Any specific system configuration changes
                            3. Path to Orion app
                            4. macOS build number
                            5. Any other info you think can be useful

                            I will try to create a similar environment