Can you reprodce this?
We can see that 'spadclient' is taking 100% CPU.
Which is stange.
I'd like to see a "strace" output of this process.
- Qian
On 6/11/24 04:23, Ralf Hemmecke wrote:
Sorry, but I am still unhappy with Qian's stuff.
I just compiled with -j1 and it hangs here.
$tail -f /dev/shm/hemmecke/fricas/b/src/doc/tmp/ug07.spool
-- \end{TeXOutput}
-- \begin{MessageOutput}
Type:
TwoDimensionalViewport
-- \end{MessageOutput}
-- \end{xtcnooutput}
-- \includespadgraph{2DppcB}
-- \begin{xtcnooutput}
write(%, "tmp/2DppcB", "postscript"); close(%)
^C
and leaving the following processes (see below).
If this becomes the release, then we will ship a broken version that
only finishes compiling when you are lucky.
I try to investigate the patches now. Some seem acceptable, but I think
piping the generated (from .htex) .input files through fricas (i.e.
sman) instead of directly to FRICASsys causes all the problems with
hanging compilation or truncation of output.
Ralf
hemmecke 817003 0.0 0.0 10324 3712 pts/4 S+ 21:54 0:00
/bin/bash -c if grep "^write.*postscript" tmp/ug07.input; then \ ?(unset
DAASE; FRICAS=/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu; export
FRICAS; \ ??echo ')read tmp/ug07.input' | FRICAS_INITFILE='' xvfb-run -a
-s '-screen 0 1024x768x24' \
??/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/fricas -noht
-noclef > tmp/ug07.spool); \ else \ ?(unset DAASE;
FRICAS=/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu; export
FRICAS; \ ??echo ')read tmp/ug07.input' | FRICAS_INITFILE='' \
??/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/fricas -nosman
> tmp/ug07.spool); \ fi
hemmecke 817013 0.0 0.0 10324 1828 pts/4 S+ 21:54 0:00
/bin/bash -c if grep "^write.*postscript" tmp/ug07.input; then \ ?(unset
DAASE; FRICAS=/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu; export
FRICAS; \ ??echo ')read tmp/ug07.input' | FRICAS_INITFILE='' xvfb-run -a
-s '-screen 0 1024x768x24' \
??/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/fricas -noht
-noclef > tmp/ug07.spool); \ else \ ?(unset DAASE;
FRICAS=/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu; export
FRICAS; \ ??echo ')read tmp/ug07.input' | FRICAS_INITFILE='' \
??/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/fricas -nosman
> tmp/ug07.spool); \ fi
hemmecke 817018 0.0 0.0 2896 1792 pts/4 S+ 21:54 0:00
/bin/sh /usr/bin/xvfb-run -a -s -screen 0 1024x768x24
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/fricas -noht -noclef
hemmecke 817152 0.0 0.0 2828 1664 pts/4 S+ 21:54 0:00
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/sman -noht
-noclef -ws
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/FRICASsys
hemmecke 817160 0.0 0.2 24587916 75648 pts/10 Ssl+ 21:54 0:00
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/FRICASsys --
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/
hemmecke 817161 0.0 0.0 2820 1280 pts/4 S+ 21:54 0:00
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/lib/session
hemmecke 817162 99.7 0.0 2812 1408 pts/4 R+ 21:54 14:55
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/lib/spadclient
hemmecke 817163 0.0 0.0 4492 1920 pts/4 S+ 21:54 0:00
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/lib/viewman
hemmecke 817209 0.0 0.0 2828 644 pts/4 S+ 21:54 0:00
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/sman -noht
-noclef -ws
/dev/shm/hemmecke/fricas/b/target/x86_64-linux-gnu/bin/FRICASsys
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/c3cf2874-3fa3-4faa-ad4e-39dc3204c0d0%40gmail.com.