moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Moonlight crashes when plugging in Airbus Thrustmaster Joystick

Open cassioiks opened this issue 1 year ago • 6 comments

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

  • Does the issue occur when using Moonlight on iOS or Android? I have not tried.

Moonlight settings (please complete the following information)

  • Have any settings been adjusted from defaults? No.
  • If so, which settings have been changed?
  • Does the problem still occur after reverting settings back to default?

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

  • Do you have any gamepads connected to your host PC directly? No.
  • Does the problem still remain if you stream the desktop and use https://html5gamepad.com to test your gamepad? Yes.
    • Instructions for streaming the desktop can be found here: https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide

Client PC details (please complete the following information)

  • OS: Mac Os 14.1
  • Moonlight Version: v5.0.1
  • GPU: Apple M2 Pro Built-in

Server PC details (please complete the following information)

  • OS: Windows Server 2022
  • GeForce Experience version: [e.g. 3.16.0.140]
  • Nvidia GPU driver: [e.g. 417.35]
  • Antivirus and firewall software: [e.g. Windows Defender and Windows Firewall]

Moonlight Logs (please attach)

  • On Windows, Moonlight-###.log files can be found in %TEMP%. Simply type that into the File Explorer path field to navigate there.
  • On macOS, Moonlight-###.log files can be found in /tmp. In Finder, press Cmd+Shift+G, then type /tmp to navigate there.
  • On Linux with the Flatpak, logs print to the terminal when running with the command: flatpak run com.moonlight_stream.Moonlight
  • On Linux with the Snap, logs print to the terminal when running with the command: moonlight

Moonlight-1700299297.log

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

cassioiks avatar Nov 18 '23 09:11 cassioiks

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

cgutman avatar Feb 17 '24 23:02 cgutman

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 avatar Feb 21 '24 01:02 Beena222

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

Beena222 avatar Feb 21 '24 01:02 Beena222

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

cgutman avatar Feb 25 '24 23:02 cgutman