Fixed (finally) JavaScript object initialization segfaults when the JS runtime
"max_bytes" value is insufficient for the number of configured items: by defining dynamically created objects and arrays as properties of child objects of the global object immediately after such objects are created, they are "implicitly rooted", protecting them from (unexpected) garbage collection. Now the initialization will simply fail with a nice "out of memory" error. This was a long-standing bug that rarely occurred in the wild.
Showing
Please register or sign in to comment