moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.97k stars 579 forks source link

Moonlight crashes when plugging in Airbus Thrustmaster Joystick #1119

Open cassioiks opened 9 months ago

cassioiks commented 9 months ago

Describe the bug Moonlight crashes when plugging in Airbus Thrustmaster Joystick.

Steps to reproduce Using Moonlight 5.0.1 on Mac OS 14.1.

Process 1 1) with only keyboard and mouse connected, open Moonlight. It opens fine. 2) plug in Airbus Thrustmaster Joystick 3) after about 5 seconds, Moonlight crashes

Process 2 1) with keyboard, mouse, and joystick plugged in, open Moonlight 2) Moonlight stays loading on the mac dock for about 1-2 minutes, then crashes directly, no mainscreen shown

Screenshots

Screenshot 2023-11-18 at 09 44 33

Affected games Could not open any games.

Other Moonlight clients

Moonlight settings (please complete the following information)

Gamepad-related issues (please complete if problem is gamepad-related)

Client PC details (please complete the following information)

Server PC details (please complete the following information)

Moonlight Logs (please attach)

Moonlight-1700299297.log

Additional context Anything else you think may be relevant to the issue

cgutman commented 6 months ago

Please try with the latest nightly: https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/49211978/job/2exqqybbsko35tww/artifacts

Beena222 commented 6 months ago

I have the same issue with a LogiTech Extreme3DPro joystick. Crashes Moonlight instantly when plugged in - even if moonlight is not logged into a server and sitting idle in the background. OSX Log attached if it helps. MonlightCrash - Joystick.txt

I'll try the nightly build and report back.

Beena222 commented 6 months ago

No improvement using the nightly build (r2363) as above, nor with latest r2366

cgutman commented 6 months ago

I'm not able to reproduce this with my Thrustmaster HOTAS so it must be specific to certain joysticks.

It looks like memory corruption in SDL2. I suggest testing with their joystick samples and reporting upstream to them: https://github.com/libsdl-org/SDL/issues

nitishdhar commented 1 week ago

This issue is happening with my Thrustmaster TWCS throttle as well, the T16000M connects fine but as soon as the throttle goes in, moonlight crashes. Any workaround, I am looking forward to playing some space sims over streaming.