Finally, I got it. In my top CMakeLists.txt, I had two add_subdirectory commands with "src/genmod" and "src/genmod/phaser". After removing the second command and adding a "add_subdirectory(phaser)" in src/genmode/CMakeLists.txt, the segfault disappeared. -- Syron