Glass formation is a typical hazard when ingesting sand or volcanic ash.
It not only blocks cooling passages, it tends to "plate" the HPT nozzle guide vanes and reduce the flow area, which drives up back pressure on the compressor. This may eat up available stall (surge) margin.
The other major problem is erosion of the compressor airfoils.