X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e2acbc187e721656cb1cd62ca067d1ebf59d0066..41966a6d30f870c0c7cc5ad5e64c0263e63970a8:/src/mc/explo/DFSExplorer.cpp diff --git a/src/mc/explo/DFSExplorer.cpp b/src/mc/explo/DFSExplorer.cpp index e61a25013a..c58d581120 100644 --- a/src/mc/explo/DFSExplorer.cpp +++ b/src/mc/explo/DFSExplorer.cpp @@ -42,7 +42,8 @@ xbt::signal DFSExplorer::on_log_state_signal; void DFSExplorer::check_non_termination(const State* current_state) { for (auto const& state : stack_) { - if (*state->get_system_state() == *current_state->get_system_state()) { + if (state->get_system_state()->equals_to(*current_state->get_system_state(), + get_remote_app().get_remote_process_memory())) { XBT_INFO("Non-progressive cycle: state %ld -> state %ld", state->get_num(), current_state->get_num()); XBT_INFO("******************************************"); XBT_INFO("*** NON-PROGRESSIVE CYCLE DETECTED ***"); @@ -288,7 +289,7 @@ void DFSExplorer::backtrack() for (std::unique_ptr const& state : stack_) { if (state == stack_.back()) /* If we are arrived on the target state, don't replay the outgoing transition */ break; - state->get_transition()->replay(); + state->get_transition()->replay(get_remote_app()); on_transition_replay_signal(state->get_transition(), get_remote_app()); visited_states_count_++; }