Characteristics, bicharacteristics and geometric singularities of solutions of PDEs