You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
Inside peloton/src/codegen/runtime_functions.cpp, void RuntimeFunctions::FillPredicateArray assigns (*parsed_predicates)[i].predicate_value to predicate_array[i].predicate_value. However, predicate_array[i].predicate_value has never been initialized. In Table::GenerateScan, it only gets allocated a block of memory. Hence, during the assignment an uninitialized Value will be destructred and cause a valgrind error Conditional jump or move depends on uninitialised value(s) at the destructor's switch statement .
We solved this problem in our PR(#1339) by avoid using predicate_array and calling RuntimeFunctions:: FillPredicateArray.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Inside
peloton/src/codegen/runtime_functions.cpp
,void RuntimeFunctions::FillPredicateArray
assigns(*parsed_predicates)[i].predicate_value
topredicate_array[i].predicate_value
. However,predicate_array[i].predicate_value
has never been initialized. InTable::GenerateScan
, it only gets allocated a block of memory. Hence, during the assignment an uninitializedValue
will be destructred and cause a valgrind errorConditional jump or move depends on uninitialised value(s)
at the destructor's switch statement .We solved this problem in our PR(#1339) by avoid using
predicate_array
and callingRuntimeFunctions:: FillPredicateArray
.The text was updated successfully, but these errors were encountered: