Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releasing GAP.jl 0.13.0 #1114

Closed
4 tasks done
fingolfin opened this issue Jan 6, 2025 · 13 comments · Fixed by #1121
Closed
4 tasks done

Releasing GAP.jl 0.13.0 #1114

fingolfin opened this issue Jan 6, 2025 · 13 comments · Fixed by #1121

Comments

@fingolfin
Copy link
Member

fingolfin commented Jan 6, 2025

What do we need for releasing GAP.jl 0.13.0 ?

  • merge PR Add GAP distro tests #1067
  • try to use Oscar.jl with new GAP.jl to look out for serious issues we need to address first?
    - a full PR adapting Oscar.jl can come later, but it would be nice to know it is possible, instead of having to first release 0.13.1. Then again, that won't kill us either

Anything else, @ThomasBreuer @lgoettgens ?

We could also go for "only load a minimal set of packages" / "no packages" (that was my original plan). But that's another biggish change, so perhaps it is better to not do this now, but try it for 0.14.0 which could come quickly after 0.13.0 ?

Other things that would be nice but are not necessary from my POV:

@lgoettgens
Copy link
Member

@ThomasBreuer
Copy link
Member

I can add GAP.versioninfo() as described in #1082.

@lgoettgens
Copy link
Member

try to use Oscar.jl with new GAP.jl to look out for serious issues we need to address first?

  • a full PR adapting Oscar.jl can come later, but it would be nice to know it is possible, instead of having to first release 0.13.1. Then again, that won't kill us either

See oscar-system/Oscar.jl#4421 for Oscar CI running with GAP.jl master (and a patched Hecke). There are various compilation errors, but I hope that these vanish once #1116 is merged. Anyway, let me copy-paste them here:

  • julia 1.6, short, Linux: /home/oscarci-tester/oscar-runners/runner-11/_work/_tool/julia/1.6.7/x64/bin/julia: symbol lookup error: /home/oscarci-tester/oscar-runners/runner-11/julia/packages/GAP/AIBfO/pkg/JuliaInterface/bin/x86_64-pc-linux-gnu-julia1.6-64-kv9/JuliaInterface.so: undefined symbol: InitGapSync log
  • julia 1.6, long, Linux: /home/oscarci-tester/oscar-runners/runner-10/julia/scratchspaces/c863536a-3901-11e9-33e7-d5cd0df7b904/gap_15608047018745188702-1.6/gac: 126: -MQ: not found log
  • julia 1.11, long, Linux: InitError: could not load library "/home/oscarci-tester/oscar-runners/runner-01/julia/packages/GAP/AIBfO/pkg/JuliaInterface/bin/x86_64-pc-linux-gnu-julia1.11-64-kv9/JuliaInterface.so" /home/oscarci-tester/oscar-runners/runner-01/julia/packages/GAP/AIBfO/pkg/JuliaInterface/bin/x86_64-pc-linux-gnu-julia1.11-64-kv9/JuliaInterface.so: file too short (log)[https://github.com/oscar-system/Oscar.jl/actions/runs/12651718184/job/35252910645?pr=4421#step:11:314]
  • julia nightly, long, Linux: gen/src/sync.o: file not recognized: file format not recognized log

I re-started the 1.10-book job after it spent around 50 min in the cornerstones/groups chapter. There seems to be some weirdness with GC, as there is a 700000ms (around 11 minutes) GC pause in https://github.com/oscar-system/Oscar.jl/actions/runs/12651718184/job/35252911210?pr=4421#step:11:262.

@lgoettgens
Copy link
Member

lgoettgens commented Jan 7, 2025

The re-run of oscar-system/Oscar.jl#4421 after #1116 got merged looks mostly fine. The failures are jobs that haven't picked up a new registry version or that haven't been patched (and thus try to use GAP.jl 0.12.x).

The only problem are the book tests. Still in the rerun, the cornerstones/groups chapter (more specifically the intro.jlcon file already needs about 60 minutes, which is way more than with GAP.jl 0.12.x, and had multiple GC pauses with more than 300sec.

@benlorenz
Copy link
Member

benlorenz commented Jan 7, 2025

      From worker 2:	GC: pause 880.84ms. collected 1500.000610MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 317.44ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 935.27ms. collected 1000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 315.56ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1287.90ms. collected 1000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 312.96ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1085.64ms. collected 2000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 343.57ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1172.47ms. collected 2000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 1031.06ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1417.19ms. collected 3000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 569.54ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1552.34ms. collected 4000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 552.15ms. collected 0.000000MB. full 
      From worker 2:	
      From worker 2:	GC: pause 2316.42ms. collected 4000.000244MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 450.28ms. collected 23.445694MB. full 
      From worker 2:	
      From worker 2:	GC: pause 710.73ms. collected 20023.444153MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 66.75ms. collected 23.437866MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 73.50ms. collected 281.251221MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 102.98ms. collected 375.000610MB. incr 
      From worker 2:	
      From worker 2:	GC: pause 400.08ms. collected 375.000366MB. full 
      From worker 2:	
      From worker 2:	GC: pause 967.56ms. collected 398.437988MB. full 
      From worker 2:	
      From worker 2:	GC: pause 918.47ms. collected 500.000244MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1334.04ms. collected 500.000244MB. full 
      From worker 2:	
      From worker 2:	GC: pause 995.55ms. collected 500.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1008.11ms. collected 500.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1031.84ms. collected 500.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1033.00ms. collected 500.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1428.06ms. collected 500.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1157.68ms. collected 1000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1218.69ms. collected 1000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1240.10ms. collected 1000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1285.70ms. collected 1000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1427.60ms. collected 1000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1493.58ms. collected 2000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1573.73ms. collected 2000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1642.08ms. collected 2000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1722.77ms. collected 2000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 2382.91ms. collected 2000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 179269.44ms. collected 4000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 124672.13ms. collected 4000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 702567.53ms. collected 4000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 300235.05ms. collected 4000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 1125792.57ms. collected 4000.000122MB. full 
      From worker 2:	
      From worker 2:	GC: pause 60175.47ms. collected 40375.125168MB. full 

The garbage collections look very weird, these are huge amounts, and always very even numbers (from this log for the book-tests https://github.com/oscar-system/Oscar.jl/actions/runs/12653712200/job/35259830194#step:11:1023).

@fingolfin
Copy link
Member Author

The hang comes from describe, specifically this extract of intro.jlcon (edited to remove superfluous bits):

julia> F = free_group(:a, :b, :c); a,b,c = gens(F);

julia> H, _ = quo(F, [a^2, b^2, c^2, (a*b)^3, (a*c)^3, (b*c)^3])
(Finitely presented group, Hom: F -> H)

julia> describe(H)
"a finitely presented group"

The describe(H) hangs on this branch, inside of IsomorphismPermGroupOrFailFpGroup, specifically here:

   if !has_is_finite(G)
      # try to obtain an isomorphic permutation group, but don't try too hard
#TODO: With GAP 4.13.0, the prescribed bound 100000 will cause a test failure.
#      This regression will hopefully be fixed in GAP 4.13.1,
#      see https://github.com/gap-system/gap/issues/5697
#      and https://github.com/gap-system/gap/pull/5698.
#     iso = GAP.Globals.IsomorphismPermGroupOrFailFpGroup(GapObj(G), 100000)::GapObj
      iso = GAP.Globals.IsomorphismPermGroupOrFailFpGroup(GapObj(G))::GapObj  # <- HANGS here
      iso != GAP.Globals.fail && return describe(PermGroup(GAPWrap.Range(iso)))
   elseif is_finite(G)

I also tried using the version with limit 100000 but it still hangs. I also tried with limit 1000 and it still hangs.

@fingolfin
Copy link
Member Author

A fix for the hang is in gap-system/gap#5900 which we could cherry-pick. I'll also mark it for backporting to GAP 4.14.1.

@lgoettgens
Copy link
Member

We now got a segfault during GC in the book tests, see https://github.com/oscar-system/Oscar.jl/actions/runs/12692064905/job/35376564890?pr=4421#step:11:547.

From worker 2:	cornerstones/groups
      From worker 2:	  created mockrepl: Main.__244
      From worker 2:	
      From worker 2:	GC: pause 131.04ms. collected 383.460111MB. incr 
      From worker 2:	┌ Warning: Module Oscar with build ID fafbfcfd-dc3c-57b6-000d-e19dd5b1cb4d is missing from the cache.
      From worker 2:	│ This may mean Oscar [f1435218-dba5-11e9-1e4d-f1a5fab5fc13] does not support precompilation but is imported by a module that does.
      From worker 2:	└ @ Base loading.jl:2011
      From worker 2:	      done with aux
      From worker 2:	    intro.jlcon
      From worker 2:	
      From worker 2:	GC: pause 89.47ms. collected 589.788575MB. incr 
      From worker 2:	
      From worker 2:	[2598208] signal (11.1): Segmentation fault
      From worker 2:	in expression starting at REPL[47]:1
      From worker 2:	gc_setmark_pool_ at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:875 [inlined]
      From worker 2:	gc_setmark_pool at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:895 [inlined]
      From worker 2:	gc_setmark at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:902 [inlined]
      From worker 2:	gc_mark_outrefs at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:2617 [inlined]
      From worker 2:	gc_mark_loop_serial_ at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:2690
      From worker 2:	gc_mark_loop_serial at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:2713
      From worker 2:	gc_mark_loop at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:2894 [inlined]
      From worker 2:	_jl_gc_collect at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:3227
      From worker 2:	ijl_gc_collect at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:3524
      From worker 2:	maybe_collect at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:937 [inlined]
      From worker 2:	jl_gc_big_alloc_inner at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:1008 [inlined]
      From worker 2:	jl_gc_big_alloc_noinline at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:1045 [inlined]
      From worker 2:	jl_gc_alloc_ at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/julia_internal.h:483 [inlined]
      From worker 2:	jl_gc_alloc at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gc.c:3576
      From worker 2:	AllocateBagMemory at /workspace/srcdir/gap-4.14.0/src/julia_gc.c:255
      From worker 2:	ResizeBag at /workspace/srcdir/gap-4.14.0/src/julia_gc.c:1031
      From worker 2:	GROW_PLIST at /workspace/srcdir/gap-4.14.0/src/plist.h:120 [inlined]
      From worker 2:	ExecAssList at /workspace/srcdir/gap-4.14.0/src/vars.c:499
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecForRangeHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:540 [inlined]
      From worker 2:	ExecForRange2 at /workspace/srcdir/gap-4.14.0/src/stats.c:555
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecWhileHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:674 [inlined]
      From worker 2:	ExecWhile2 at /workspace/srcdir/gap-4.14.0/src/stats.c:693
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat7 at /workspace/srcdir/gap-4.14.0/src/stats.c:190
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:488
      From worker 2:	CALL_3ARGS at /workspace/srcdir/gap-4.14.0/src/calls.h:321 [inlined]
      From worker 2:	EvalOrExecCall at /workspace/srcdir/gap-4.14.0/src/funcs.c:153 [inlined]
      From worker 2:	EvalFunccallOpts at /workspace/srcdir/gap-4.14.0/src/funcs.c:276
      From worker 2:	EVAL_EXPR at /workspace/srcdir/gap-4.14.0/src/exprs.h:98 [inlined]
      From worker 2:	ExecReturnObj at /workspace/srcdir/gap-4.14.0/src/stats.c:964
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat4 at /workspace/srcdir/gap-4.14.0/src/stats.c:175
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc3args at /workspace/srcdir/gap-4.14.0/src/funcs.c:500
      From worker 2:	CALL_3ARGS at /workspace/srcdir/gap-4.14.0/src/calls.h:321 [inlined]
      From worker 2:	EvalOrExecCall at /workspace/srcdir/gap-4.14.0/src/funcs.c:153 [inlined]
      From worker 2:	EvalFunccallOpts at /workspace/srcdir/gap-4.14.0/src/funcs.c:276
      From worker 2:	EVAL_EXPR at /workspace/srcdir/gap-4.14.0/src/exprs.h:98 [inlined]
      From worker 2:	ExecAssLVar at /workspace/srcdir/gap-4.14.0/src/vars.c:141
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat7 at /workspace/srcdir/gap-4.14.0/src/stats.c:190
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:488
      From worker 2:	CALL_1ARGS at /workspace/srcdir/gap-4.14.0/src/calls.h:311 [inlined]
      From worker 2:	EvalOrExecCall at /workspace/srcdir/gap-4.14.0/src/funcs.c:147 [inlined]
      From worker 2:	EvalFunccall1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:303
      From worker 2:	EVAL_EXPR at /workspace/srcdir/gap-4.14.0/src/exprs.h:98 [inlined]
      From worker 2:	ExecAssLVar at /workspace/srcdir/gap-4.14.0/src/vars.c:141
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat4 at /workspace/srcdir/gap-4.14.0/src/stats.c:175
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecWhileHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:674 [inlined]
      From worker 2:	ExecWhile at /workspace/srcdir/gap-4.14.0/src/stats.c:688
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat7 at /workspace/srcdir/gap-4.14.0/src/stats.c:190
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc2args at /workspace/srcdir/gap-4.14.0/src/funcs.c:494
      From worker 2:	CALL_2ARGS at /workspace/srcdir/gap-4.14.0/src/calls.h:316 [inlined]
      From worker 2:	EvalOrExecCall at /workspace/srcdir/gap-4.14.0/src/funcs.c:150 [inlined]
      From worker 2:	EvalFunccall2args at /workspace/srcdir/gap-4.14.0/src/funcs.c:308
      From worker 2:	EVAL_EXPR at /workspace/srcdir/gap-4.14.0/src/exprs.h:98 [inlined]
      From worker 2:	ExecAssLVar at /workspace/srcdir/gap-4.14.0/src/vars.c:141
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat4 at /workspace/srcdir/gap-4.14.0/src/stats.c:175
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:488
      From worker 2:	CALL_1ARGS at /workspace/srcdir/gap-4.14.0/src/calls.h:311 [inlined]
      From worker 2:	EvalOrExecCall at /workspace/srcdir/gap-4.14.0/src/funcs.c:147 [inlined]
      From worker 2:	EvalFunccall1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:303
      From worker 2:	EVAL_EXPR at /workspace/srcdir/gap-4.14.0/src/exprs.h:98 [inlined]
      From worker 2:	ExecAssLVar at /workspace/srcdir/gap-4.14.0/src/vars.c:141
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat2 at /workspace/srcdir/gap-4.14.0/src/stats.c:165
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat at /workspace/srcdir/gap-4.14.0/src/stats.c:160
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	ExecSeqStatHelper at /workspace/srcdir/gap-4.14.0/src/stats.c:147 [inlined]
      From worker 2:	ExecSeqStat7 at /workspace/srcdir/gap-4.14.0/src/stats.c:190
      From worker 2:	EXEC_STAT at /workspace/srcdir/gap-4.14.0/src/stats.c:55 [inlined]
      From worker 2:	EXEC_CURR_FUNC at /workspace/srcdir/gap-4.14.0/src/stats.c:61
      From worker 2:	DoExecFunc at /workspace/srcdir/gap-4.14.0/src/funcs.c:467 [inlined]
      From worker 2:	DoExecFunc1args at /workspace/srcdir/gap-4.14.0/src/funcs.c:488
      From worker 2:	_call_gap_func at /home/oscarci-tester/oscar-runners/runner-05/julia/packages/GAP/1Pl0S/src/ccalls.jl:343 [inlined]
      From worker 2:	GapObj at /home/oscarci-tester/oscar-runners/runner-05/julia/packages/GAP/1Pl0S/src/ccalls.jl:320
      From worker 2:	unknown function (ip: 0x7f0b112dd655)
      From worker 2:	_jl_invoke at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
      From worker 2:	ijl_apply_generic at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:3077
      From worker 2:	describe at /home/oscarci-tester/oscar-runners/runner-05/_work/Oscar.jl/Oscar.jl/src/Groups/GAPGroups.jl:2[536](https://github.com/oscar-system/Oscar.jl/actions/runs/12692064905/job/35376564890?pr=4421#step:11:540)
      From worker 2:	unknown function (ip: 0x7f0acd558bc5)
      From worker 2:	_jl_invoke at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
      From worker 2:	ijl_apply_generic at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:3077
      From worker 2:	jl_apply at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
      From worker 2:	do_call at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/interpreter.c:126
      From worker 2:	eval_value at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/interpreter.c:223
      From worker 2:	eval_stmt_value at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/interpreter.c:174 [inlined]
      From worker 2:	eval_body at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/interpreter.c:617
      From worker 2:	jl_interpret_toplevel_thunk at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/interpreter.c:775
      From worker 2:	jl_toplevel_eval_flex at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/toplevel.c:934
      From worker 2:	jl_toplevel_eval_flex at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/toplevel.c:877
      From worker 2:	ijl_toplevel_eval_in at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/toplevel.c:985
      From worker 2:	eval at ./boot.jl:385 [inlined]
      From worker 2:	eval_user_input at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
      From worker 2:	repl_backend_loop at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
      From worker 2:	#start_repl_backend#46 at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
      From worker 2:	start_repl_backend at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:228
      From worker 2:	_jl_invoke at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
      From worker 2:	ijl_apply_generic at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:3077
      From worker 2:	#run_repl#59 at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
      From worker 2:	run_repl at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375 [inlined]
      From worker 2:	run_repl at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375 [inlined]
      From worker 2:	#35 at /home/oscarci-tester/oscar-runners/runner-05/_work/Oscar.jl/Oscar.jl/test/book/test.jl:144
      From worker 2:	unknown function (ip: 0x7f0aec39bf22)
      From worker 2:	_jl_invoke at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
      From worker 2:	ijl_apply_generic at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/gf.c:3077
      From worker 2:	jl_apply at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
      From worker 2:	start_task at /cache/build/tester-amdci4-10/julialang/julia-release-1-dot-10/src/task.c:1256
      From worker 2:	Allocations: 458981760 (Pool: 458[542](https://github.com/oscar-system/Oscar.jl/actions/runs/12692064905/job/35376564890?pr=4421#step:11:546)392; Big: 439368); GC: 89

Maybe the GC patch you removed in JuliaPackaging/Yggdrasil#10224 is still needed?

@benlorenz
Copy link
Member

There is also a GC corruption in the 1.10 long tests without experimental:

2025-01-09T14:57:16.8443929Z Starting tests for /home/runner/work/Oscar.jl/Oscar.jl/test/AlgebraicGeometry/Schemes/CoveredScheme.jl
2025-01-09T14:57:20.7772255Z 
2025-01-09T14:57:20.7773903Z GC: pause 96.06ms. collected 445.733552MB. incr 
2025-01-09T14:57:38.0255841Z 
2025-01-09T14:57:38.0256529Z GC: pause 129.74ms. collected 892.846260MB. incr 
2025-01-09T14:57:49.7313617Z 
2025-01-09T14:57:49.7314373Z GC: pause 121.50ms. collected 845.893181MB. incr 
2025-01-09T14:57:56.1514332Z 
2025-01-09T14:57:56.1514974Z GC: pause 97.24ms. collected 391.450691MB. incr 
2025-01-09T14:58:03.2119109Z 
2025-01-09T14:58:03.2119720Z GC: pause 63.69ms. collected 433.898285MB. incr 
2025-01-09T14:58:09.3409087Z 
2025-01-09T14:58:09.3409785Z GC: pause 82.54ms. collected 448.518631MB. incr 
2025-01-09T14:58:15.2039241Z 
2025-01-09T14:58:15.2040393Z GC: pause 69.26ms. collected 436.981079MB. incr 
2025-01-09T14:58:20.1623268Z 
2025-01-09T14:58:20.1624018Z GC: pause 77.20ms. collected 423.373940MB. incr 
2025-01-09T14:58:24.4397063Z 
2025-01-09T14:58:24.4397590Z GC: pause 107.49ms. collected 340.403160MB. incr 
2025-01-09T14:58:27.5181832Z 
2025-01-09T14:58:27.5182412Z GC: pause 147.19ms. collected 359.938919MB. incr 
2025-01-09T14:58:30.5356034Z 
2025-01-09T14:58:30.5356697Z GC: pause 170.19ms. collected 483.267464MB. incr 
2025-01-09T14:58:33.6161771Z 
2025-01-09T14:58:33.6162357Z GC: pause 244.85ms. collected 598.045303MB. full 
2025-01-09T14:58:36.3500263Z 
2025-01-09T14:58:36.3501088Z GC: pause 857.21ms. collected 619.595200MB. full 
2025-01-09T14:58:40.6302204Z 
2025-01-09T14:58:40.6302746Z GC: pause 667.11ms. collected 689.198191MB. incr 
2025-01-09T14:58:45.1932977Z GC error (probable corruption)
2025-01-09T14:58:45.1933686Z Allocations: 361876837 (Pool: 361585097; Big: 291740); GC: 95
2025-01-09T14:58:45.1934336Z GAP.GapObj()

From https://github.com/oscar-system/Oscar.jl/actions/runs/12692064898/job/35376536231?pr=4421 (I recommend opening this log in raw format).
I haven't seen such errors in quite a while.

@lgoettgens

This comment was marked as outdated.

@lgoettgens
Copy link
Member

We now have a failure in cornerstones/groups/actions.jlcon, see https://github.com/oscar-system/Oscar.jl/actions/runs/12696459078/job/35392065110#step:11:637

      From worker 7:	  julia> gset(alternating_group(4))
      From worker 7:	  G-set of
      From worker 7:	    Alt(4)
      From worker 7:	    with seeds 1:4
      From worker 7:	  
      From worker 7:	  julia> G = dihedral_group(6);
      From worker 7:	  
      From worker 7:	  julia> U = sub(G, [g for g in gens(G) if order(g) == 2])[1]
      From worker 7:	  Sub-pc group of order 2
      From worker 7:	  
      From worker 7:	  julia> r = right_cosets(G, U)
      From worker 7:	  Right cosets of
      From worker 7:	    sub-pc group of order 2 in
      From worker 7:	    pc group of order 6
      From worker 7:	  
      From worker 7:	  julia> acting_group(r)
      From worker 7:	  Pc group of order 6
      From worker 7:	  
      From worker 7:	  julia> collect(r)
      From worker 7:	  3-element Vector{GroupCoset{PcGroup, SubPcGroup, PcGroupElem}}:
      From worker 7:	   Right coset of U with representative <identity> of ...
      From worker 7:	   Right coset of U with representative f2
      From worker 7:	   Right coset of U with representative f2^2
      From worker 7:	  
      From worker 7:	  julia> action_function(r)
      From worker 7:	  * (generic function with 
      From worker 7:	  
      From worker 7:	  julia> permutation(r, G[1])
      From worker 7:	  (2,3)
      From worker 7:	  
      From worker 7:	  julia> phi = right_coset_action(G,U)
      From worker 7:	  Group homomorphism
      From worker 7:	    from pc group of order 6
      From worker 7:	    to permutation group of degree 3 and order 6
      From worker 7:	  
      From worker 7:	  julia> phi(G[1]), phi(G[2])
      From worker 7:	  ((2,3), (1,2,3))
      From worker 7:	  
      From worker 7:	  julia> function optimal_transitive_perm_rep(G)
      From worker 7:	    is_natural_symmetric_group(G) && return hom(G,G,gens(G))
      From worker 7:	    is_natural_alternating_group(G) && return hom(G,G,gens(G))
      From worker 7:	    cand = []  # pairs (U,h) with U ≤ G and h a map G -> Sym(G/U)
      From worker 7:	    for C in subgroup_classes(G)
      From worker 7:	      U = representative(C)
      From worker 7:	      h = right_coset_action(G, U)
      From worker 7:	      is_injective(h) && push!(cand, (U, h))
      From worker 7:	    end
      From worker 7:	    return argmax(a -> order(a[1]), cand)[2]
      From worker 7:	  end;
      From worker 7:	  
      From worker 7:	  julia> U = dihedral_group(8)
      From worker 7:	  Pc group of order 8
      From worker 7:	  
      From worker 7:	  julia> optimal_transitive_perm_rep(U)
      From worker 7:	  Group homomorphism
      From worker 7:	    from pc group of order 8
      From worker 7:	    to permutation group of degree 4 and order 8
      From worker 7:	  
      From worker 7:	  julia> isomorphism(PermGroup, U)
      From worker 7:	  Group homomorphism
      From worker 7:	    from pc group of order 8
      From worker 7:	    to permutation group of degree 4 and order 8
      From worker 7:	  
      From worker 7:	  julia> permutation_group(U)
      From worker 7:	  Permutation group of degree 4 and order 8
      From worker 7:	  
      From worker 7:	  julia> for g in all_transitive_groups(degree => 3:8, !is_primitive)
      From worker 7:	    h = image(optimal_transitive_perm_rep(g))[1]
      From worker 7:	    if degree(h) < degree(g)
      From worker 7:	      id = transitive_group_identification(g)
      From worker 7:	      id_new = transitive_group_identification(h)
      From worker 7:	      println(id => id_new)
      From worker 7:	    end
      From worker 7:	  end
      From worker 7:	- (6, 2) => (3, 2)
      From worker 7:	- (6, 4) => (4, 4)
      From worker 7:	- (6, 7) => (4, 5)
      From worker 7:	- (6, 8) => (4, 5)
      From worker 7:	- (8, 4) => (4, 3)
      From worker 7:	- (8, 13) => (6, 6)
      From worker 7:	- (8, 14) => (4, 5)
      From worker 7:	- (8, 24) => (6, 11)
      From worker 7:	+ ERROR: Error thrown by GAP: Error, <map> must be a general mapping at /home/oscarci-tester/oscar-runners/runner-09/julia/artifacts/3e5eaf57b15456d2ea7e646ffa3271782a55414a/share/gap/lib/mapping.gi:100 called from
      From worker 7:	+ Image( hom, G ) at /home/oscarci-tester/oscar-runners/runner-09/julia/artifacts/3e5eaf57b15456d2ea7e646ffa3271782a55414a/share/gap/lib/csetperm.gi:931 called from
      From worker 7:	+ DoFactorCosetActionPerm( G, U ) at /home/oscarci-tester/oscar-runners/runner-09/julia/artifacts/3e5eaf57b15456d2ea7e646ffa3271782a55414a/share/gap/lib/csetperm.gi:943 called from
      From worker 7:	+ <function \"FactorCosetAction by right transversal operation\">( <arguments> )
      From worker 7:	+  called from read-eval loop at *defin*:0
      From worker 7:	+ 
      From worker 7:	+ Stacktrace:
      From worker 7:	+  [1] error(s::String)
      From worker 7:	+    @ Base ./error.jl:35
      From worker 7:	+  [2] ThrowObserver(depth::Int32)
      From worker 7:	+    @ GAP ~/oscar-runners/runner-09/julia/packages/GAP/1Pl0S/src/GAP.jl:99
      From worker 7:	+  [3] _call_gap_func
      From worker 7:	+    @ ~/oscar-runners/runner-09/julia/packages/GAP/1Pl0S/src/ccalls.jl:356 [inlined]
      From worker 7:	+  [4] (::GapObj)(a1::GapObj, a2::GapObj)
      From worker 7:	+    @ GAP ~/oscar-runners/runner-09/julia/packages/GAP/1Pl0S/src/ccalls.jl:321
      From worker 7:	+  [5] FactorCosetAction
      From worker 7:	+    @ ~/oscar-runners/runner-09/_work/Oscar.jl/Oscar.jl/src/GAP/wrappers.jl:99 [inlined]
      From worker 7:	+  [6] right_coset_action(G::PermGroup, U::PermGroup)
      From worker 7:	+    @ Oscar ~/oscar-runners/runner-09/_work/Oscar.jl/Oscar.jl/src/Groups/action.jl:606
      From worker 7:	+  [7] optimal_transitive_perm_rep(G::PermGroup)
      From worker 7:	+    @ Main.__244 ./REPL[65]:7
      From worker 7:	+  [8] top-level scope
      From worker 7:	+    @ ./REPL[70]:2"""

@lgoettgens
Copy link
Member

We now have a failure in cornerstones/groups/actions.jlcon, see oscar-system/Oscar.jl/actions/runs/12696459078/job/35392065110#step:11:637

See gap-system/gap#5902 for the upstream report with a more minimal failing example

@lgoettgens
Copy link
Member

All 1.10 CI jobs of https://github.com/oscar-system/Oscar.jl/actions/runs/12725036717?pr=4421 now succeeded (including the book tests) 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants