-
Notifications
You must be signed in to change notification settings - Fork 49
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
invalidation_trees
AssertionError: leaf !== nothing
#315
Comments
invalidation_trees
Errorinvalidation_trees
AssertionError: leaf !== nothing
Got this too, for DynamicExpressions.jl (I'm also on 1.8.3 Julia; though on a mac M1 rather than linux) using SnoopCompile
invalidations = @snoopr begin
using DynamicExpressions
end;
trees = SnoopCompile.invalidation_trees(invalidations) Output:
|
Tried SnoopCompile 2.8.1, and get this instead:
|
I just realized this issue is a duplicate of #302 FYI |
Looks like #302 was solved in SciML/ModelingToolkit.jl#1821 somehow... @ChrisRackauckas @YingboMa @lamorton how did you end up solving it? Sounds like it is known to show up on at least FourierTools.jl, ModelingToolkit.jl, and DynamicExpressions.jl. |
@MilesCranmer not sure we did anything different. Like I said, it was intermittent, so could still be lurking. |
By intermittent, do you mean it randomly appears sometimes if you re-run the exact same code on same OS/dependencies/etc, or do you mean it shows up for certain combinations of dependencies? |
@MilesCranmer I wasn't able to reproduce it on my machine, and on Github it came and went between runs. IDK if the maintainers made any changes on the GH Actions. |
Thanks! Very weird bug. Luckily these ones FourierTools.jl and DynamicExpressions.jl seem to be locally reproducible, so maybe the bug can finally be tracked down. |
In my case it seemed to be reproducible, the couple of times I checked it. |
I never knew that existed so any fix was accidental. |
I'm having the same issue while tracking invalidations for Gridap.jl. Any progress on what might be going on? |
Not reproducible for me on SnoopCompile 2.9.7 and either Julia 1.8.4 or nightly. Can you still reproduce it? This package has had many changes and so has Julia. It's worth nothing that 1.8.4 backported some changes from 1.9 in how it handles and logs invalidations, so it's quite possible this is what fixed the bug. Let me know if you can reproduce this, otherwise I will close. |
Thanks @timholy. I can report that my issue on DynamicExpressions.jl went away on Julia 1.9.0-beta2 with SnoopCompile 2.9.7! Everything works smoothly now 🎉 |
Thanks @timholy. The issue has also been resolved on Gridap.jl using SnoopCompile 2.9.7 and Julia 1.8.5. Thanks to everybody who has been contributing to this! |
Thanks for the feedback! |
Hi,
not quite sure, what's going wrong but while testing this, I encountered this:
Is it my fault somewhere?
Thanks!
Felix
The text was updated successfully, but these errors were encountered: