summaryrefslogtreecommitdiff
path: root/test-suite/tests/asyncs.test
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2023-05-07 09:49:00 +0200
committerAndy Wingo <wingo@pobox.com>2023-05-07 09:50:14 +0200
commit6efc0b8159f0fc74c0eafec988fe5434fb4d9f51 (patch)
treea95fe79f8b252acffaeb9f85fe3caaec9a06c0be /test-suite/tests/asyncs.test
parentfe6cc6d04ab094ea802907bdc4f728416c0e97ba (diff)
downloadguile-6efc0b8159f0fc74c0eafec988fe5434fb4d9f51.tar.gz
call-with-values builtin doesn't leave garbage on the stack
Fixes https://debbugs.gnu.org/63279. The issue was that if the producer thunk caused a backtrace, pretty-printing the call-with-values frame would segfault because there was an unininitialized slot on the stack. For functions produced by the compiler this wouldn't be a problem because there are stack maps, but primitives require that all slots on a pending stack frame be packed (no uninitialized values) and tagged (all SCM values, no unboxed values). * test-suite/tests/error-handling.test: New test. * test-suite/Makefile.am: Add new file. * libguile/vm.c (define_vm_builtins): Fix call-with-values to have a more compact stack.
Diffstat (limited to 'test-suite/tests/asyncs.test')
0 files changed, 0 insertions, 0 deletions