-
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
problem with Documenter in packages depending on GAP.jl #337
Comments
I do not have a line called https://github.com/homalg-project/HomalgProject.jl I use |
@ThomasBreuer nope; but perhaps you can link to the repository with the problematic code? Also, which version of Julia / GAP.jl / etc. is that, and on what OS/arch? Slightly offtopic, but: I also am hoping that @ThomasBreuer and @frankluebeck will setup Documenter for GAP.jl itself, too. Doing that would likely trigger the same issue, so if somebody sets up a PR with this, then I'd be happy to debug the issue based on that code. |
So I set up some minimal Documenter.jl integration for GAP.jl, and with that can indeed reproduce a crash. I get this backtrace:
Note that at the top of the call stack, it messes around with subtypes and supertypes... So my suspicion is that our "foreign type" In the very worst case, my "swizzle the super type" hack is cause of the problem, but I don't think that's very likely, given that here we start GAP from Julia, so no swizzling should happen. Anyway, CC to @rbehrends in case he has a quick idea. |
Ah, of course: we now are not setting any super type for our bag types, but all types are supposed to have a super type. This will require a fix in the GAP kernel. I'll open a PR for that right away. |
For a Julia package that depends on
GAP.jl
, I have created the setup for generating documentation withDocumenter.jl
, as described at https://juliadocs.github.io/Documenter.jl/stable/man/guide.When the function
makedocs
gets called (in the filemake.jl
), I get a segmentation fault.This crash disappears as soon as the
using GAP
statement is removed from the package in question.Can anybody else reproduce this problem?
The text was updated successfully, but these errors were encountered: