unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* procedures turn to programs and location information lost
@ 2024-06-24 13:25 Christopher Baines
  0 siblings, 0 replies; only message in thread
From: Christopher Baines @ 2024-06-24 13:25 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-24 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-24 13:25 procedures turn to programs and location information lost Christopher Baines

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).