-
Notifications
You must be signed in to change notification settings - Fork 22
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
Assertion on upcoming 1.6 when running tests #560
Comments
Probably caused by our use of external types and the GC extension API, though I am worried that the gcext tests in Julia didn't catch it? Also out tests here on Github Actions pass on Julia nightly (or at least did the last time they run; perhaps it is a recent regression). Anyway, I'll look into it (and the relevant Julia kernel sources and git history) when I am again at a computer. Perhaps @rbehrends has an idea what might be going on. |
These likely don't run with Julia assertions enabled. |
I'll have to give this a look. However, I'll note that what looks like a GC issue often is some form of memory corruption that is simply detected because the GC traverses the entire object graph regularly. The mark loop will generally crash if the header word of an object has been somehow corrupted, which can easily happen through e.g. a buffer overflow or a bad index. It can still be a GC issue, but it should not automatically be assumed that this is the case. |
Looking at it more closely, the assertion appears to be wrong. I haven't yet figured out the intent of the assertion, but checking that
The code is from this commit. The assertion itself is specifically triggered by a GAP type, which has |
Perhaps you could open an issue in the julia repo with what you described here? |
Opening an issue is the plan, but I'm first trying to work out what the overall intent of the commit is. If I can't, I'll just write up what I have, but the more concrete info and context I can provide, the more likely it's going to be dealt with quickly. |
The commit comes from PR JuliaLang/julia#33724 by @vtjnash ; I think just asking him what the rationale behind the assertion was might be faster and more accurate? Actually, the relevant commit in that PR was authored by @carnaval it seems, but I am not sure where that came from. |
I have opened an issue for the problem. |
@KristofferC there is a fix now at JuliaLang/julia#38510 |
The fix was merged to Julia. |
This package asserts on the upcoming 1.6 (https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c3bb6df_vs_599ecd8/GAP.1.6.0-DEV-fe2d71bc7f.build-3d16cc1ee71b7eb9.log)
I don't know if it is the fault of the package or something regressed in Julia.
The text was updated successfully, but these errors were encountered: