Following your example but setting export SCOREP_ENABLE_PROFILING=1 does crash Score-P with:
[Score-P] src/measurement/profiling/scorep_profile_metric.c:324: Fatal: Bug: Wrong update scheme
[Score-P] Please report this to support@score-p.org. Thank you.
[Score-P] Try also to preserve any generated core dumps.