{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,18]],"date-time":"2026-07-18T02:43:52Z","timestamp":1784342632965,"version":"3.55.0"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2011,12,1]],"date-time":"2011-12-01T00:00:00Z","timestamp":1322697600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Comput. Syst."],"published-print":{"date-parts":[[2011,12]]},"abstract":"<jats:p>A critical part of developing a reliable software system is testing its recovery code. This code is traditionally difficult to test in the lab, and, in the field, it rarely gets to run; yet, when it does run, it must execute flawlessly in order to recover the system from failure. In this article, we present a library-level fault injection engine that enables the productive use of fault injection for software testing. We describe automated techniques for reliably identifying errors that applications may encounter when interacting with their environment, for automatically identifying high-value injection targets in program binaries, and for producing efficient injection test scenarios. We present a framework for writing precise triggers that inject desired faults, in the form of error return codes and corresponding side effects, at the boundary between applications and libraries. These techniques are embodied in LFI, a new fault injection engine we are distributing http:\/\/lfi.epfl.ch. This article includes a report of our initial experience using LFI. Most notably, LFI found 12 serious, previously unreported bugs in the MySQL database server, Git version control system, BIND name server, Pidgin IM client, and PBFT replication system with no developer assistance and no access to source code. LFI also increased recovery-code coverage from virtually zero up to 60% entirely automatically without requiring new tests or human involvement.<\/jats:p>","DOI":"10.1145\/2063509.2063511","type":"journal-article","created":{"date-parts":[[2012,1,3]],"date-time":"2012-01-03T15:59:14Z","timestamp":1325606354000},"page":"1-38","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":37,"title":["Efficient Testing of Recovery Code Using Fault Injection"],"prefix":"10.1145","volume":"29","author":[{"given":"Paul D.","family":"Marinescu","sequence":"first","affiliation":[{"name":"\u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne (EPFL), Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"George","family":"Candea","sequence":"additional","affiliation":[{"name":"\u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne (EPFL), Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2011,12]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.5555\/1177220"},{"key":"e_1_2_1_2_1","unstructured":"Apache. 2010. Apache Benchmark (AB). http:\/\/httpd.apache.org\/docs\/2.0\/programs\/ab.html. Apache. 2010. Apache Benchmark (AB). http:\/\/httpd.apache.org\/docs\/2.0\/programs\/ab.html."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.44380"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the International Conference on Dependable Systems and Networks.","author":"Bairavasundaram L. N."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICCBSS.2007.45"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/12.54853"},{"key":"e_1_2_1_7_1","volume-title":"Proceedings of the International Symposium on Software Reliability Engineering.","author":"Bieman J. M."},{"key":"e_1_2_1_8_1","unstructured":"BIND. 2010a. BIND aborts in dst_api.c. https:\/\/lists.isc.org\/pipermail\/bind-users\/2010-January\/078493.html. BIND . 2010a. BIND aborts in dst_api.c. https:\/\/lists.isc.org\/pipermail\/bind-users\/2010-January\/078493.html."},{"key":"e_1_2_1_9_1","unstructured":"BIND. 2010b. BIND crashes in statschannel.c. https:\/\/lists.isc.org\/pipermail\/bind-users\/2010-January\/078428.html. BIND. 2010b. BIND crashes in statschannel.c. https:\/\/lists.isc.org\/pipermail\/bind-users\/2010-January\/078428.html."},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the International Conference on Dependable Systems and Networks.","author":"Bisolfati E."},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the Workshop on Self-Healing, Adaptive and Self-Managed Systems.","author":"Broadwell P. A."},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the Symposium on Operating System Design and Implem.","author":"Cadar C."},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of the Workshop on Internet Applications.","author":"Candea G."},{"key":"e_1_2_1_14_1","volume-title":"Proceedings of the Symposium on Operating Systems Design and Implementation.","author":"Castro M."},{"key":"e_1_2_1_15_1","volume-title":"Intl. Symp. on Fault-Tolerant Computing.","author":"Chillarege R."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/1950365.1950396"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1238844.1238845"},{"key":"e_1_2_1_18_1","unstructured":"CPython. 2011. http:\/\/www.python.org\/. CPython. 2011. http:\/\/www.python.org\/."},{"key":"e_1_2_1_19_1","volume-title":"Proceedings of the USENIX Summer Technical Conference.","author":"Curry T. W.","year":"1994"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1097-024X(199712)27:12<1385::AID-SPE133>3.0.CO;2-7"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/251880.251992"},{"key":"e_1_2_1_22_1","unstructured":"ELSA. 2009. http:\/\/www.eecs.berkeley.edu\/~smcpeak\/elkhound\/sources\/elsa\/. (Accessed on 3\/09).  ELSA. 2009. http:\/\/www.eecs.berkeley.edu\/~smcpeak\/elkhound\/sources\/elsa\/. (Accessed on 3\/09)."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007512.1007516"},{"key":"e_1_2_1_24_1","unstructured":"Gcov. 2010. GCC coverage testing tool. http:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Gcov.html. Gcov . 2010. GCC coverage testing tool. http:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Gcov.html."},{"key":"e_1_2_1_25_1","unstructured":"Git. 2010a. Git crashes on make test. http:\/\/marc.info\/?l=git&m=125985479417107. Git. 2010a. Git crashes on make test. http:\/\/marc.info\/?l=git&m=125985479417107."},{"key":"e_1_2_1_26_1","unstructured":"Git. 2010b. Git fails when running commands in wrong environment. http:\/\/marc.info\/?l=git&m=125986795807036. Git. 2010b. Git fails when running commands in wrong environment. http:\/\/marc.info\/?l=git&m=125986795807036."},{"key":"e_1_2_1_27_1","unstructured":"Git. 2010c. Git unchecked malloc\u2019s. http:\/\/marc.info\/?l=git&m=126298802319662. Git. 2010c. Git unchecked malloc\u2019s. http:\/\/marc.info\/?l=git&m=126298802319662."},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the USENIX Conference on File and Storage Technologies.","author":"Gunawi H. S."},{"key":"e_1_2_1_29_1","unstructured":"Gunawi H. S. Do T. Joshi P. Hellerstein J. M. Arpaci-Dusseau A. C. Arpaci-Dusseau R. H. and Sen K. 2010. Towards automatically checking thousands of failures with micro-specifications. Tech. rep. UCB\/EECS-2010-98 University of California. Gunawi H. S. Do T. Joshi P. Hellerstein J. M. Arpaci-Dusseau A. C. Arpaci-Dusseau R. H. and Sen K. 2010. Towards automatically checking thousands of failures with micro-specifications. Tech. rep. UCB\/EECS-2010-98 University of California."},{"key":"e_1_2_1_30_1","volume-title":"Proceedings of the Symposium on Operating Systems Design and Implementation.","author":"Guo Z."},{"key":"e_1_2_1_31_1","unstructured":"Hadoop FI. 2010. Hadoop Fault Injection framework. http:\/\/hadoop.apache.org\/hdfs\/docs\/r0.21.0\/faultinject_framework.html. Hadoop FI. 2010. Hadoop Fault Injection framework. http:\/\/hadoop.apache.org\/hdfs\/docs\/r0.21.0\/faultinject_framework.html."},{"key":"e_1_2_1_32_1","unstructured":"Holodeck. 2010. Win32 fuzz testing and fault injection. http:\/\/www.securityinnovation.com\/holodeck\/. Holodeck. 2010. Win32 fuzz testing and fault injection. http:\/\/www.securityinnovation.com\/holodeck\/."},{"key":"e_1_2_1_33_1","volume-title":"Proceedings of the USENIX Windows NT Symposium.","author":"Hunt G."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE.2007.23"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/12.364536"},{"key":"e_1_2_1_36_1","volume-title":"Proceedings of the Symposium on Networked Systems Design and Implementation.","author":"Killian C."},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of the International Symposium on Software Reliability Engineering.","author":"Koopman P."},{"key":"e_1_2_1_38_1","unstructured":"Lcov. 2010. LTP gcov extension. http:\/\/ltp.sourceforge.net\/coverage\/lcov.php. Lcov . 2010. LTP gcov extension. http:\/\/ltp.sourceforge.net\/coverage\/lcov.php."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2003.1241364"},{"key":"e_1_2_1_40_1","volume-title":"Proceedings of the Workshop on Novel Uses of System Area Networks.","author":"Li X."},{"key":"e_1_2_1_41_1","unstructured":"Libdwarf. 2010. Libdwarf. http:\/\/reality.sgiweb.org\/davea\/dwarf.html. Libdwarf. 2010. Libdwarf. http:\/\/reality.sgiweb.org\/davea\/dwarf.html."},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the USENIX Annual Technical Conference.","author":"Marinescu P. D."},{"key":"e_1_2_1_43_1","unstructured":"MySQL. 2009. MySQL crashes due to bus error during shutdown. http:\/\/bugs.mysql.com\/bug.php?id=42109. MySQL. 2009. MySQL crashes due to bus error during shutdown. http:\/\/bugs.mysql.com\/bug.php?id=42109."},{"key":"e_1_2_1_44_1","unstructured":"MySQL. 2010a. MySQL crashes due to double unlock. http:\/\/bugs.mysql.com\/bug.php?id=53268. MySQL . 2010a. MySQL crashes due to double unlock. http:\/\/bugs.mysql.com\/bug.php?id=53268."},{"key":"e_1_2_1_45_1","unstructured":"MySQL. 2010b. MySQL crashes due to error while reading errmsg.sys. http:\/\/bugs.mysql.com\/bug.php?id=53393. MySQL . 2010b. MySQL crashes due to error while reading errmsg.sys. http:\/\/bugs.mysql.com\/bug.php?id=53393."},{"key":"e_1_2_1_46_1","unstructured":"MySQL. 2010c. MySQL InnoDB crashes during shutdown. http:\/\/bugs.mysql.com\/bug.php?id=52546. MySQL . 2010c. MySQL InnoDB crashes during shutdown. http:\/\/bugs.mysql.com\/bug.php?id=52546."},{"key":"e_1_2_1_47_1","unstructured":"MySQL. 2010d. http:\/\/www.mysql.com\/. MySQL. 2010d. http:\/\/www.mysql.com\/."},{"key":"e_1_2_1_48_1","volume-title":"Proceedings of the International Symposium on Fault-Tolerant Computing.","author":"Ng W. T."},{"key":"e_1_2_1_49_1","unstructured":"Pidgin. 2009. Pidgin SIGABRTs on memory alloc. http:\/\/developer.pidgin.im\/ticket\/8672. Pidgin. 2009. Pidgin SIGABRTs on memory alloc. http:\/\/developer.pidgin.im\/ticket\/8672."},{"key":"e_1_2_1_50_1","unstructured":"Pidgin. 2010. Pidgin. http:\/\/www.pidgin.im. Pidgin. 2010. Pidgin. http:\/\/www.pidgin.im."},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/1095810.1095830"},{"key":"e_1_2_1_52_1","volume-title":"Proceedings of the USENIX Annual Technical Conference.","author":"Prasad M."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806672.1806687"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.5555\/850947.853305"},{"key":"e_1_2_1_55_1","volume-title":"Proceedings of the Network and Distributed System Security Symposium.","author":"Slowinska A."},{"key":"e_1_2_1_56_1","volume-title":"Proceedings of the International Computer Performance and Dependability Symposium.","author":"Stott D. T."},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1109\/EDCC.2006.3"},{"key":"e_1_2_1_58_1","unstructured":"SysBench. 2010. http:\/\/sysbench.sourceforge.net. SysBench . 2010. http:\/\/sysbench.sourceforge.net."},{"key":"e_1_2_1_59_1","unstructured":"TestApi. 2010. Library of test and utility APIs. http:\/\/testapi.codeplex.com\/. TestApi. 2010. Library of test and utility APIs. http:\/\/testapi.codeplex.com\/."},{"key":"e_1_2_1_60_1","volume-title":"Proceedings of the International Conference on Modelling Techniques and Tools for Computer Performance Evaluation.","author":"Tsai T. K."},{"key":"e_1_2_1_61_1","unstructured":"V8 JavaScript Engine. 2011. http:\/\/code.google.com\/p\/v8\/. V8 JavaScript Engine. 2011. http:\/\/code.google.com\/p\/v8\/."},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/1330017.1330019"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC.2007.163"}],"container-title":["ACM Transactions on Computer Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2063509.2063511","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2063509.2063511","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T10:06:08Z","timestamp":1750241168000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2063509.2063511"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2011,12]]},"references-count":63,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2011,12]]}},"alternative-id":["10.1145\/2063509.2063511"],"URL":"https:\/\/doi.org\/10.1145\/2063509.2063511","relation":{},"ISSN":["0734-2071","1557-7333"],"issn-type":[{"value":"0734-2071","type":"print"},{"value":"1557-7333","type":"electronic"}],"subject":[],"published":{"date-parts":[[2011,12]]},"assertion":[{"value":"2010-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2011-08-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2011-12-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}