size_t HevcParameterSets::getSize(size_t index) {
    CHECK_LT(index, mNalUnits.size());
 return mNalUnits[index]->size();
}

The product dereferences a pointer that it expects to be valid but is NULL.