-
Notifications
You must be signed in to change notification settings - Fork 42
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
Internal AssertionError: label > 0
when descending a method call
#523
Comments
This particular error has been resolved in the latest master branch. The root cause was associated with the |
By latest master branch do you mean of Cthulhu or of Julia? I just tried the master branch of Cthulhu and seems to get the same error unfortunately (on Julia 1.10-rc3). |
I meant the latest Julia itself. |
I see, thanks! |
Is there a workaround for those of us currently on 1.10 stable? Cthulhu is basically my no. 1 debugging tool at this point, so not being able to use it is quite an impediment. |
up |
Maybe these bugfixes to |
^I also think this is a good idea given Cthulhu is the only library even using it |
And the master branch is currently incompatible with VSCode (just tried), so this unfortunately isn't even a solution if you do want to switch to a nightly version 😢 |
In the meantime I've made a workaround here: #546 If you just depend on that branch for now, all you need is some code in |
Will be fixed in 2.11.1. |
Still having this issue in |
Okay, please let me know if you make up a MWE. |
This error should be (fully) fixed in 2.12.1 (hopefully). |
I'm seeing this weird internal assertion error when inspecting one of my method calls. Here is the current MWE. I'm setting up a search problem in SymbolicRegression and trying to descend the main search method:
This triggers the following error:
The function runs just fine, and I can also use
@code_warntype
just fine:Other relevant info:
When I test this on Julia 1.9.4, I get the same error, but with a different backtrace:
I'm not sure if it's relevant, but here is the method I'm trying to inspect:
https://github.com/MilesCranmer/SymbolicRegression.jl/blob/0becbf448201f933a8b097776ae57058e1837452/src/SymbolicRegression.jl#L335
of which the bulk of the code is from
https://github.com/MilesCranmer/SymbolicRegression.jl/blob/0becbf448201f933a8b097776ae57058e1837452/src/SymbolicRegression.jl#L563
(Maybe something jumps out at you from this.)
The text was updated successfully, but these errors were encountered: