-
Notifications
You must be signed in to change notification settings - Fork 161
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
Workaround for error #3055 and fix for GQuotient #3110
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3110 +/- ##
==========================================
- Coverage 83.57% 83.57% -0.01%
==========================================
Files 686 685 -1
Lines 336779 336512 -267
==========================================
- Hits 281461 281227 -234
+ Misses 55318 55285 -33
|
This is a bug that arises very rarely, maybe based on random selections. In this case restart calculations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd approve the changes, but the test in its current form does not seem suitable for merging.
# index. | ||
gap> F := FreeGroup("a", "b", "c");; | ||
gap> G := F/ParseRelators(F,"a2b5a2b2C2,a5c3B2");; | ||
gap> Length(GQuotients(G,AlternatingGroup(5))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests was running for several minutes on my machine, then run out of memory.
That's not acceptable for tst/testbugfix, whch we run as part of our CI on every pull request. It could be added to tst/testextra
, though (perhaps in a new dir tst/testextra/bugfix
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check. This example should run in under a second. Probably it is the assertions again...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @fingolfin
That is really strange. I just rebased the branch, recompiled and ran the file with Test
, and it took indeed under a second. Also, in the travis log I get
testing: /home/travis/build/gap-system/gap/tst/testbugfix/2018-12-17-gquotient.tst
923 ms (24 ms GC) and 28.7MB allocated for 2018-12-17-gquotient.tst
which is the same magnitude.
Is it possible that you are loading something else that interferes? Could it be the Julia issue Thomas was observing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not using Julia builds of GAP for my regular work, so no, that can't be it.
However, I cannot reproduce this anymore (with your branch). Not sure what went wrong...
This is a bug that arises very rarely, maybe based on random
selections. In this case restart calculations.
(The bug was reported in #3055)
Also fix for GQuotient running slow in certain cases of groups with infinite quotients.