Stack allocation in traces is now handled correctly.