-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CRASH] Browser crash on Hyatt sign in page #224
Comments
Oh, this appears in the system console right before the crash:
Okay, so the selector is [NSDictionary dictionaryWithContentsOfURL:error:], which appears to be exactly the same as the older method [NSDictionary dictionaryWithContentsOfURL:]. So that's stupid... |
Yep, that worked!
|
Okay, this is now fixed if you use #25. (And now I can book my hotel reservation!) In terms of fixing in Chromium Legacy... while I'm sure there's a way to alter this in the original source, I would encourage/suggest making some type of compatibility library for functions like this, since I imagine this will come up again and it's an easy way to minimize divergence from upstream. |
Probably a bit tricky for ObjC methods (aka selectors) which are looked up by the runtime, if you have to add them conditionally on the OS version? EDIT: ahem, what's the download location for the prefpane again? :-/ |
Notably, it looks like Bluebox tried to avoid using But he must have missed one... unless this commit didn't make it into the latest release? I still think using some sort of compatibility library is better long-term.
Well, you don't have to do it conditionally, since the old method still works. (Indeed, the commit linked above applies the change to all OS versions.) However, I think it should also be pretty simple to only perform the swizzle |
Upon going to https://www.hyatt.com/en-US/member/sign-in, Chromium Legacy 124.0.6367.207.1 will crash.
Desktop (please complete the following information):
A backtrace is attached.
_Chromium_2024-05-19-191918_Jonathans-Mac-Pro.crash.txt
A couple notes about the backtrace:
• It seems to implicate WebBluetooth, which AFAIK has never worked in Chromium Legacy anyway.
• It mentions a function called
OnPropertyListFileChangedOnFileThread
, which I believe is here.• It says the problem is
doesNotRecognizeSelector
, which is usually easy to polyfill via Objective-C swizzling. However, in this case, I can't tell what selector it doesn't recognize, it seems to be all C++ code as opposed to Objective-C. (@krackers, can you tell what's happening here?)The text was updated successfully, but these errors were encountered: