johnste/finicky

Crash when opening URL from `/usr/bin/open`

Opened this issue · 0 comments

bric3 commented

Describe the bug
A clear and concise description of what the bug is.

I'm using a program. That opens a URL using open, however Finicky crashes. I've narrowed it down here to this reduced oauth url : The real URL is much longer but this one reproduces the issue.

/usr/bin/open https://example.com\?next\=%2Foauth%2Fb%2Fauthorize%3Fclient_id%3D2a900828-7ca9-11ed-993e-da7ad0900002%26redirect_uri%3Dhttp%253A%252F%252F127.0.0.1%253A63343%252Fapi%252Fdd%252F%26code_challenge_method%3DS256%26response_type%3Dcode%26scope%3D

I wonder if the encoded chars are related to this crash.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Finicky [34627]
Path:                  /Applications/Finicky.app/Contents/MacOS/Finicky
Identifier:            net.kassett.finicky
Version:               v3.4.0 (310)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               503

Date/Time:             2024-12-16 14:39:49.2865 +0100
OS Version:            macOS 15.2 (24C101)
Report Version:        12
Anonymous UUID:        F24E8517-F028-162F-5BF7-7B981B39C6AA

Sleep/Wake UUID:       B1C9835F-8DD4-4F29-A832-5B60FFBA1653

Time Awake Since Boot: 160000 seconds
Time Since Wake:       5353 seconds

System Integrity Protection: enabled

Notes:
Extracting libpas PGM metadata failed.

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x0000002800000020
Exception Codes:       0x0000000000000002, 0x0000002800000020

Termination Reason:    Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process:   exc handler [34627]

VM Region Info: 0x2800000020 is in 0x1000000000-0x7000000000;  bytes after start: 103079215136  bytes before end: 309237645279
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
--->  GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
      GAP OF 0x5f9000000000 BYTES
      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-/rwx SM=PRV  

Error Formulating Crash Report:
Extracting libpas PGM metadata failed.
...

The rest is attached to this issue.

Your configuration
Please add a link to or paste the relevant parts of your configuration here
macOs 15.2
Finicky v3.4.0 (310)

To Reproduce
Steps to reproduce the behavior:

/usr/bin/open https://example.com\?next\=%2Foauth%2Fb%2Fauthorize%3Fclient_id%3D2a900828-7ca9-11ed-993e-da7ad0900002%26redirect_uri%3Dhttp%253A%252F%252F127.0.0.1%253A63343%252Fapi%252Fdd%252F%26code_challenge_method%3DS256%26response_type%3Dcode%26scope%3D

Finicky-2024-12-16-143954.ips.zip