G
grace

  • Nov 1, 2024
  • Joined Oct 4, 2022
  • 4 discussions
  • 5 posts
  • 0 best answers
  • 13 points
  • As of roughly a week ago, extensions that rely on native messaging seem to no longer be able to communicate with desktop apps.

    MacOS 15.0.1
    Current Orion version (known buggy): 0.99.129-beta (WebKit 619.1.11.111.2)
    Haven't been able to revert to an older version of Orion to test yet, but a public release from the beginning of October should work.

    Examples of failing extensions:

    Installing StopTheMadness Pro (either Chrome or FF versions) on a clean profile results in the following error: "Settings Error: Missing settings 0".

    Installing Bitwarden (Chrome) on a clean profile and attempting to enable biometric authentication results in the error message "Awaiting confirmation from desktop - Please confirm using biometrics in the Bitwarden desktop application to set up biometrics for browser." Nothing happens on the desktop app.

    On a profile with these extensions already set up and previously working, StopTheMadness Pro displays the same "Missing Settings 0" error but modifies pages according to the latest rules set before the Orion update, and attempting to unlock the Bitwarden vault with biometrics results in a permanent spinning wheel with "Awaiting confirmation from desktop".

    • Messages sent using the native messaging interface to Orion seem to be limited to 16380 bytes; any messages over that threshold will be dropped. This differs from both Firefox and Chrome, where the size limit for messages from applications is limited to 1MB. This can cause unexpected behavior for some extensions that use native messaging to pass around extension state.

      This causes some extension issues. For example:

      • Install StopTheMadness Pro (I'm using the Firefox extension)
      • In "custom <style> element", paste in a stylesheet larger than 16MB. Most of the top themes on userstyles.world will be over this threshold. (I actually ran into this issue with a much smaller stylesheet, around 6KB, but that may be because I already had several other customizations in the app that took up space)
      • The extension will fail with "Settings error: missing settings 0" every time its button is clicked.

      Thanks to Jeff Johnson (developer of StopTheMadness) for figuring out the cause of this bug.

      Native messaging size should match both FF and Chrome (1MB host -> browser, 4GB browser -> host).

      Version 0.99.127.2-beta (WebKit 619.1.1), MacOS 14.4.1

      • Steps to reproduce:
        On my machine, attempts to launch webapps created with Tools > Install this site as an app always fail on app launch due to a missing symbol in a shared library. This occurs with multiple sites, include google.com.

        Orion, OS version; hardware type:
        aarch64-darwin, OS version 13.4.1
        Orion 0.99.125-beta (WebKit 616.1.22)

        Image/Video:

        Crash log:

        -------------------------------------
        Translated Report (Full Report Below)
        -------------------------------------
        
        Process:               Google_Voice [94781]
        Path:                  /Users/USER/*/Google Voice.app/Contents/MacOS/Google_Voice
        Identifier:            com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29
        Version:               0.99 (125)
        Code Type:             ARM-64 (Native)
        Parent Process:        launchd [1]
        User ID:               501
        
        Date/Time:             2023-09-05 21:25:04.3548 -0700
        OS Version:            macOS 13.4.1 (22F770820d)
        Report Version:        12
        Anonymous UUID:        ECE0A0FE-AFB7-9682-D42B-56174D147AD2
        
        Sleep/Wake UUID:       B9934C08-CD00-4C6C-8475-BFB3418C0663
        
        Time Awake Since Boot: 340000 seconds
        Time Since Wake:       34061 seconds
        
        System Integrity Protection: enabled
        
        Crashed Thread:        0
        
        Exception Type:        EXC_CRASH (SIGABRT)
        Exception Codes:       0x0000000000000000, 0x0000000000000000
        
        Termination Reason:    Namespace DYLD, Code 4 Symbol missing
        Symbol not found: _OBJC_CLASS_$_WKResourceConfiguration
        Referenced from: <F299F7D5-8578-3A4D-90B7-A16083F18A97> /Users/USER/*/Google Voice.app/Contents/MacOS/Google_Voice
        Expected in:     <360DE5EE-BBBA-3F55-962B-3FA39B26464C> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
        (terminated at launch; ignore backtrace)
        
        Thread 0 Crashed:
        0   dyld                          	       0x186129118 __abort_with_payload + 8
        1   dyld                          	       0x186134d7c abort_with_payload_wrapper_internal + 104
        2   dyld                          	       0x186134db0 abort_with_payload + 16
        3   dyld                          	       0x1860c08a8 dyld4::halt(char const*) + 328
        4   dyld                          	       0x1860bd590 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4184
        5   dyld                          	       0x1860bbe18 start + 1964
        
        
        Thread 0 crashed with ARM Thread State (64-bit):
            x0: 0x0000000000000006   x1: 0x0000000000000004   x2: 0x000000016b0f8480   x3: 0x00000000000000cd
            x4: 0x000000016b0f8080   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x000000016b0f7a68
            x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x0000000000000001  x11: 0x000000000000000a
           x12: 0x0000000000000000  x13: 0x0000000000000039  x14: 0x000000023098bebc  x15: 0x0000000000008000
           x16: 0x0000000000000209  x17: 0x00000001860b935c  x18: 0x0000000000000000  x19: 0x0000000000000000
           x20: 0x000000016b0f8080  x21: 0x00000000000000cd  x22: 0x000000016b0f8480  x23: 0x0000000000000004
           x24: 0x0000000000000006  x25: 0x00000000000011f8  x26: 0x0000000000000001  x27: 0x000000001f070004
           x28: 0x000000010511d6b0   fp: 0x000000016b0f8050   lr: 0x0000000186134d7c
            sp: 0x000000016b0f8010   pc: 0x0000000186129118 cpsr: 0x00001000
           far: 0x0000000105160000  esr: 0x56000080  Address size fault
        
        Binary Images:
               0x104d04000 -        0x10506bfff com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29 (0.99) <f299f7d5-8578-3a4d-90b7-a16083f18a97> /Users/USER/*/Google Voice.app/Contents/MacOS/Google_Voice
               0x1860b6000 -        0x186144553 dyld (*) <2237410f-d39c-30ce-9a94-13aacb66b766> /usr/lib/dyld
        
        External Modification Summary:
          Calls made by other processes targeting this process:
            task_for_pid: 0
            thread_create: 0
            thread_set_state: 0
          Calls made by this process:
            task_for_pid: 0
            thread_create: 0
            thread_set_state: 0
          Calls made by all processes on this machine:
            task_for_pid: 0
            thread_create: 0
            thread_set_state: 0
        
        VM Region Summary:
        ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)
        Writable regions: Total=8560K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8560K(100%)
        
                                        VIRTUAL   REGION 
        REGION TYPE                        SIZE    COUNT (non-coalesced) 
        ===========                     =======  ======= 
        STACK GUARD                       56.0M        1 
        Stack                             8176K        1 
        VM_ALLOCATE                         16K        1 
        __AUTH                            1639K      334 
        __AUTH_CONST                      27.3M      553 
        __CTF                               824        1 
        __DATA                            11.8M      540 
        __DATA_CONST                      28.2M      557 
        __DATA_DIRTY                      2344K      217 
        __FONT_DATA                        2352        1 
        __INFO_FILTER                         8        1 
        __LINKEDIT                       802.1M        2 
        __OBJC_RO                         66.3M        1 
        __OBJC_RW                         2011K        1 
        __TEXT                           598.3M      576 
        dyld private memory                272K        2 
        ===========                     =======  ======= 
        TOTAL                              1.6G     2789 
        
        
        
        -----------
        Full Report
        -----------
        
        {"app_name":"Google_Voice","timestamp":"2023-09-05 21:25:05.00 -0700","app_version":"0.99","slice_uuid":"f299f7d5-8578-3a4d-90b7-a16083f18a97","build_version":"125","platform":1,"bundleID":"com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.4.1 (22F770820d)","roots_installed":0,"name":"Google_Voice","incident_id":"93B17C27-1F34-4F8E-A0A4-BA223D948C9A"}
        {
          "uptime" : 340000,
          "procRole" : "Background",
          "version" : 2,
          "userID" : 501,
          "deployVersion" : 210,
          "modelCode" : "MacBookPro18,3",
          "coalitionID" : 34602,
          "osVersion" : {
            "train" : "macOS 13.4.1",
            "build" : "22F770820d",
            "releaseType" : "User"
          },
          "captureTime" : "2023-09-05 21:25:04.3548 -0700",
          "incident" : "93B17C27-1F34-4F8E-A0A4-BA223D948C9A",
          "pid" : 94781,
          "translated" : false,
          "cpuType" : "ARM-64",
          "roots_installed" : 0,
          "bug_type" : "309",
          "procLaunch" : "2023-09-05 21:25:04.0711 -0700",
          "procStartAbsTime" : 8379187613661,
          "procExitAbsTime" : 8379194393103,
          "procName" : "Google_Voice",
          "procPath" : "\/Users\/USER\/*\/Google Voice.app\/Contents\/MacOS\/Google_Voice",
          "bundleInfo" : {"CFBundleShortVersionString":"0.99","CFBundleVersion":"125","CFBundleIdentifier":"com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29"},
          "storeInfo" : {"deviceIdentifierForVendor":"1C921F5C-978B-5199-A039-02C7440D5598","thirdParty":true},
          "parentProc" : "launchd",
          "parentPid" : 1,
          "coalitionName" : "com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29",
          "crashReporterKey" : "ECE0A0FE-AFB7-9682-D42B-56174D147AD2",
          "codeSigningID" : "com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29",
          "codeSigningTeamID" : "",
          "codeSigningFlags" : 570425857,
          "codeSigningValidationCategory" : 10,
          "codeSigningTrustLevel" : 0,
          "wakeTime" : 34061,
          "sleepWakeUUID" : "B9934C08-CD00-4C6C-8475-BFB3418C0663",
          "sip" : "enabled",
          "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
          "termination" : {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Symbol not found: _OBJC_CLASS_$_WKResourceConfiguration","Referenced from: <F299F7D5-8578-3A4D-90B7-A16083F18A97> \/Users\/USER\/*\/Google Voice.app\/Contents\/MacOS\/Google_Voice","Expected in:     <360DE5EE-BBBA-3F55-962B-3FA39B26464C> \/System\/Library\/Frameworks\/WebKit.framework\/Versions\/A\/WebKit"]},
          "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
          "faultingThread" : 0,
          "threads" : [{"triggered":true,"id":5889776,"threadState":{"x":[{"value":6},{"value":4},{"value":6091146368},{"value":205},{"value":6091145344},{"value":0},{"value":0},{"value":6091143784},{"value":32},{"value":9},{"value":1},{"value":10},{"value":0},{"value":57},{"value":9405251260},{"value":32768},{"value":521},{"value":6543872860,"symbolLocation":416,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6091145344},{"value":205},{"value":6091146368},{"value":4},{"value":6},{"value":4600},{"value":1},{"value":520552452},{"value":4380022448}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6544379260},"cpsr":{"value":4096},"fp":{"value":6091145296},"sp":{"value":6091145232},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6544331032,"matchesCrashFrame":1},"far":{"value":4380295168}},"frames":[{"imageOffset":471320,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":1},{"imageOffset":519548,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":1},{"imageOffset":519600,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":1},{"imageOffset":43176,"symbol":"dyld4::halt(char const*)","symbolLocation":328,"imageIndex":1},{"imageOffset":30096,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4184,"imageIndex":1},{"imageOffset":24088,"symbol":"start","symbolLocation":1964,"imageIndex":1}]}],
          "usedImages" : [
          {
            "source" : "P",
            "arch" : "arm64",
            "base" : 4375724032,
            "CFBundleShortVersionString" : "0.99",
            "CFBundleIdentifier" : "com.kagi.kagimacOS.WebApp.77182EC5-1354-4D5B-AD81-A03055FEED29",
            "size" : 3571712,
            "uuid" : "f299f7d5-8578-3a4d-90b7-a16083f18a97",
            "path" : "\/Users\/USER\/*\/Google Voice.app\/Contents\/MacOS\/Google_Voice",
            "name" : "Google_Voice",
            "CFBundleVersion" : "125"
          },
          {
            "source" : "P",
            "arch" : "arm64e",
            "base" : 6543859712,
            "size" : 582996,
            "uuid" : "2237410f-d39c-30ce-9a94-13aacb66b766",
            "path" : "\/usr\/lib\/dyld",
            "name" : "dyld"
          }
        ],
          "sharedCache" : {
          "base" : 6543196160,
          "size" : 3551657984,
          "uuid" : "f5b60d87-3ee7-3c74-8415-517f8103a187"
        },
          "vmSummary" : "ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)\nWritable regions: Total=8560K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8560K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                         16K        1 \n__AUTH                            1639K      334 \n__AUTH_CONST                      27.3M      553 \n__CTF                               824        1 \n__DATA                            11.8M      540 \n__DATA_CONST                      28.2M      557 \n__DATA_DIRTY                      2344K      217 \n__FONT_DATA                        2352        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       802.1M        2 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2011K        1 \n__TEXT                           598.3M      576 \ndyld private memory                272K        2 \n===========                     =======  ======= \nTOTAL                              1.6G     2789 \n",
          "legacyInfo" : {
          "threadTriggered" : {
        
          }
        },
          "logWritingSignature" : "83a4242981300a2d6904eeb451553c8b28e76de5",
          "trialInfo" : {
          "rollouts" : [
            {
              "rolloutId" : "6425c75e4327780c10cc4252",
              "factorPackIds" : {
                "SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
              },
              "deploymentId" : 240000004
            },
            {
              "rolloutId" : "63508950b3714d3622fc77f7",
              "factorPackIds" : {
                "SIRI_MEMORY_SYNC_CONFIG" : "63508beab3714d3622fc7808"
              },
              "deploymentId" : 240000004
            }
          ],
          "experiments" : [
            {
              "treatmentId" : "3a3cf641-8471-4e4e-9ad4-81d0ede970fd",
              "experimentId" : "64a84dae90d82611a0bd7d3d",
              "deploymentId" : 400000010
            },
            {
              "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
              "experimentId" : "64406ba83deb637ac8a04419",
              "deploymentId" : 900000017
            }
          ]
        }
        }
        
        Model: MacBookPro18,3, BootROM 8422.121.1, proc 8:6:2 processors, 32 GB, SMC 
        Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
        Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
        Memory Module: LPDDR5, Hynix
        AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr  7 2023 15:18:26 version 20.96.28.1.8.7.146 FWID 01-aff1b48a
        Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
        Network Service: Wi-Fi, AirPort, en0
        Network Service: Tailscale Tunnel 2, VPN (io.tailscale.ipn.macos), utun3
        USB Device: USB31Bus
        USB Device: USB31Bus
        USB Device: USB31Bus
        Thunderbolt Bus: MacBook Pro, Apple Inc.
        Thunderbolt Bus: MacBook Pro, Apple Inc.
        Thunderbolt Bus: MacBook Pro, Apple Inc.
        • Steps to reproduce: Go to this website: https://www.nbcbayarea.com/news/local/elizabeth-holmes-theranos-prison/3230228/ with autoplay settings set to "stop media with sound". You will hear the video playing audibly. Bug has been reproduced by two people on Orion discord.

          Expected behavior: No audio should be emitted until a user click (the video should either be prevented from autoplaying or muted).

          Orion, OS version; hardware type: Version 0.99.124.1-beta (WebKit 616.1.10) MacBook Pro (macOS Ventura 13.3.1 (a) build 22E772610a)

          • Currently, autocomplete appears to perform a prefix match on URLs for autocomplete (excluding certain prefixes such as 'www'). For instance, if I have the website https://ppopp23.hotcrp.com open or in history, I can type ppopp2 (or any prefix of the url) into the searchbar to get:

            However, if I type in hotcr (or in fact any substring of hotcrp.org), nothing shows up:

            This contrasts with the behavior of matching for titles, which appears to be substring; e.g. "2023" (or any substring of) will match the title "PPoPP 2023" properly:

            This is pretty annoying when trying to match websites that make heavy use of subdomains, such as Substack, most university websites, and reddit (since typing reddit will not match urls at old.reddit.com).

            Suggestion: URL matching should be changed from existing prefix matching on the entire URL to one of these options:

            • full substring matching, as is done for website titles, or
            • prefix matching on every single parent subdomain for a website, i.e. in regex form, match (^|\.)query instead of ^query. For example, for the website abc.def.ghi.com, search queries should be prefix-matched against abc.def.ghi.com, def.ghi.com, and ghi.com.
            • some combination of the above (e.g. prefix matching as a higher priority than title title matching, which in turn is higher-priority than full substring matching)