Lune

ASE2022Top-tier venue

Detecting Blocking Errors in Go Programs using Localized Abstract Interpretation

Oskar Haarklou Veileborg, Georgian-Vlad Saioc, Anders Møller

Abstract

Channel-based concurrency is a widely used alternative to sharedmemory concurrency but is difficult to use correctly. Common programming errors may result in blocked threads that wait indefinitely. Recent work exposes this as a considerable problem in Go programs and shows that many such errors can be detected automatically using SMT encoding and dynamic analysis techniques. In this paper, we present an alternative approach to detect such errors based on abstract interpretation. To curb the large state spaces of real-world multi-threaded programs, our static program analysis leverages standard pre-analyses to divide the given program into individually analyzable fragments. Experimental results on 6 large real-world Go programs show that the abstract interpretation achieves good scalability and finds 104 blocking errors that are missed by the state-of-the-art tool GCatch.

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.

5 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

  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection cites Who goes first? detecting go concurrency bugs via message reordering
  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection cites Automated Verification of Go Programs via Bounded Model Checking
  • Dynamic Partial Deadlock Detection and Recovery via Garbage Collection cites Automatically detecting and fixing concurrency bugs in go software systems
  • Who goes first? detecting go concurrency bugs via message reordering cites Automatically detecting and fixing concurrency bugs in go software systems
  • Automated Verification of Go Programs via Bounded Model Checking cites Automatically detecting and fixing concurrency bugs in go software systems
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Who goes first? detecting go concurrency bugs via message reordering
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Automated Verification of Go Programs via Bounded Model Checking
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Automatically detecting and fixing concurrency bugs in go software systems
  • Efficient Abstract Interpretation via Selective Widening cites Precise Sparse Abstract Execution via Cross-Domain Interaction
  • Automated Verification of Parametric Channel-Based Process Communication cites Who goes first? detecting go concurrency bugs via message reordering
  • Automated Verification of Parametric Channel-Based Process Communication cites Automated Verification of Go Programs via Bounded Model Checking
  • Automated Verification of Parametric Channel-Based Process Communication cites Automatically detecting and fixing concurrency bugs in go software systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Precise Sparse Abstract Execution via Cross-Domain InteractionXiao Cheng, Jiawei Wang, Yulei SuiICSE 2024 · 6 citations
  2. Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving ExplorationZongze Jiang, Ming Wen, Yixin Yang, Chao Peng et al.ASE 2023 · 6 citations
  3. Dynamic Partial Deadlock Detection and Recovery via Garbage CollectionGeorgian-Vlad Saioc, I-Ting Angelina Lee, Anders Møller, Milind ChabbiASPLOS 2025 · 3 citations
  4. Automated Verification of Parametric Channel-Based Process CommunicationGeorgian-Vlad Saioc, Julien Lange, Anders MøllerOOPSLA 2024 · 2 citations
  5. Efficient Abstract Interpretation via Selective WideningJiawei Wang, Xiao Cheng, Yulei SuiOOPSLA 2025

Builds on3

  1. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen et al.ASPLOS 2021 · 32 citations
  2. Who goes first? detecting go concurrency bugs via message reorderingZiheng Liu, Shihao Xia, Yu Liang, Linhai Song et al.ASPLOS 2022 · 21 citations
  3. Automated Verification of Go Programs via Bounded Model CheckingNicolas Dilley, Julien LangeASE 2021 · 21 citations

Related papers

  1. GoPV: Detecting Blocking Concurrency Bugs Related to Shared-Memory Synchronization in GoWei Song, Xiaofan Xu, Jeff HuangISSTA 2025
  2. Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 citations
  3. A Predictive Analysis for Detecting Deadlock in MPI ProgramsYu Huang, Benjamin Ogles, Eric MercerASE 2020 · 3 citations
  4. Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 citation
  5. The Complexity of Testing Message-Passing ConcurrencyZheng Shi, Lasse Møldrup, Umang Mathur, Andreas PavlogiannisPOPL 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines