I eventually checked. You are requesting a lexicographic Groebner basis, but since it's much slower than reverse lex. ordering, Giac tries first revlex ordering, because if the ideal is 0 dimensional it would call FGLM. The revlex basis computation is fast (about 2 seconds on my PC) but the ideal is not 0 dimensional. Then we are back to lex ordering for 806 generators, 67 variables, and total degree of the generators varying from 2 to 4.
Running with export GIAC_DEBUG=2 gives some insightfull informations. There is indeed a bug inside the lexicographic ordering routine. This ordering bug is now fixed.
Of course there might be other bugs, since nobody really tried lex ordering with such a large number of variables, but it's hard to know, I stopped the computation in a reduction of a polynomial with 15327 monomials over a list of 76 polynomials (including some with more than 10 000 monomials). Unless there are simplifications (which I doubt since the first
element of the revlex basis has 842 terms), I would not be surprised to
see that the lex computation would take years or more (moreover, it's done using plain Buchberger, not F4...)
BTW, I also checked, there is no limit on the number of variables, for large number of variables, the monomials are dynamically allocated. There is a limit on the total degree: it should not be larger than 2^14.
I don't want to add a general limit on the number of variables, as it works here for revlex. Maybe it would make sense for lex ordering, but where ?