80

Here's another video showing a timelime recording while it's misbehaving.

    I'll keep the tab open for in case y'all want me to run more debugging steps to help trace it.

      Merged 15 posts from Orion repeatedly freezes on different websites.

        Steps to reproduce:
        Orion frequently freezes/locks up in the main thread (UI thread) whenever Orion tries to load some resource-heavy site that does not have the resources cached up, and e.g. doesn't allow switching tabs or scrolling a site from another window until the loading site finishes loading some resource that locked up the UI thread.

        I do not have a reliable reproduction strategy, mostly because this seems to be related to how DNS host logs are cached; hence the freezing is not deterministic, but loading the site https://retilog.tistory.com/76 for the first time (or after a long time passed since the last visit) does lock up the browser for a short time. (ref: https://discord.com/channels/802933355603034132/802933355603034135/1076117844569370644)

        A more reliable reproduction was to just load a bunch of random tabs in a short amount of time; usually a tab or two causes the whole browser to freeze. A sample video from that strategy is attached below. I would like to mention that the lock up is not caused by opening multiple websites at once; it also happens when just opening exactly one link as a separate tab, and boom the whole browser freezes up.

        I have not tried Compatibility mode, however this happens without any extensions; I have not tested without content blockers (though if that would be helpful, I can try).

        I have attached multiple samples below that were taken when Orion has freezed; it seems that Orion is inadvertently resolving DNS hosts (via CFHostStartResolution) in the main thread while trying to intercept WebKit resources through delegate methods. (ref: https://discord.com/channels/802933355603034132/802933355603034135/1089491978267406437)

        Safari does not exhibit similar behavior; while individual websites can be unresponsive, Safari's UI thread does not lock up because one website is loading.

        Expected behavior:
        Orion's UI thread must not freeze irrelevant to whether individual sites are loading or not. It should allow users to switch tabs until the current website has finished loading, instead of beachballing.

        Orion, OS version; hardware type:
        My current Orion version is v0.99.125 (WebKit 616.1.22), though I have experienced this behavior since at least v0.99.123.3 (WebKit 615.1.16.1), and possibly before. My Discord chat seems to indicate that this was a regression from since v0.99.123.1 (ref: https://discord.com/channels/802933355603034132/802933355603034135/1075810725840293918), and I clearly remember that this was not a problem before.

        My Mac is an MBP 14 with Apple M1 Max and 32GB of RAM, running macOS Ventura 13.5 (build 22G74), though I have experienced this behavior with an MBA 13 with Apple M2 and 16GB of RAM, running macOS Ventura 13.4 as well.

        Image/Video:

        The beachballing unfortunately does not show up in the screen captures, but you can see them when you see that the tab shade does not follow the cursor. Notice 16s ~ 30s and 40s ~ 55s, 1m 08s ~ 1m 30s where the cursor was beachballing (though it does not show through the video).

        Below are two sample files.

        orion-sample-00.txt
        313kB
        orion-sample-01.txt
        769kB

          Thanks for the proces samples.

            2 months later

            What happened? How did it happen? What are the steps to replicate the issue.
            Orion sometimes gets extremely laggy (attached is an example for loading websites, but sometimes this happens for typing and scrolling as well), and a restart and/or disabling all the extensions does not seem to fix it. A restart sometimes fixes this issue, but after some time (like a few min) it creeps up again. This issue however does not seem to occur in private browsing, so I'm not sure what is going on here. In the non-private window I don't have any tabs loaded, so it really should be no different.

            I'm not sure if this is the same as https://orionfeedback.org/d/5912-orion-frequently-freezinglocking-up-in-the-main-thread-when-trying-to-load-websites, so I'm opening a new thread (please mark this as a duplicate if it's related to the same issue).

            What did you expect to happen? Describe the desired functionality.
            There should not be a lag when opening tabs, typing or scrolling,

            What version of Orion are you running?
            Version 0.99.125-beta (WebKit 616.1.22)

            • Vlad replied to this.

              eonve Thanks for making effort to report this.

              In general, bug reports with the word 'sometimes' are currently ignored by the team due to lack of steps to reproduce and lack of resources on our end. I will merge but in order for us to debug/fix we need exact steps to reproduce.

                Merged 2 posts from Lag when loading websites.

                  Vlad Hi Vlad. I understand the prioritization, no worries.

                  Unfortunately I'm not able to give detailed steps to reproduce it, as in the first few days of fully switching over to Orion (I was using it on and off due to performance issues before), things were lightning fast. It's only since then that this issue has come up, that's why I said it happens sometimes. Right now I only have the feedback tab open in a single window of Orion but it still seems to be using significant energy according to macOS. I could maybe give you logs if you think that would help. Otherwise I'll wait for the next update and see if that changes anything.

                    5 months later
                    Merged 6 posts from Orion frequently freezing/locking up in the main thread when trying to load websites.

                      Merged several threads with same issue into one.

                      iGifted Xyth atgranted are there any 100% reproducible steps from a new clean orion profile?

                      Not sure if this will help but I've noticed on tabs that get locked into the "unclickable state", using the keystroke CMD+L causes the tab to unlock, jump to the clicked link, then lock up again.

                      This is helpful thanks.

                        Vlad changed the title to Websites not clickable (tab freeze/lock) .

                          This is a hard one to describe and also reproduce. Once in a while, probably a few times a day, I will have a tab open on a website that stops responding to input, as in, I can't type anything in forms, I can't scroll up or down on the site, etc.

                          HOWEVER, if I switch to another tab and back again, whatever actions I took did actually happen. I just can see them happen as I do them.

                          Tried to record an example of this happening just. It doesn't seem to be associated with any specific site.

                          responsive tabs

                          Version 0.99.126.4.1.8-rc

                          Sonoma (14)

                          • Vlad replied to this.

                            DanielN Hi Daniel

                            • Please use the latest RC
                            • Can you try reproducing it in a new orion profile with no extensions (to rule them out)

                              I’ve been experiencing this bug since a few months ago and have been meaning to file this bug for a while. I’ll upload a video when I get a chance.

                              It seems like the page renderer freezes or fails to redraw sometimes. Whenever I get into this state, if I click anywhere on the browser chrome that’ll generally get the page renderer to redraw. For example, if I have this issue and I scroll, nothing will change, but if I click on the browser chrome the page will jump to the new scrolled position.

                                6 days later

                                Vlad I finally managed to reproduce this in a fresh profile with no extensions (Orion RC 0.99.126.4.1.10-rc). It's exactly the same behavior and it seems to be connected to a large volume of errors in the console.

                                console.txt
                                51kB
                                5 days later

                                +1 for me. On new RC. No extensions. Seems to happen on any website but I notice regularly on Google sheets, gmail, and hubspot. Reload page without cache doesn't fix it. It reloads but stays unresponsive. Only solution I can find is to copy/paste the URL into a new tab. This is especially annoying when it happens on a pinned tab.

                                (Thanks to @DanielN for noting that switching away and back updates the page.)

                                • Vlad replied to this.

                                  +1 here too. No extensions. Happens often on Facebook Marketplace.

                                  • Vlad replied to this.