-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
OpenUrlExternally()
can crash game on broken configurations
#24696
Comments
Um.
I think this is going to be something with your machine. Misconfigured shell associations or something like that. I guess we can try-catch to make it not-crash, but it won't work because your registry seems broken. |
OpenUrlExternally()
can crash game on broken configurations
Sentry issue: OSU-FHV |
Misconfigured shell and broken registry? Damn Windows. This is a fresh install ;-; |
Whatever you did there probably broke it. If it's on some drive that's not always available, this crash is gonna happen when you try to open websites via lazer when it's not - because the registry associates the handler for URLs with the portable install, so if it's not there for it to use, nothing can work sanely anymore. |
My entire computer is on a single drive, but yep def has to do with the portable install which I've deleted and re-downloaded a couple times |
Installing any browser should fix the issue |
Oh btw it indeed does, I forgot to mention |
Reopening so that the reliability fix is actually made. |
Not sure if the answer to this is already realized or not, but is the issue that the removable media wasn't plugged in that the portable browser was on when trying to |
The issue is that we need to not crash on a failure of this function. It just needs a |
I'd like to add the try-catch. |
Do we need to be assigned? I actually already added the try-catch and made a demo video, but when I tried to open a PR to merge my feature branch into main, I don't have permissions. From looking at other PRs, I need to fork OSU and go about things that way. |
This issue is so simple that it should not require assignments. First PR probably wins, if it's not doing anything egregiously wrong. |
^ Created a PR. |
Type
Crash to desktop
Bug description
Consistently if I click "View in Browser" three times within a certain time frame, Osu will freeze and crash.
Waiting long enough between clicks will not cause this crash, but an impatient me accidentally discovered it anyways.
Possibly related is that my default browser is the ungoogled-chromium-windows project, specifically a Portable version if that matters.
Screenshots or videos
2023-09-01.01-02-19.mp4
Version
2023.815.0-lazer
Logs
network.log
performance.log
runtime.log
updater.log
database.log
input.log
The text was updated successfully, but these errors were encountered: