Activities per year
Abstract
For decades, the guidance given to software engineers has been to check the memory allocation results. This validation step is necessary to avoid crashes. However, in user mode, in modern operating systems (OS), such as Android, FreeBSD, iOS, and macOS, the caller does not have an opportunity to handle the memory allocation failures. This behavioral trait results from the actions of a system component called an out-of-memory (OOM) killer. We identify that the only mainstream OS that, by default, lets applications detect memory allocation failures is Microsoft Windows. The false expectation that an application can handle OOM errors can negatively impact its design. The presence of error-handling code creates an illusion of reliability and is wasteful in terms of lines of code and code size. We describe the current behavior of a sample of popular OSs during low-memory conditions and provide recommendations for engineering practices going forward.
Original language | English |
---|---|
Title of host publication | Proceedings of 2022 IEEE 33nd International Symposium on Software Reliability Engineering (ISSRE) |
Publisher | IEEE |
Number of pages | 6 |
Publication status | Submitted - 31-Oct-2022 |
Event | The 33rd IEEE International Symposium on Software Reliability Engineering (ISSRE 2022) - Charlotte, NC, USA, Charlotte, United States Duration: 31-Oct-2022 → 3-Nov-2022 https://issre2022.github.io/ |
Conference
Conference | The 33rd IEEE International Symposium on Software Reliability Engineering (ISSRE 2022) |
---|---|
Abbreviated title | ISSRE 2022 |
Country/Territory | United States |
City | Charlotte |
Period | 31/10/2022 → 03/11/2022 |
Internet address |
Fingerprint
Dive into the research topics of 'When malloc() Never Returns NULL -- Reliability as an Illusion'. Together they form a unique fingerprint.-
Talk at the Bernoulli's SEED Meeting ("When malloc() Never Returns NULL ...")
Kudrjavets, G. (Speaker)
27-Jan-2023Activity: Talk and presentation › Professional or public presentation › Professional
-
When malloc() Never Returns NULL -- Reliability as an Illusion
Kudrjavets, G. (Speaker)
1-Nov-2022Activity: Talk and presentation › Academic presentation › Academic
Prizes
-
ISSRE 2022 Best Disruptive Paper Award
Kudrjavets, G. (Recipient), Thomas, J. (Recipient), Kumar, A. (Recipient), Nagappan, N. (Recipient) & Rastogi, A. (Recipient), 3-Nov-2022
Prize › Academic