qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

QGC closes when disconnecting joystick

Open rizvanovic opened this issue 3 years ago • 6 comments

Expected Behavior

When disconnecting the joystick, the application should not close.

Current Behavior

Application crashes on disconnect.

Steps to Reproduce:

Please provide an unambiguous set of steps to reproduce the current behavior

  1. Boot up QGC
  2. Connect Joystick
  3. Disconnect joystick (unplug)
  4. Crash QGC

System Information

When posting bug reports, include the following information

  • Operating System: iOS 11.0.1
  • QGC Version: 4.1.4
  • QGC build: Daily
  • Flight Controller: CUAV X7
  • PX4 1.12.0

Detailed Description

Joystick seems to be generally broken.

rizvanovic avatar Oct 03 '21 13:10 rizvanovic

Could you start QGC from the commandline and provide us with the output? And show us the kernel messages, I guess with "dmesg".

booo avatar Oct 07 '21 06:10 booo

I think this is to be closed. @rizvanovic can you check again, prove the bug or let's close it for now.

zdanek avatar Sep 21 '22 17:09 zdanek

It definitely still happens 👍

rizvanovic avatar Oct 12 '22 16:10 rizvanovic

Ok. Run QGC with joystick logging

./QGroundControl --logging:JoystickLog

crash and post logs please

zdanek avatar Oct 14 '22 10:10 zdanek

and OFC see @booo 's comment

zdanek avatar Oct 14 '22 10:10 zdanek

Most likely a crash due to SDL not handling closing of joysticks correctly

HTRamsey avatar Jun 02 '24 09:06 HTRamsey