We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Test solveCliqueUp! and solveCliqDown! at ../test/testCliqSolveDbgUtils.jl:6
ERROR: MethodError: no method matching deepcopy_internal(::ReentrantLock) Closest candidates are: deepcopy_internal(::Base.AbstractLock, ::IdDict) at deepcopy.jl:130 deepcopy_internal(::Any, ::IdDict) at deepcopy.jl:53 deepcopy_internal(::BigInt, ::IdDict) at gmp.jl:794 ... Stacktrace: [1] deepcopy_internal(x::Base.GenericCondition{ReentrantLock}, stackdict::IdDict{Any, Any}) @ Base ./deepcopy.jl:143 [2] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any}) @ Base ./deepcopy.jl:65 [3] deepcopy_internal(x::Dict{Symbol, Any}, stackdict::IdDict{Any, Any}) (repeats 2 times) @ Base ./deepcopy.jl:125 [4] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any}) (repeats 3 times) @ Base ./deepcopy.jl:65 [5] deepcopy @ ./deepcopy.jl:26 [inlined] [6] (::StateMachine{CliqStateMachineContainer})(userdata::CliqStateMachineContainer{BayesTreeNodeData, GraphsDFG{SolverParams, DFGVariable, DFGFactor}, GraphsDFG{SolverParams, DFGVariable, DFGFactor}, MetaBayesTree}, timeout::Nothing; pollinterval::Float64, breakafter::Function, verbose::Bool, verbosefid::Base.TTY, verboseXtra::IncrementalInference.CliqStatus, iterlimit::Int64, injectDelayBefore::Nothing, recordhistory::Bool, housekeeping_cb::IncrementalInference.var"#479#481"{IncrementalInference.TreeClique, CliqStateMachineContainer{BayesTreeNodeData, GraphsDFG{SolverParams, DFGVariable, DFGFactor}, GraphsDFG{SolverParams, DFGVariable, DFGFactor}, MetaBayesTree}}) @ FunctionalStateMachine ~/.julia/packages/FunctionalStateMachine/2JZFG/src/StateMachine.jl:76 [7] initStartCliqStateMachine!(dfg::GraphsDFG{SolverParams, DFGVariable, DFGFactor}, tree::MetaBayesTree, cliq::IncrementalInference.TreeClique, timeout::Nothing; oldcliqdata::BayesTreeNodeData, verbose::Bool, verbosefid::Base.TTY, drawtree::Bool, show::Bool, incremental::Bool, limititers::Int64, upsolve::Bool, downsolve::Bool, recordhistory::Bool, delay::Bool, logger::Base.CoreLogging.SimpleLogger, solve_progressbar::Nothing, algorithm::Symbol, solveKey::Symbol) @ IncrementalInference ~/.julia/packages/IncrementalInference/1ELXb/src/CliqueStateMachine.jl:64 [8] tryCliqStateMachineSolve!(dfg::GraphsDFG{SolverParams, DFGVariable, DFGFactor}, treel::MetaBayesTree, cliqKey::IncrementalInference.CliqueId{Int64}, timeout::Nothing; oldtree::MetaBayesTree, verbose::Bool, verbosefid::Base.TTY, drawtree::Bool, limititers::Int64, downsolve::Bool, incremental::Bool, delaycliqs::Vector{Symbol}, recordcliqs::Vector{Symbol}, solve_progressbar::Nothing, algorithm::Symbol, solveKey::Symbol) @ IncrementalInference ~/.julia/packages/IncrementalInference/1ELXb/src/SolverAPI.jl:112 [9] solveCliqUp!(fg::GraphsDFG{SolverParams, DFGVariable, DFGFactor}, tree::MetaBayesTree, cliqid::Int64, solveKey::Symbol, beliefMessages::Dict{Int64, LikelihoodMessage}; verbose::Bool, recordcliq::Bool) @ IncrementalInference ~/.julia/packages/IncrementalInference/1ELXb/src/SolverAPI.jl:483 [10] top-level scope @ REPL[13]:1
The text was updated successfully, but these errors were encountered:
Looks like we should create a new lock or something similar on this line in FSM: https://github.com/JuliaRobotics/FunctionalStateMachine.jl/blob/a534cb2bf1cd0571c5422034f8febca1b38fe4b9/src/StateMachine.jl#L76
Sorry, something went wrong.
It looks like it will be fixed here: JuliaLang/julia#46406
In the meantime here is a fix that just does not copy the channels that are causing the issue: #1601
restore jl deepcopy_interal #1530 and #1601
914e257
Merge pull request #1629 from JuliaRobotics/22Q3/depr/jl19fix
7af4026
Affie
Successfully merging a pull request may close this issue.
In Test solveCliqueUp! and solveCliqDown! at ../test/testCliqSolveDbgUtils.jl:6
The text was updated successfully, but these errors were encountered: