Closed shaobo-he closed 5 years ago
Here's the code fragment that sets p
:
h = type_card(solver->types, sigma);
p = i - m;
if (p > h) p = h;
h
is positive because there are no empty types in Yices and i
is larger than m
.
So p
can't be zero.
buffer
is initialized to an empty vector and is then resized viaresize_ivector
. Ifp
can be0
, thenresize_ivector
does nothing, causingbuffer.data
to be NULL.The error trace starting from
fun_solver_assign_base_values
is attached. Bug7.txt