IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i18p2921-d1745863.html
   My bibliography  Save this article

Black-Box Bug Amplification for Multithreaded Software

Author

Listed:
  • Yeshayahu Weiss

    (Department of Computer Science, Ben-Gurion University of the Negev, Be’er Sheva 8410501, Israel)

  • Gal Amram

    (IBM Research, Haifa 3498825, Israel
    These authors contributed equally to this work.)

  • Achiya Elyasaf

    (Department of Software and Information Systems Engineering, Ben-Gurion University of the Negev, Be’er Sheva 8410501, Israel
    These authors contributed equally to this work.)

  • Eitan Farchi

    (IBM Research, Haifa 3498825, Israel
    These authors contributed equally to this work.)

  • Oded Margalit

    (Department of Computer Science, Ben-Gurion University of the Negev, Be’er Sheva 8410501, Israel
    These authors contributed equally to this work.)

  • Gera Weiss

    (Department of Computer Science, Ben-Gurion University of the Negev, Be’er Sheva 8410501, Israel
    These authors contributed equally to this work.)

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.

Suggested Citation

  • Yeshayahu Weiss & Gal Amram & Achiya Elyasaf & Eitan Farchi & Oded Margalit & Gera Weiss, 2025. "Black-Box Bug Amplification for Multithreaded Software," Mathematics, MDPI, vol. 13(18), pages 1-42, September.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:18:p:2921-:d:1745863
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/18/2921/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/18/2921/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:18:p:2921-:d:1745863. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.