mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.33k stars 3.64k forks source link

Android App freezes after random period when connecting over serial #12031

Closed k-kleber closed 3 days ago

k-kleber commented 1 month ago

Expected Behavior

Please tell us what should happen as detailed as possible. After launching QGC and connecting to a cube running arducopter (tried with both black and orange), the system works normally.

Current Behavior

Please describe what happens instead of the expected behavior. After a random amount of time, sometimes 1minute sometimes 2hours, the app freezes completly and one CPU core gets stuck at 100%. This only happens on android when using a serial connection, not UDP.

Steps to Reproduce:

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

  1. Connect an android device over serial to a cube running arducopter.
  2. Wait
  3. At some point the app freezes
  4. After restarting the app it works again for some time then freezes again

System Information

When posting bug reports, include the following information

HTRamsey commented 1 month ago

What device? I have been testing on a Galaxy Tab Active4 Pro

k-kleber commented 1 month ago

I tested on Samsung Galaxy Tab S6 (Android 12) and SIYI MK32 (Android 9)