Segfault after installing a silly method for a synonym attribute #4340
Labels
kind: bug: crash
Issues describing bugs that cause GAP to crash, and PRs fixing them (used for release notes)
kind: bug
Issues describing general bugs, and PRs fixing them
In the current
master
andstable-4.11
branches, and in4.11.1
(I believe), I can cause a segfault in the following way:Calling
Wilson(SymmetricGroup(3));
instead on the final line also gives the a segfault.The specific group involved, and indeed even the use of
IsGroup
as the filter rather than some other object, doesn't seem to be important.Obviously I'm not using things correctly – the declaration as a synonym means that the line
InstallMethod(Wilson, [IsGroup], Wilf);
is completely unnecessary. But whatever the case, this shouldn't lead to a crash.This shows that it is most likely the redundant method installation that causes the problem:
Note that doing the method installation the other way round (i.e.
InstallMethod(Wilf, [IsGroup], Wilson);
) also gives the segfault.The text was updated successfully, but these errors were encountered: