Ctrl+C during synchronous/blocking JavaScript causes GJS Console to segfault/assert.
Our current Ctrl+C handling can break the JS stack with jumps if you trigger it during blocking JS (e.g. imports.mainloop.run()
), to fix this we need to add jump boundaries around our FFI calls so that the JS stack is not impacted by Ctrl+C
Edited by Evan Welsh