bug#63279: Segfault when printing a call-with-values stack frame in backtrace
Maxime Devos <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Hello there, > > Guile seems to segfault when trying to print certain backtraces with a > 'call-with-values' stack frame. Here's a minimal reproducer program: > > (symbol? (call-with-values (lambda () (error 'oh-no)) list)) Here is a more minimal reproducer, from <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50153>: > Write the following to "crash.scm": > >> (call-with-values backtrace list) >> #t > > (the trailing #t is important) and run > >> # --auto-compile works too, but --no-auto-compile doesn't cause a crash >> guile --fresh-auto-compile -l crash.scm (i.e., it doesn't seem to be a bug in the exception mechanism, itself rather it seems a bug in something _used_ by the exception mechanism.) I don't know if it has exactly the same cause, but it looks familiar. For some other backtrace suspiciousness, see <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48422>, though possibly that issue has a different cause. Because of the ‘It seems that the data stored in the stack frames for 'call-with-values' calls is incorrect [...]’ it seems plausible something similar is going on in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46232>, though possibly that is unrelated. Greeitngs, Maxime.
OpenPGP_0x49E3EE22191725EE.asc
(application/pgp-keys, 912 B)
-----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA== =OVqp -----END PGP PUBLIC KEY BLOCK-----
OpenPGP_signature
(application/pgp-signature, 236 B) - not displayed