[PD-dev] External crashing when allocating memory (I think)