Skip to main navigation Skip to search Skip to main content

Black-Box Bug Amplification for Multithreaded Software

Research output: Contribution to journal › Article › peer-review

Abstract

Bugs, especially those in concurrent systems, are often hard to reproduce because they manifest only under rare conditions. Testers frequently encounter failures that occur only under specific inputs, often at low probability. We propose an approach to systematically amplify the occurrence of such elusive bugs. We treat the system under test as a black-box system and use repeated trial executions to train a predictive model that estimates the probability of a given input configuration triggering a bug. We evaluate this approach on a dataset of 17 representative concurrency bugs spanning diverse categories. Several model-based search techniques are compared against a brute-force random sampling baseline. Our results show that an ensemble stacking classifier can significantly increase bug occurrence rates across nearly all scenarios, often achieving an order-of-magnitude improvement over random sampling. The contributions of this work include the following: (i) a novel formulation of bug amplification as a rare-event classification problem; (ii) an empirical evaluation of multiple techniques for amplifying bug occurrence, demonstrating the effectiveness of model-guided search; and (iii) a practical, non-invasive testing framework that helps practitioners to expose hidden concurrency faults without altering the internal system architecture.

Original languageEnglish
Article number2921
JournalMathematics
Volume13
Issue number18
DOIs
StatePublished - 1 Sep 2025

Keywords

  • black-box testing
  • bug reproduction
  • concurrency bugs
  • ensemble methods
  • model-based testing
  • noise-tolerant learning
  • probabilistic bug amplification
  • rare-event detection
  • search-based software testing

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • General Mathematics
  • Engineering (miscellaneous)

Fingerprint

Dive into the research topics of 'Black-Box Bug Amplification for Multithreaded Software'. Together they form a unique fingerprint.

Cite this