{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:24:29Z","timestamp":1750220669036,"version":"3.41.0"},"reference-count":51,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2020,11,13]],"date-time":"2020-11-13T00:00:00Z","timestamp":1605225600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"National Science Foundation","award":["1566154,1823004,2024253,1919044,1901242,1910300,"],"award-info":[{"award-number":["1566154,1823004,2024253,1919044,1901242,1910300,"]}]},{"DOI":"10.13039\/100011039","name":"Intelligence Advanced Research Projects Activity","doi-asserted-by":"publisher","award":["W911NF-19-S-0012"],"award-info":[{"award-number":["W911NF-19-S-0012"]}],"id":[{"id":"10.13039\/100011039","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100007297","name":"Office of Naval Research","doi-asserted-by":"publisher","award":["N000141712045,N000141410468,N000141712947"],"award-info":[{"award-number":["N000141712045,N000141410468,N000141712947"]}],"id":[{"id":"10.13039\/100007297","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100006234","name":"Sandia National Laboratories","doi-asserted-by":"publisher","award":["1701331"],"award-info":[{"award-number":["1701331"]}],"id":[{"id":"10.13039\/100006234","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2020,11,13]]},"abstract":"<jats:p>Diagnosing software failures is important but notoriously challenging. Existing work either requires extensive manual effort, imposing a serious privacy concern (for in-production systems), or cannot report sufficient information for bug fixes. This paper presents a novel diagnosis system, named WATCHER, that can pinpoint root causes of program failures within the failing process (\"in-situ\"), eliminating the privacy concern. It combines identical record-and-replay, binary analysis, dynamic analysis, and hardware support together to perform the diagnosis without human involvement. It further proposes two optimizations to reduce the diagnosis time and diagnose failures with control flow hijacks. WATCHER can be easily deployed, without requiring custom hardware or operating system, program modification, or recompilation. We evaluate WATCHER with 24 program failures in real-world deployed software, including large-scale applications, such as Memcached, SQLite, and OpenJPEG. Experimental results show that WATCHER can accurately identify the root causes in only a few seconds.<\/jats:p>","DOI":"10.1145\/3428211","type":"journal-article","created":{"date-parts":[[2020,11,24]],"date-time":"2020-11-24T23:40:14Z","timestamp":1606261214000},"page":"1-27","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["WATCHER: in-situ failure diagnosis"],"prefix":"10.1145","volume":"4","author":[{"given":"Hongyu","family":"Liu","sequence":"first","affiliation":[{"name":"Purdue University, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sam","family":"Silvestro","sequence":"additional","affiliation":[{"name":"University of Texas at San Antonio, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiangyu","family":"Zhang","sequence":"additional","affiliation":[{"name":"Purdue University, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jian","family":"Huang","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Tongping","family":"Liu","sequence":"additional","affiliation":[{"name":"University of Massachusetts at Amherst, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2020,11,13]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"crossref","unstructured":"Francesc Alted. 2010. Why modern CPUs are starving and what can be done about it. Computing in Science & Engineering 12 2 ( 2010 ) 68.  Francesc Alted. 2010. Why modern CPUs are starving and what can be done about it. Computing in Science & Engineering 12 2 ( 2010 ) 68.","DOI":"10.1109\/MCSE.2010.51"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1449764.1449776"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2013.6606582"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/378993.379232"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1297027.1297057"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2005.8"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512560"},{"key":"e_1_2_2_8_1","volume-title":"REPT: Reverse Debugging of Failures in Deployed Software. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018","author":"Cui Weidong","year":"2018","unstructured":"Weidong Cui , Xinyang Ge , Baris Kasikci , Ben Niu , Upamanyu Sharma , Ruoyu Wang , and Insu Yun . 2018 . REPT: Reverse Debugging of Failures in Deployed Software. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018 , Carlsbad, CA, USA , October 8-10, 2018. 17-32. https:\/\/www.usenix.org\/conference\/osdi18\/presentation\/weidong Weidong Cui, Xinyang Ge, Baris Kasikci, Ben Niu, Upamanyu Sharma, Ruoyu Wang, and Insu Yun. 2018. REPT: Reverse Debugging of Failures in Deployed Software. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018, Carlsbad, CA, USA, October 8-10, 2018. 17-32. https:\/\/www.usenix.org\/conference\/osdi18\/presentation\/weidong"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884844"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542490"},{"key":"e_1_2_2_11_1","unstructured":"Freyja. 2017. How much could software errors be costing your company? https:\/\/raygun.com\/blog\/ cost-of-software-errors\/.  Freyja. 2017. How much could software errors be costing your company? https:\/\/raygun.com\/blog\/ cost-of-software-errors\/."},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1629575.1629586"},{"key":"e_1_2_2_13_1","volume-title":"CAV Workshop on Exploiting Concurrency Eficiently and Correctly.","author":"Godefroid Patrice","year":"2008","unstructured":"Patrice Godefroid and Nachiappan Nagappan . 2008 . Concurrency at Microsoft: An exploratory survey . In CAV Workshop on Exploiting Concurrency Eficiently and Correctly. Patrice Godefroid and Nachiappan Nagappan. 2008. Concurrency at Microsoft: An exploratory survey. In CAV Workshop on Exploiting Concurrency Eficiently and Correctly."},{"key":"e_1_2_2_14_1","unstructured":"Godefroid Patrice and Nagappan Nachi. 2008. Concurrency at Microsoft-An Exploratory Survey. http:\/\/www.microsoft.com\/en-us\/research\/publication\/concurrency-at-microsoft-anexploratory-survey\/.  Godefroid Patrice and Nagappan Nachi. 2008. Concurrency at Microsoft-An Exploratory Survey. http:\/\/www.microsoft.com\/en-us\/research\/publication\/concurrency-at-microsoft-anexploratory-survey\/."},{"key":"e_1_2_2_15_1","doi-asserted-by":"crossref","unstructured":"Mark Harman and Robert Hierons. 2001. An overview of program slicing. software focus 2 3 ( 2001 ) 85-92.  Mark Harman and Robert Hierons. 2001. An overview of program slicing. software focus 2 3 ( 2001 ) 85-92.","DOI":"10.1002\/swf.41"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462167"},{"volume-title":"Retrieved","year":"2017","key":"e_1_2_2_17_1","unstructured":"Intel. 2017 . Intel XED . Retrieved December, 2017 from https:\/\/intelxed.github.io\/ Intel. 2017. Intel XED. Retrieved December, 2017 from https:\/\/intelxed.github.io\/"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1869459.1869481"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542489"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3132747.3132767"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/2815400.2815412"},{"key":"e_1_2_2_22_1","first-page":"1","volume-title":"Proceedings of the Annual Conference on USENIX Annual Technical Conference","author":"King Samuel T.","unstructured":"Samuel T. King , George W. Dunlap , and Peter M. Chen . 2005. Debugging Operating Systems with Time-traveling Virtual Machines . In Proceedings of the Annual Conference on USENIX Annual Technical Conference ( Anaheim, CA) ( ATEC '05). USENIX Association, Berkeley, CA, USA , 1 - 1 . http:\/\/dl.acm.org\/citation.cfm?id= 1247360. 1247361 Samuel T. King, George W. Dunlap, and Peter M. Chen. 2005. Debugging Operating Systems with Time-traveling Virtual Machines. In Proceedings of the Annual Conference on USENIX Annual Technical Conference (Anaheim, CA) ( ATEC '05). USENIX Association, Berkeley, CA, USA, 1-1. http:\/\/dl.acm.org\/citation.cfm?id= 1247360. 1247361"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(88)90054-3"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/359545.359563"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192380"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/1287624.1287703"},{"key":"e_1_2_2_27_1","volume-title":"In Workshop on the Evaluation of Software Defect Detection Tools.","author":"Lu Shan","year":"2005","unstructured":"Shan Lu , Zhenmin Li , Feng Qin , Lin Tan , Pin Zhou , and Yuanyuan Zhou . 2005 . Bugbench: Benchmarks for evaluating bug detection tools . In In Workshop on the Evaluation of Software Defect Detection Tools. Shan Lu, Zhenmin Li, Feng Qin, Lin Tan, Pin Zhou, and Yuanyuan Zhou. 2005. Bugbench: Benchmarks for evaluating bug detection tools. In In Workshop on the Evaluation of Software Defect Detection Tools."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737973"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737973"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3037697.3037751"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.5555\/1855741.1855760"},{"key":"e_1_2_2_32_1","first-page":"269","volume-title":"Proceedings of the 2014 USENIX Conference on USENIX Annual Technical Conference (Philadelphia, PA) (USENIX ATC'14). USENIX Association","author":"Nguyen Hiep","year":"2014","unstructured":"Hiep Nguyen , Daniel J. Dean , Kamal Kc , and Xiaohui Gu . 2014 . Insight: In-situ Online Service Failure Path Inference in Production Computing Infrastructures . In Proceedings of the 2014 USENIX Conference on USENIX Annual Technical Conference (Philadelphia, PA) (USENIX ATC'14). USENIX Association , Berkeley, CA, USA , 269 - 280 . http:\/\/dl.acm.org\/citation.cfm?id= 2643634. 2643663 Hiep Nguyen, Daniel J. Dean, Kamal Kc, and Xiaohui Gu. 2014. Insight: In-situ Online Service Failure Path Inference in Production Computing Infrastructures. In Proceedings of the 2014 USENIX Conference on USENIX Annual Technical Conference (Philadelphia, PA) (USENIX ATC'14). USENIX Association, Berkeley, CA, USA, 269-280. http:\/\/dl.acm.org\/citation.cfm?id= 2643634. 2643663"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1095810.1095833"},{"key":"e_1_2_2_34_1","unstructured":"Quora. 2015. What is a coder's worst nightmare? https:\/\/www.quora.com\/What-is-a-coders-worstnightmare.  Quora. 2015. What is a coder's worst nightmare? https:\/\/www.quora.com\/What-is-a-coders-worstnightmare."},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806799.1806870"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/2451116.2451131"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192411"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/265924.265927"},{"key":"e_1_2_2_39_1","first-page":"28","volume-title":"Proceedings of the 2012 USENIX conference on Annual Technical Conference (Boston, MA) ( USENIX ATC'12). USENIX Association","author":"Serebryany Konstantin","year":"2012","unstructured":"Konstantin Serebryany , Derek Bruening , Alexander Potapenko , and Dmitry Vyukov . 2012 . AddressSanitizer: a fast address sanity checker . In Proceedings of the 2012 USENIX conference on Annual Technical Conference (Boston, MA) ( USENIX ATC'12). USENIX Association , Berkeley, CA, USA , 28 - 28 . http:\/\/dl.acm.org\/citation.cfm?id= 2342821. 2342849 Konstantin Serebryany, Derek Bruening, Alexander Potapenko, and Dmitry Vyukov. 2012. AddressSanitizer: a fast address sanity checker. In Proceedings of the 2012 USENIX conference on Annual Technical Conference (Boston, MA) ( USENIX ATC'12). USENIX Association, Berkeley, CA, USA, 28-28. http:\/\/dl.acm.org\/citation.cfm?id= 2342821. 2342849"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2013.13"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1294261.1294275"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/2544137.2544152"},{"volume-title":"Root cause analysis: A tool for total quality management","author":"Wilson Paul F","key":"e_1_2_2_43_1","unstructured":"Paul F Wilson . 1993. Root cause analysis: A tool for total quality management . ASQ Quality Press . Paul F Wilson. 1993. Root cause analysis: A tool for total quality management. ASQ Quality Press."},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978340"},{"key":"e_1_2_2_45_1","first-page":"17","volume-title":"Proceedings of the 26th USENIX Security Symposium (USENIX Security 17)","author":"Xu Jun","year":"2017","unstructured":"Jun Xu , Dongliang Mu , Xinyu Xing , Peng Liu , Ping Chen , and Bing Mao . 2017 . Postmortem program analysis with hardware-enhanced post-crash artifacts . In Proceedings of the 26th USENIX Security Symposium (USENIX Security 17) . 17 - 32 . Jun Xu, Dongliang Mu, Xinyu Xing, Peng Liu, Ping Chen, and Bing Mao. 2017. Postmortem program analysis with hardware-enhanced post-crash artifacts. In Proceedings of the 26th USENIX Security Symposium (USENIX Security 17). 17-32."},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/2025113.2025121"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3106237.3106266"},{"key":"e_1_2_2_48_1","unstructured":"ZadYree. 2011. Unrar 3.9.3-Local Stack Overflow. Retrieved October 8 2018 from https:\/\/www. exploit-db.com\/exploits\/17611\/  ZadYree. 2011. Unrar 3.9.3-Local Stack Overflow. Retrieved October 8 2018 from https:\/\/www. exploit-db.com\/exploits\/17611\/"},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3037697.3037708"},{"key":"e_1_2_2_50_1","doi-asserted-by":"publisher","DOI":"10.5555\/776816.776855"},{"key":"e_1_2_2_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341301.3359650"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428211","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428211","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428211","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:02:56Z","timestamp":1750197776000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428211"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,11,13]]},"references-count":51,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2020,11,13]]}},"alternative-id":["10.1145\/3428211"],"URL":"https:\/\/doi.org\/10.1145\/3428211","relation":{},"ISSN":["2475-1421"],"issn-type":[{"type":"electronic","value":"2475-1421"}],"subject":[],"published":{"date-parts":[[2020,11,13]]},"assertion":[{"value":"2020-11-13","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}