[PD] (OT) gen malloc functions problems