IRC channel logs

2024-02-02.log

back to list of logs

<apteryx>any tip to debug dependency cycles between top level variables?
<apteryx>can I ltrace or use gdb in a way to gather some clues as to what is causing the loop?
<apteryx>(I tried and failed thus far)
<apteryx>the system just goes on eating memory and I have no clue what's going on other than it happens in guix when I make pkgconf the default instead of pkg-config
<old>apteryx: have you tried perf?
<old>If there is a infinite loop somewhere, perf ought to show you were
<old>where*
<apteryx>perf tracks system calls?
<old>not really
<old>for syscall, strace can be used
<apteryx>do you use a viewer to visualize perf's output?
<old>perf report
<old>it's a TUI base viewer
<sneek>dsmith: wb
<dsmith>sneek, botsnack
<sneek>:)
<dsmith>!uptime
<sneek>I've been a process for 2 months
<sneek>This system has been up 43 weeks, 5 days, 21 hours, 54 minutes
<apteryx>old: I've tried 'perf record' then 'perf report'. It tells me most time was spent in libgc or libguile
<old>apteryx: What about syscall? Have you tried strace?
<apteryx>this is gdb and perf's output: https://paste.debian.net/1306145/
<old>nothing out of the ordinary with perf
<old>does the thread ever quit scm_reverse (frame #0)?
<old>if you have a reproducer with Guix, I could try to debug it from my gdb
<apteryx>you could build the wip-cu-switch-to-pkgconf branch from the guix repo
<apteryx>and try './pre-inst-env guix build anything'
<apteryx>e.g. './pre-inst-env guix build hello'
<old>what's the environment you use for building Guix?
<apteryx>pretty much 'guix shell -D guix'
<old>I use: guix shell --pure -D guix guile
<old>okay
<old>I'm compilining stuff
<old>brb
<apteryx>the strace looks like https://paste.debian.net/1306147/