tigl icon indicating copy to clipboard operation
tigl copied to clipboard

Hard TiGL Crash on RHEL7

Open joergbrech opened this issue 2 years ago • 1 comments

The OBS Build for RHEL7 uses GCC 4.8, which does not yet have full support of std::regex. This function is used in https://github.com/DLR-SC/tigl/blob/master/src/Version.h, which was introduced in TiGL 3.2.2. As a consequence, opening any CPACS file with TiGL 3.2.2 or TiGl 3.2.3 yields a hard crash.

We need to enforce gcc>4.8 on our OBS builds and rebuild the packages for TiGL 3.2.3!

Additional info:

  • https://build.opensuse.org/build/science:dlr/RHEL_7/x86_64/tigl3/_log
  • https://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-about-regular-expressions/12665408#12665408

joergbrech avatar Mar 11 '22 16:03 joergbrech

Another option would be to use boost::regex instead of std::regex.

AntonReiswich avatar Jun 15 '22 13:06 AntonReiswich