Hey,

Any ideas why Guile seems to loose track of which procedure is which?
I've got some Guile code to track how long it takes to run some
procedures, so first I see output like:

2024-06-23 19:58:19 warning: delay of 3.380 seconds: #<procedure 7fb59a6dc5b0 
at guix-build-coordinator/coordinator.scm:708:4 (_)>
2024-06-23 19:58:19   0.016: #<procedure store-build (derivation-name uuid 
priority tags #:key skip-updating-other-build-derived-priorities)>
2024-06-23 19:58:19     0.004: #<procedure 7fb56869a9c0 at 
guix-build-coordinator/datastore/sqlite.scm:1320:3 (db)>
2024-06-23 19:58:19     0.012: #<procedure 7fb568516280 at 
guix-build-coordinator/datastore/sqlite.scm:4347:6 (db)>

But then after some time of the program running, the output changes to
something like:

2024-06-24 15:18:02 warning: delay of 1.128 seconds: #<program 7fb51102f960 
7fb59b183514>
2024-06-24 15:18:02   0.161: #<program 7fb59b1de310 7fb59b19a7d0>
2024-06-24 15:18:02   0.966: #<program 7fb59b1de278 7fb59b19970c>
2024-06-24 15:18:02     0.392: #<program 7fb59b1de260 7fb59b1989d0>
2024-06-24 15:18:02     0.507: #<program 7fb59b1de260 7fb59b1989d0>

So the procedures become programs, and the locations are lost.

I've already disabled JIT to see if that helps, and it doesn't seem
to. Any ideas how I can stop this from happening?

Thanks,

Chris

Attachment: signature.asc
Description: PGP signature

Reply via email to