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

Segfault when -n is not used #87

Open
michaeldwong opened this issue Jul 7, 2020 · 0 comments
Open

Segfault when -n is not used #87

michaeldwong opened this issue Jul 7, 2020 · 0 comments

Comments

@michaeldwong
Copy link
Collaborator

When main.out is executed without specifying iterations (using -n), a segfault occurs. Thanks!

./main.out  
meas_mode:0
path_out:measure/
bm:0
niter:10
w_e:1
w_p:3
st_ex:0
st_eq:0
st_avg:0
st_when_to_restart:0
st_when_to_restart_niter:0
st_start_prog:0
restart_w_e_list:1
restart_w_p_list:0
p_inst_operand:0.333333
p_inst:0.333333
set strategy MH_SAMPLER_ST_WHEN_TO_RESTART_NO_RESTART
set strategy MH_SAMPLER_ST_NEXT_START_PROG_ORIG
set w_e and w_p pairs as: 1,0
probabilities of mod_random_inst_operand, mod_random_inst, mod_random_k_cont_insts are all set as 0.333333
set strategy MH_SAMPLER_ST_WHEN_TO_RESTART_NO_RESTART
set strategy MH_SAMPLER_ST_NEXT_START_PROG_ORIG
set w_e and w_p pairs as: 1,0
probabilities of mod_random_inst_operand, mod_random_inst, mod_random_k_cont_insts are set as 0.333333, 0.333333, 0.333333
0: MOVXC 2 4
1: ADDXY 0 2
2: MOVXC 3 15
3: JMPGT 0 3 1
4: RETX 3
5: RETX 0
6: NOP

Segmentation fault (core dumped)
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

1 participant