EmbarkStudios / crash-handling

Collection of crates to deal with crashes
Apache License 2.0
138 stars 13 forks source link

Add stackoverflow via recursion tests #24

Closed Jake-Shadle closed 2 years ago

Jake-Shadle commented 2 years ago

Right now sadness-generator just allocates a 999MiB buffer on the stack to generate a stack overflow crash, however it was pointed out that catching stack overflows in Firefox is pretty unreliable, and is tested via recursion, so using a simple buffer might not be testing stack overflow handling as effectively as I had assumed, so might be useful to add or change to a recursion approach to see if that exposes reliability issues that I haven't encountered thusfar.