demo_heightfield appears to work properly with the heightfield data it uses and with small shapes. But creating a steeper terrain and dropping larger spheres on it results in the spheres penetrating the heightfield and then exploding out again.
Press 's' to drop spheres. Spheres show the problem best, though all shapes seem to be affected. All shapes get dropped from the same point above the ramp.