bug#57948: [PATCH] Avoid 'frame-local-ref' errors when printing backtrace.

2023-01-11 Thread Andrew Whatson
Ludovic Courtès wrote: > > Applied, thanks! Thank you! > PS: Please use ‘git format-patch’ so the patch can be directly consumed > by ‘git am’. My mistake, sorry about that. Noted for next time :) Cheers, Andrew

bug#57948: [PATCH] Avoid 'frame-local-ref' errors when printing backtrace.

2023-01-10 Thread Andrew Whatson
Andrew commit 164bdce6acf53796cb96ef1930a89c6caf84bc39 Author: Andrew Whatson Date: Wed Jan 11 14:04:32 2023 +1000 Test for 'frame-local-ref' errors when printing backtrace. This test reproduces the error from <https://bugs.gnu.org/56493>, and passes with the workaro

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-12-08 Thread Andrew Whatson
Ludovic Courtès wrote: > > Andrew Whatson skribis: > > > We also need equivalent functionality around SOCK_CLOEXEC. It seems > > this is implemented for ‘accept’, but not ‘socket’ or ‘socketpair’. > > It’s possible to use SOCK_CLOEXEC with ‘socket’ and ‘s

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-11-20 Thread Andrew Whatson
Ludovic Courtès wrote: > > Andrew Whatson skribis: > > > Forcibly closing file descriptors like this shouldn't be necessary if > > the application has properly opened descriptors with the FD_CLOEXEC > > flag. It would be good to get input from some more expe

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-11-17 Thread Andrew Whatson
Hi Nate, Thanks for reporting this! I'm able to reproduce on my systems, and have identified the culprit: > strace -c -f guile -c '(begin (use-modules (ice-9 popen) (ice-9 rdelim)) (display (read-delimited "" (open-input-pipe "ls"' % time seconds usecs/call callserrors syscal

bug#57948: [PATCH] Avoid 'frame-local-ref' errors when printing backtrace.

2022-10-12 Thread Andrew Whatson
Ludovic Courtès wrote: > > It would be great if you could add a simple test case though, so that > the bug doesn’t eventually come back to haunt us. > > Could you send an updated patch? Ah yes, getting this covered in a test is on my list. I had trouble writing a reproducer previously, I think t

bug#57948: Frame bindings referring to non-existent locals

2022-09-20 Thread Andrew Whatson
I've submitted a workaround for this problem here: https://lists.gnu.org/archive/html/guile-devel/2022-09/msg00016.html

bug#57948: Frame bindings referring to non-existent locals

2022-09-20 Thread Andrew Whatson
Hello Guilers! I have some buggy code which fails to compile. While printing the backtrace of this compilation error, another error occurs and Guile reports "Exception thrown while printing backtrace". To reproduce the error: $ git clone https://gitlab.com/flatwhatson/guile-prescheme.git $