Lune

FSE2021Top-tier venue

An exploratory study of autopilot software bugs in unmanned aerial vehicles

Dinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu, Yulei Sui

Abstract

Unmanned aerial vehicles (UAVs) are becoming increasingly important and widely used in modern society. Software bugs in these systems can cause severe issues, such as system crashes, hangs, and undefined behaviors. Some bugs can also be exploited by hackers to launch security attacks, resulting in catastrophic consequences. Therefore, techniques that can help detect and fix software bugs in UAVs are highly desirable. However, although there are many existing studies on bugs in various types of software, the characteristics of UAV software bugs have never been systematically studied. This impedes the development of tools for assuring the dependability of UAVs. To bridge this gap, we conducted the first large-scale empirical study on two well-known open-source autopilot software platforms for UAVs, namely PX4 and Ardupilot, to characterize bugs in UAVs. Through analyzing 569 bugs from these two projects, we observed eight types of UAV-specific bugs (i.e., limit, math, inconsistency, priority, parameter, hardware support, correction, and initialization) and learned their root causes. Based on the bug taxonomy, we summarized common bug patterns and repairing strategies. We further identified five challenges associated with detecting and fixing such UAV-specific bugs. Our study can help researchers and practitioners to better understand the threats to the dependability of UAV systems and facilitate the future development of UAV bug diagnosis tools.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • How Does Simulation-Based Testing for Self-Driving Cars Match Human Perception? cites A comprehensive study of autonomous vehicle bugs
  • Applying and Extending the Delta Debugging Algorithm for Elevator Dispatching Algorithms (Experience Paper) cites A comprehensive study of autonomous vehicle bugs
  • State Reconciliation Defects in Infrastructure as Code cites A comprehensive study of autonomous vehicle bugs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. How Does Simulation-Based Testing for Self-Driving Cars Match Human Perception?Christian Birchler, Tanzil Kombarabettu Mohammed, Pooja Rani, Teodora Nechita et al.FSE 2024 · 21 citations
  2. Compatibility Issues in Deep Learning Systems: Problems and OpportunitiesJun Wang, Guanping Xiao, Shuai Zhang, Huashan Lei et al.FSE 2023 · 13 citations
  3. State Reconciliation Defects in Infrastructure as CodeMd. Mahadi Hassan, John Salvador, Shubhra Kanti Karmaker Santu, Akond RahmanFSE 2024 · 8 citations
  4. An Exploratory Investigation of Log Anomalies in Unmanned Aerial VehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.ICSE 2024 · 5 citations
  5. Applying and Extending the Delta Debugging Algorithm for Elevator Dispatching Algorithms (Experience Paper)Pablo Valle, Aitor Arrieta, Maite ArratibelISSTA 2023 · 3 citations

Builds on1

  1. A comprehensive study of autonomous vehicle bugsJoshua Garcia, Yang Feng, Junjie Shen, Sumaya Almanee et al.ICSE 2020 · 127 citations

Related papers

  1. PatchVerif: Discovering Faulty Patches in Robotic VehiclesHyungsub Kim, Muslum Ozgur Ozmen, Z. Berkay Celik, Antonio Bianchi et al.USENIX Security 2023
  2. SA4U: Practical Static Analysis for Unit Type Error DetectionMax Taylor, Johnathon Aurand, Feng Qin, Xiaorui Wang et al.ASE 2022 · 5 citations
  3. A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving SystemsYuntianyi Chen, Yuqi Huai, Yirui He, Shilong Li et al.FSE 2025 · 1 citation
  4. From Control Model to Program: Investigating Robotic Aerial Vehicle Accidents with MAYDAYTaegyu Kim, Chung Hwan Kim, Altay Ozen, Fan Fei et al.USENIX Security 2020
  5. Understanding Bounding Functions in Safety-Critical UAV SoftwareXiaozhou Liang, John Henry Burns, Joseph Sanchez, Karthik Dantu et al.ICSE 2021 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines