Skip to content

Segfault when running gcov

When running the coverage locally, running gcov, the following error occurs :

(ERROR) GCOV produced the following errors processing /home/oprinsen/projects/PhoenixHDF5/build/CMakeFiles/uninstall_phoenixhdf5.dir/phoenix_base_uninstall_main.cpp.gcno: Trouble processing '/home/oprinsen/projects/PhoenixHDF5/build/CMakeFiles/uninstall_phoenixhdf5.dir/phoenix_base_uninstall_main.cpp.gcno' with working directory '/home/oprinsen/projects/PhoenixHDF5'. Stdout of gcov was >>None<< End of stdout Stderr of gcov was >>None<< End of stderr Exception was >>GCOV returncode was -11 (exited by signal). Stdout of gcov was >><< End of stdout

We already tried to change gcov version to an older one. Running with gdb we have the following error :

Program received signal SIGSEGV, Segmentation fault. __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:74 warning: 74 ../sysdeps/x86_64/multiarch/strlen-avx2.S: Aucun fichier ou dossier de ce nom

We also found an issue which describes a similar problem which is described here.

As the issue described it, it seems to be a problem on dynamic allocators (we may be concerned becaue we just added new allocators for vectorization)

Edited by POLLET Vincent