Closed MilesCranmer closed 8 months ago
This particular error has been resolved in the latest master branch. The root cause was associated with the cfg_simplify!
pass, currently utilized only by Cthulhu. This feature has had a history of bugs, though recent fixes have addressed these issues. Considering this, I'm contemplating whether to disable cfg_simplify!
for Julia versions older than 1.10 in Cthulhu.
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.
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 cfgsimplify
could be backported to v1.10? Or even pirated in by Cthulhu?
^I also think this is a good idea given Cthulhu is the only library even using it
@aviatesk This particular error has been resolved in the latest master branch.
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: https://github.com/JuliaDebug/Cthulhu.jl/pull/546
If you just depend on that branch for now, all you need is some code in startup.jl
and it seems to completely step around this issue on 1.10.
Will be fixed in 2.11.1.
Will be fixed in 2.11.1.
Still having this issue in 2.11.1
. Will post some details and MWE
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.)