Skip to content
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 on startup with gamepad connected #19429

Closed
Demexis opened this issue Feb 3, 2025 · 4 comments · Fixed by #19500
Closed

Crash on startup with gamepad connected #19429

Demexis opened this issue Feb 3, 2025 · 4 comments · Fixed by #19500
Labels
bug Something isn't working panic Hit a panic windows Windows-specific issues

Comments

@Demexis
Copy link

Demexis commented Feb 3, 2025

Describe what you were doing

Launched the ruffle.exe with connected gamepad (DualShock 4).
The error does not occur if the gamepad is not connected.

What does the crash message say?

panicked at C:\Users\runneradmin/.cargo\registry\src\index.crates.io-6f17d22bba15001f\gilrs-core-0.6.1\src\platform\windows_wgi\gamepad.rs:169:70:
called Result::unwrap() on an Err value: Error { code: HRESULT(0xC0020036), message: "" }

Ruffle Version

0.1.0-nightly (22d9873 2025-02-02)

Affected platform

Desktop app

Operating system

Windows 10.0.19045 (Windows 10 Pro) [64-bit]

Additional information

No response

@Demexis Demexis added bug Something isn't working panic Hit a panic labels Feb 3, 2025
@torokati44
Copy link
Member

I think you did most of the gamepad stuff, @evilpie ...?

@evilpie evilpie added the windows Windows-specific issues label Feb 5, 2025
@evilpie
Copy link
Collaborator

evilpie commented Feb 6, 2025

Reported it upstream: https://gitlab.com/gilrs-project/gilrs/-/issues/175

@Arvamer
Copy link

Arvamer commented Feb 9, 2025

Should no longer panic in gilrs-core 0.6.2.

@Demexis Demexis closed this as completed Feb 9, 2025
@torokati44
Copy link
Member

I'm not sure the issue should be closed before we update to the fixed dependency version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working panic Hit a panic windows Windows-specific issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants