User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
- Use the hardened_malloc allocator when running FireFox: https://github.com/GrapheneOS/hardened_malloc
- Disable any blockers such as uBlock Origin/AdBlock.
- Visit the following page: https://stackoverflow.com/questions/8981164/self-deleting-shell-script
- Scroll up and down a bit, and wait a moment.
"Gah. Your tab just crashed."
When running FireFox with verbose outputs, the following is printed in my terminal right as the tab crashes:
fatal allocator error: invalid uninitialized allocator usage
Redirecting call to abort() to mozalloc_abort
No other relevant information is printed.
Although it is technically possible that this is an issue with the allocator, based upon the circumstances and the specific error at hand, I am relatively confident this is simply a memory safety bug in FireFox.
The tab should not have crashed.