process hangs when building hyperdoc pages in parallel

14 views
Skip to first unread message

Qian Yun

unread,
Apr 28, 2026, 6:57:02 PMApr 28
to fricas-devel
I wonder if you have experienced that build process hangs
when building hyperdoc pages in parallel.

I can reproduce it around 50% chance on my machine if
build with -j8. Less chance if -j4 or -j6.

This almost never happens on github runners (-j4) before,
but it happens a few times in the last few days.
So I'd like to resolve the root issue of it.

Any pointers where I should look into first?

- Qian

Grégory Vanuxem

unread,
Apr 29, 2026, 2:57:00 AMApr 29
to fricas...@googlegroups.com
Hello Qian,

Have you tried without --output-sync? Personally I never use it on my machine and if memory does not deserve me I also never encounter this. I use this make option on GitHub workflows since you use it (I didn't know this option).

Just my two cents,

Greg

--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/879dff3b-a273-4ea3-abb0-e8577bc69188%40gmail.com.

Qian Yun

unread,
May 2, 2026, 1:43:11 AMMay 2
to fricas-devel
Uhh. It is caused by xvfb-run, not some race condition
between sman/hyperdoc/graphics.

My system comes with a very old version of xvfb-run.
It contains this line:

sleep "$STARTWAIT"

I think that when multiple xvfb servers are launched,
they may not get ready with in "$STARTWAIT" (default is 3 seconds).

Newer versions of xvfb-run use different method to detect
when xvfb is ready.

- Qian

Grégory Vanuxem

unread,
May 4, 2026, 12:40:07 PMMay 4
to fricas...@googlegroups.com
Oh, ok, I was wrong. I do not personally use xvfb, it reminds me of
when I was post-student and it was funny to use it with "real" TTY
(Ctrl-Alt-F2, CTRL-Alt-F3 etc...). We are in 2026 after all. BTW good
that you have found the root of the problem, you usually awesome me.

Greg (sincerely),

- Greg
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/7fabd340-8aba-42d1-8679-0795bb0559a0%40gmail.com.
Reply all
Reply to author
Forward
0 new messages