{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,23]],"date-time":"2026-07-23T02:50:06Z","timestamp":1784775006625,"version":"3.55.0"},"reference-count":84,"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:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"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>Actor concurrency is becoming increasingly important in the development of real-world software systems. Although actor concurrency may be less susceptible to some multithreaded concurrency bugs, such as low-level data races and deadlocks, it comes with its own bugs that may be different. However, the fundamental characteristics of actor concurrency bugs, including their symptoms, root causes, API usages, examples, and differences when they come from different sources are still largely unknown. Actor software development can significantly benefit from a comprehensive qualitative and quantitative understanding of these characteristics, which is the focus of this work, to foster better API documentation, development practices, testing, debugging, repairing, and verification frameworks. To conduct this study, we take the following major steps. First, we construct a set of 186 real-world Akka actor bugs from Stack Overflow and GitHub via manual analysis of 3,924 Stack Overflow questions, answers, and comments and 3,315 GitHub commits, messages, original and modified code snippets, issues, and pull requests. Second, we manually study these actor bugs and their fixes to understand and classify their symptoms, root causes, and API usages. Third, we study the differences between the commonalities and distributions of symptoms, root causes, and API usages of our Stack Overflow and GitHub actor bugs. Fourth, we discuss real-world examples of our actor bugs with these symptoms and root causes. Finally, we investigate the relation of our findings with those of previous work and discuss their implications. A few findings of our study are: (1) symptoms of our actor bugs can be classified into five categories, with Error as the most common symptom and Incorrect Exceptions as the least common, (2) root causes of our actor bugs can be classified into ten categories, with Logic as the most common root cause and Untyped Communication as the least common, (3) a small number of Akka API packages are responsible for most of API usages by our actor bugs, and (4) our Stack Overflow and GitHub actor bugs can differ significantly in commonalities and distributions of their symptoms, root causes, and API usages. While some of our findings agree with those of previous work, others sharply contrast.<\/jats:p>","DOI":"10.1145\/3428282","type":"journal-article","created":{"date-parts":[[2020,11,24]],"date-time":"2020-11-24T23:36:06Z","timestamp":1606260966000},"page":"1-32","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["Actor concurrency bugs: a comprehensive study on symptoms, root causes, API usages, and differences"],"prefix":"10.1145","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1549-881X","authenticated-orcid":false,"given":"Mehdi","family":"Bagherzadeh","sequence":"first","affiliation":[{"name":"Oakland University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Nicholas","family":"Fireman","sequence":"additional","affiliation":[{"name":"Oakland University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anas","family":"Shawesh","sequence":"additional","affiliation":[{"name":"Oakland University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Raffi","family":"Khatchadourian","sequence":"additional","affiliation":[{"name":"City University of New York, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,11,13]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"Stack Overflow. 2012a. Akka Actors app hangs under high volume. https:\/\/stackoverflow.com\/questions\/11141311.  Stack Overflow. 2012a. Akka Actors app hangs under high volume. https:\/\/stackoverflow.com\/questions\/11141311."},{"key":"e_1_2_2_2_1","unstructured":"Stack Overflow. 2012b. correctly terminate akka actors in scala. https:\/\/stackoverflow.com\/questions\/12324055\/.  Stack Overflow. 2012b. correctly terminate akka actors in scala. https:\/\/stackoverflow.com\/questions\/12324055\/."},{"key":"e_1_2_2_3_1","unstructured":"GitHub. 2013a. ifx garbling of big Tcp.Write. https:\/\/github.com\/spray\/spray\/commit\/ 332ba626b193794fd4d753839e664aacd4d302a5.  GitHub. 2013a. ifx garbling of big Tcp.Write. https:\/\/github.com\/spray\/spray\/commit\/ 332ba626b193794fd4d753839e664aacd4d302a5."},{"key":"e_1_2_2_4_1","unstructured":"Stack Overflow. 2013. How should an akka actor be created that might throw an exception? https:\/\/stackoverflow.com\/ questions\/18648390.  Stack Overflow. 2013. How should an akka actor be created that might throw an exception? https:\/\/stackoverflow.com\/ questions\/18648390."},{"key":"e_1_2_2_5_1","unstructured":"GitHub. 2013b. Spray Project. https:\/\/github.com\/spray\/spray\/commit\/e34da115fa43d4d46db0e7ae06eea7fbcbc4fdfd.  GitHub. 2013b. Spray Project. https:\/\/github.com\/spray\/spray\/commit\/e34da115fa43d4d46db0e7ae06eea7fbcbc4fdfd."},{"key":"e_1_2_2_6_1","unstructured":"Stack Overflow. 2014. akka.io dispatcher configuration Exception. https:\/\/stackoverflow.com\/questions\/21686327.  Stack Overflow. 2014. akka.io dispatcher configuration Exception. https:\/\/stackoverflow.com\/questions\/21686327."},{"key":"e_1_2_2_7_1","unstructured":"Stack Overflow. 2016. postRestart and preRestart methods are not getting invoked in akka actors. https:\/\/stackoverflow. com\/questions\/37608915.  Stack Overflow. 2016. postRestart and preRestart methods are not getting invoked in akka actors. https:\/\/stackoverflow. com\/questions\/37608915."},{"key":"e_1_2_2_8_1","unstructured":"Stack Overflow. 2017a. Actor Name is not Unique InvalidActorNameException. https:\/\/stackoverflow.com\/questions\/ 11693562\/.  Stack Overflow. 2017a. Actor Name is not Unique InvalidActorNameException. https:\/\/stackoverflow.com\/questions\/ 11693562\/."},{"key":"e_1_2_2_9_1","unstructured":"Stack Overflow. 2017b. Doesn't immediately stop child Akka actors when parent actor stopped. https:\/\/stackoverflow.com\/ questions\/45574085.  Stack Overflow. 2017b. Doesn't immediately stop child Akka actors when parent actor stopped. https:\/\/stackoverflow.com\/ questions\/45574085."},{"key":"e_1_2_2_10_1","unstructured":"Stack Overflow. 2017c. How to use futures with Akka for asynchronous results. https:\/\/stackoverflow.com\/questions\/ 11693562\/.  Stack Overflow. 2017c. How to use futures with Akka for asynchronous results. https:\/\/stackoverflow.com\/questions\/ 11693562\/."},{"key":"e_1_2_2_11_1","unstructured":"Stack Overflow. 2018a. Cannot establish remote communication with Akka. https:\/\/stackoverflow.com\/questions\/53188945.  Stack Overflow. 2018a. Cannot establish remote communication with Akka. https:\/\/stackoverflow.com\/questions\/53188945."},{"key":"e_1_2_2_12_1","unstructured":"Stack Overflow. 2018b. Scala Akka Actor-Dead Letters encountered. https:\/\/stackoverflow.com\/questions\/53200356.  Stack Overflow. 2018b. Scala Akka Actor-Dead Letters encountered. https:\/\/stackoverflow.com\/questions\/53200356."},{"key":"e_1_2_2_13_1","unstructured":"Stack Overflow. 2018c. Send message to actor after restart from Supervisor. https:\/\/stackoverflow.com\/questions\/48446194.  Stack Overflow. 2018c. Send message to actor after restart from Supervisor. https:\/\/stackoverflow.com\/questions\/48446194."},{"key":"e_1_2_2_14_1","volume-title":"Akka Routing: Reply's send to router ends up as dead letters. https:\/\/stackoverflow.com\/questions\/ 20564381\/.","author":"Overflow Stack","year":"2019"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/7929"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-16042-6_2"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3239235.3239524"},{"key":"e_1_2_2_18_1","unstructured":"Akka 2.6.5 API. May 2020. https:\/\/doc.akka.io\/api\/akka\/current\/akka\/index.html.  Akka 2.6.5 API. May 2020. https:\/\/doc.akka.io\/api\/akka\/current\/akka\/index.html."},{"key":"e_1_2_2_19_1","unstructured":"Akka Actor Reference Config. April 2020. https:\/\/github.com\/akka\/akka\/blob\/master\/akka-actor\/src\/main\/resources\/ reference.conf.  Akka Actor Reference Config. April 2020. https:\/\/github.com\/akka\/akka\/blob\/master\/akka-actor\/src\/main\/resources\/ reference.conf."},{"key":"e_1_2_2_20_1","unstructured":"Akka Typed. May 2020. https:\/\/doc.akka.io\/docs\/akka\/current\/typed\/index.html.  Akka Typed. May 2020. https:\/\/doc.akka.io\/docs\/akka\/current\/typed\/index.html."},{"key":"e_1_2_2_21_1","unstructured":"Apache. 2015. Akka Actors in Spark. https:\/\/issues.apache.org\/jira\/browse\/SPARK-5293.  Apache. 2015. Akka Actors in Spark. https:\/\/issues.apache.org\/jira\/browse\/SPARK-5293."},{"key":"e_1_2_2_22_1","volume-title":"Programming Erlang: Software for a Concurrent World. Pragmatic Bookshelf.","author":"Armstrong Joe","year":"2007"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338939"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2724525.2724568"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3141834.3141837"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/604131.604140"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-012-9231-y"},{"key":"e_1_2_2_28_1","unstructured":"Phil Bernstein Sergey Bykov Alan Geller Gabriel Kliot and Jorgen Thelin. 2014. Orleans: Distributed Virtual Actors for Programmability and Scalability. Technical Report MSR-TR-2014-41. https:\/\/www.microsoft.com\/en-us\/research\/ publication\/orleans-distributed-virtual-actors-for-programmability-and-scalability\/  Phil Bernstein Sergey Bykov Alan Geller Gabriel Kliot and Jorgen Thelin. 2014. Orleans: Distributed Virtual Actors for Programmability and Scalability. Technical Report MSR-TR-2014-41. https:\/\/www.microsoft.com\/en-us\/research\/ publication\/orleans-distributed-virtual-actors-for-programmability-and-scalability\/"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2012.04.053"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2017.2707089"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2019.00086"},{"key":"e_1_2_2_32_1","unstructured":"Khari Johnson. 2018. GitHub passes 100 million repositories. https:\/\/venturebeat.com\/ 2018 \/11\/08\/github-passes-100-millionrepositories\/.  Khari Johnson. 2018. GitHub passes 100 million repositories. https:\/\/venturebeat.com\/ 2018 \/11\/08\/github-passes-100-millionrepositories\/."},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1394496.1394499"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM.2018.00011"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00072"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45234-6_5"},{"key":"e_1_2_2_37_1","volume-title":"Concurrent Patterns and Best Practices: Build Scalable Apps with Patterns in Multithreading, Synchronization, and Functional Programming","author":"Khot Atul S."},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1137983.1138027"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2009.88"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-12029-9_22"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2006.180"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/2872362.2872374"},{"key":"e_1_2_2_43_1","volume-title":"Lacher","author":"Lewis Mark C.","year":"2016","edition":"2"},{"key":"e_1_2_2_44_1","doi-asserted-by":"crossref","unstructured":"He Li Jie Luo and Wei Li. 2014. A formal semantics for debugging synchronous message passing-based concurrent programs. Science China Information Sciences 57 12 ( 2014 ) 1-18.  He Li Jie Luo and Wei Li. 2014. A formal semantics for debugging synchronous message passing-based concurrent programs. Science China Information Sciences 57 12 ( 2014 ) 1-18.","DOI":"10.1007\/s11432-014-5150-4"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2018.8"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1081706.1081755"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884870"},{"key":"e_1_2_2_48_1","unstructured":"Lightbend. 2019a. Akka. https:\/\/www.lightbend. com\/akka-part-of-lightbend-platform.  Lightbend. 2019a. Akka. https:\/\/www.lightbend. com\/akka-part-of-lightbend-platform."},{"key":"e_1_2_2_49_1","unstructured":"Lightbend. 2019b. Customer Case Studies. https:\/\/www.lightbend. com\/case-studies#filter:akka.  Lightbend. 2019b. Customer Case Studies. https:\/\/www.lightbend. com\/case-studies#filter:akka."},{"key":"e_1_2_2_50_1","unstructured":"Lightbend. 2020a. Akka Documentation : Supervision and Monitoring. https:\/\/doc.akka.io\/docs\/akka\/2.5\/general\/supervision. html.  Lightbend. 2020a. Akka Documentation : Supervision and Monitoring. https:\/\/doc.akka.io\/docs\/akka\/2.5\/general\/supervision. html."},{"key":"e_1_2_2_51_1","unstructured":"Lightbend. 2020b. Akka.actor Documentation. https:\/\/doc.akka.io\/api\/akka\/current\/akka\/actor\/Actor.html.  Lightbend. 2020b. Akka.actor Documentation. https:\/\/doc.akka.io\/api\/akka\/current\/akka\/actor\/Actor.html."},{"key":"e_1_2_2_52_1","unstructured":"Lightbend. 2020c. How Groupon Scales Personalized Ofers To 48 Million Customers On Time. https:\/\/www.lightbend. com\/case-studies\/groupon-scalability-personalized-ofers-to-48-million-customers.  Lightbend. 2020c. How Groupon Scales Personalized Ofers To 48 Million Customers On Time. https:\/\/www.lightbend. com\/case-studies\/groupon-scalability-personalized-ofers-to-48-million-customers."},{"key":"e_1_2_2_53_1","unstructured":"Lightbend. 2020d. PayPal Blows Past 1 Billion Transactions Per Day Using Just 8 VMs With Akka Scala Kafka and Akka Streams. https:\/\/www.lightbend. com\/case-studies\/paypal-blows-past-1-billion-transactions-per-day-using-just-8-vmsand-akka-scala-kafka-and-akka-streams.  Lightbend. 2020d. PayPal Blows Past 1 Billion Transactions Per Day Using Just 8 VMs With Akka Scala Kafka and Akka Streams. https:\/\/www.lightbend. com\/case-studies\/paypal-blows-past-1-billion-transactions-per-day-using-just-8-vmsand-akka-scala-kafka-and-akka-streams."},{"key":"e_1_2_2_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2889443.2889444"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2019.27"},{"key":"e_1_2_2_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/1346281.1346323"},{"key":"e_1_2_2_57_1","unstructured":"Manuel Bernhardt. 2020. Akka anti-patterns: race condition. https:\/\/manuel.bernhardt.io\/ 2016 \/08\/16\/akka-anti-patternsrace-conditions\/.  Manuel Bernhardt. 2020. Akka anti-patterns: race condition. https:\/\/manuel.bernhardt.io\/ 2016 \/08\/16\/akka-anti-patternsrace-conditions\/."},{"key":"e_1_2_2_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180201"},{"key":"e_1_2_2_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/2568225.2568324"},{"key":"e_1_2_2_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884790"},{"key":"e_1_2_2_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/2038037.1941566"},{"key":"e_1_2_2_62_1","unstructured":"Netty. May 2020. https:\/\/netty.io\/.  Netty. May 2020. https:\/\/netty.io\/."},{"key":"e_1_2_2_63_1","unstructured":"NLTK Project. 2020. Porter Stemming Algorithm in NLTK 3.4.5. https:\/\/www.nltk.org\/api\/nltk.stem.html.  NLTK Project. 2020. Porter Stemming Algorithm in NLTK 3.4.5. https:\/\/www.nltk.org\/api\/nltk.stem.html."},{"key":"e_1_2_2_64_1","first-page":"611","volume-title":"Capsule-Oriented Programming. In Proceedings of the 37th International Conference on Software Engineering-Volume 2","author":"Rajan Hridesh","year":"2015"},{"key":"e_1_2_2_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884848"},{"key":"e_1_2_2_66_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9379-3"},{"key":"e_1_2_2_67_1","unstructured":"Scala 2.13.2 API. May 2020. https:\/\/www.scala-lang.org\/api\/current\/scala\/index.html.  Scala 2.13.2 API. May 2020. https:\/\/www.scala-lang.org\/api\/current\/scala\/index.html."},{"key":"e_1_2_2_68_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2013.03.011"},{"key":"e_1_2_2_69_1","doi-asserted-by":"publisher","DOI":"10.1007\/11693017_25"},{"key":"e_1_2_2_70_1","unstructured":"Stack Exchange. December 2019. https:\/\/archive.org\/details\/stackexchange.  Stack Exchange. December 2019. https:\/\/archive.org\/details\/stackexchange."},{"key":"e_1_2_2_71_1","unstructured":"Stack Overflow. 2020. How to create a Minimal Reproducible Example. https:\/\/stackoverflow.com\/help\/minimal-reproducibleexample.  Stack Overflow. 2020. How to create a Minimal Reproducible Example. https:\/\/stackoverflow.com\/help\/minimal-reproducibleexample."},{"key":"e_1_2_2_72_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ECOOP.2017.25"},{"key":"e_1_2_2_73_1","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.155.8"},{"key":"e_1_2_2_74_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-39038-8_13"},{"key":"e_1_2_2_75_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-30793-5_14"},{"key":"e_1_2_2_76_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2013.6693072"},{"key":"e_1_2_2_77_1","doi-asserted-by":"publisher","DOI":"10.1145\/3141834.3141839"},{"key":"e_1_2_2_78_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-00302-9_6"},{"key":"e_1_2_2_79_1","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304069"},{"key":"e_1_2_2_80_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2017.8115663"},{"key":"e_1_2_2_81_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11390-016-1672-0"},{"key":"e_1_2_2_83_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213866"},{"key":"e_1_2_2_84_1","doi-asserted-by":"publisher","DOI":"10.1145\/2745802.2745807"},{"key":"e_1_2_2_85_1","doi-asserted-by":"publisher","DOI":"10.5555\/2337223.2337363"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428282","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3428282","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:02:58Z","timestamp":1750197778000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3428282"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,11,13]]},"references-count":84,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2020,11,13]]}},"alternative-id":["10.1145\/3428282"],"URL":"https:\/\/doi.org\/10.1145\/3428282","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"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"}}]}}