bug#60488: string-ref segfaults with n < 0 on Guile 3.0.8

2023-01-02 Thread festerdam
On 02.01.2023 05:12, fester...@posteo.net wrote: The following code results in a segmentation fault on Guile 3.0.8-deb+3.0.8-2 (obtained from the Debian repositories): (string-ref "my string" -3) gdb's backtrace is the following: #0 0x77f1bcc5 in ?? () from /lib/x86_64-linux-gnu/l

bug#60487: string-ref segfaults with n < 0 on Guile 3.0.8

2023-01-02 Thread festerdam
The following code results in a segmentation fault on Guile 3.0.8-deb+3.0.8-2 (obtained from the Debian repositories): (string-ref "my string" -3) gdb's backtrace is the following: #0 0x77f1bcc5 in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #1 0x77f26c49 in scm_c