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

Intermittently hitting an assert #302

Closed
lamorton opened this issue Sep 27, 2022 · 1 comment
Closed

Intermittently hitting an assert #302

lamorton opened this issue Sep 27, 2022 · 1 comment

Comments

@lamorton
Copy link

Twice when I've pushed new changes (latest example) to my PR in ModelingToolkit, I've gotten the following failure during SnoopCompile:

Run julia --project -e 'using SnoopCompileCore; invalidations = @snoopr begin using ModelingToolkit end; using SnoopCompile; inv_owned = length(filtermod(ModelingToolkit, invalidation_trees(invalidations))); inv_total = length(uinvalidated(invalidations)); inv_deps = inv_total - inv_owned; @show inv_total, inv_deps; println("::set-output name=total::$(inv_total)");  println("::set-output name=deps::$(inv_deps)")'
ERROR: AssertionError: leaf !== nothing
Stacktrace:
 [1] invalidation_trees(list::Vector{Any}; exclude_corecompiler::Bool)
   @ SnoopCompile ~/.julia/packages/SnoopCompile/TtLwA/src/invalidations.jl:351
 [2] invalidation_trees(list::Vector{Any})
   @ SnoopCompile ~/.julia/packages/SnoopCompile/TtLwA/src/invalidations.jl:288
 [3] top-level scope
   @ none:1
Error: Process completed with exit code 1.

I tried running this on my machine & didn't reproduce the error. It also seems to come & go in the runs on Github Actions.

@timholy
Copy link
Owner

timholy commented Jan 10, 2023

It seems quite likely this has been fixed (#315 (comment)). Feel free to reopen if you can reproduce it.

@timholy timholy closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants