qgroundcontrol
qgroundcontrol copied to clipboard
QGC closes when disconnecting joystick
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
- Boot up QGC
- Connect Joystick
- Disconnect joystick (unplug)
- 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.
Could you start QGC from the commandline and provide us with the output? And show us the kernel messages, I guess with "dmesg".
I think this is to be closed. @rizvanovic can you check again, prove the bug or let's close it for now.
It definitely still happens 👍
Ok. Run QGC with joystick logging
./QGroundControl --logging:JoystickLog
crash and post logs please
and OFC see @booo 's comment
Most likely a crash due to SDL not handling closing of joysticks correctly