libxml2 craches by SIGFPE when linked to a project compiled with `-ffpe-trap=invalid,zero,overflow` flag
I use -ffpe-trap=invalid,zero,overflow
to debug my MPI-parallel code. Since recently it started crashing on MPI initialization since slurm scheduler for some strange reason uses xml, and the mpi compiler adds a link to libxml2:
#3 0x7fb846722af4 in xmlXPathInit__internal_alias
at
/local_scratch/build/spack-stage/ilvonens/spack-stage-libxml2-2.9.13-dypflpj6svfpyz5l4ziedi5ne4c4wkzg/spack-src/xpath.c:
505
#3 0x7f47871a1af4 in xmlXPathInit__internal_alias
It would be great to make libxml2 FPE-clean. The issue appears with libxml2-2.9.13. I can't test it with later libraries. Sorry. Thank you!