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

segfault in xmodalg package tests in the master branch #2401

Closed
olexandr-konovalov opened this issue Apr 25, 2018 · 6 comments
Closed

segfault in xmodalg package tests in the master branch #2401

olexandr-konovalov opened this issue Apr 25, 2018 · 6 comments
Labels
topic: packages issues or PRs related to package handling, or specific to a package (for packages w/o issue tracker)

Comments

@olexandr-konovalov
Copy link
Member

This is a new failure observed in standard tests of the Browse package run in the Docker container for the master branch (built on 24th April): https://travis-ci.org/gap-system/gap-docker-pkg-tests-master/jobs/370829546

########> Diff in /home/gap/inst/gap-master/pkg/Browse/tst/test.tst:311
# Input is:
BrowseGapManuals( "inline/collapsed" );
# Expected output:
# But found:
Error, recursion depth trap (5000)
########

This happens when GAP is started with -A, or all packages are loaded. Tests pass with default packages loaded at GAP startup.

CC @frankluebeck

@olexandr-konovalov olexandr-konovalov added the topic: packages issues or PRs related to package handling, or specific to a package (for packages w/o issue tracker) label Apr 25, 2018
@olexandr-konovalov
Copy link
Member Author

For the record, in the same build, two other packages have other kinds of failures, may be related:

@olexandr-konovalov
Copy link
Member Author

@frankluebeck For Browse, I've restarted the test with the new container built this morning, and the problem disappeared.

@olexandr-konovalov
Copy link
Member Author

@bh11: The problem with irredsol also vanished in the new build.

@aodabas: xmodalg still segfaults when all packages are loaded: https://travis-ci.org/gap-system/gap-docker-pkg-tests-master/jobs/370829616

I will rename the issue to reflect the new state.

@olexandr-konovalov olexandr-konovalov changed the title Recursion depth trap in BrowseGapManuals segfault in xmodalg package tests in the master branch Apr 25, 2018
@cdwensley
Copy link
Contributor

cdwensley commented Apr 25, 2018

PR gap-packages/xmodalg#20 in XModAlg attempts to deal with this problem.

@fingolfin
Copy link
Member

If a package tests starts to segfault for a package that does not include a kernel extension, then in 99% of all cases, that's GAP's problem, not the packages: plain GAP code should not lead to a segfault, period, if it does, even if the package does something unusual, it's our (GAP's) fault. I'd make an exception for cases where they deliberately use a low-level, undocumented SNAKE_CASE function, but in all other cases, I blame GAP.

In this case, I wonder if the recent regression in GAP's master branch (see issue #2415) could be responsible for some of crashes?

@olexandr-konovalov
Copy link
Member Author

@fingolfin I think so - this is no longer happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: packages issues or PRs related to package handling, or specific to a package (for packages w/o issue tracker)
Projects
None yet
Development

No branches or pull requests

3 participants