This is another example which is hard to reproduce. If you run make testmanuals
, the log in dev/log
directory shows reproducible segfaults at same chapters each time. However, trying to extract examples to run them using Test
, even with assertion level 2, does not trigger the bug at all.
Finally, I've found a way to reproduce it. Workspace is involved. Create a test file bug.tst
with the following lines:
gap> s8 := Group( (1,2), (1,2,3,4,5,6,7,8) );
Group([ (1,2), (1,2,3,4,5,6,7,8) ])
gap> a8 := DerivedSubgroup( s8 );
Group([ (1,2,3), (2,3,4), (2,4)(3,5), (2,6,4), (2,4)(5,7),
(2,8,6,4)(3,5) ])
gap> IsNaturalAlternatingGroup(a8);
true
gap> a8;
Alt( [ 1 .. 8 ] )
gap> syl2 := SylowSubgroup( a8, 2 );; Size( syl2 );
64
gap> Normalizer( a8, syl2 ) = syl2;
true
gap> Test("~/Desktop/bug.tst");
Segmentation fault: 11