Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otf-profiler fails in mappingOTF2MetricMode #26

Open
jgphpc opened this issue Feb 19, 2020 · 2 comments
Open

otf-profiler fails in mappingOTF2MetricMode #26

jgphpc opened this issue Feb 19, 2020 · 2 comments

Comments

@jgphpc
Copy link

jgphpc commented Feb 19, 2020

Hi,

I can't quite understand exactly why but while this is running fine:

otf-profiler -i scorep-1metric/traces.otf2 --json

i will get a segfault with:

otf-profiler -i scorep-2metrics/traces.otf2 --json

The only difference is in the way i set SCOREP_METRIC_RUSAGE:

SCOREP_METRIC_RUSAGE='ru_maxrss'
SCOREP_METRIC_RUSAGE='ru_maxrss,ru_utime'

The traces are in ftp://ftp.cscs.ch/out/jgp/hpc/otf2/eff.tgz
The debugger shows that there may be an issue in:

main (otf-profiler.cpp:108)
  OTF2Reader::readDefinitions (OTF2Reader.cpp:1059)
    OTF2_Reader_ReadAllGlobalDefinitions
      OTF2_GlobalDefReader_ReadDefinitions
        otf2_global_def_reader_read
          otf2_global_def_reader_read_metric_member
            OTF2Reader::handle_def_metrics (OTF2Reader.cpp:109)
              mappingOTF2MetricMode (OTF2Reader.cpp:78)

and the error message is:

Memory error detected in mappingOTF2MetricMode ​(OTF2Reader.cpp:78)​:
null pointer dereference or unaligned memory access.

Do you get the same issue with scorep-2metrics ?

@jgphpc
Copy link
Author

jgphpc commented Feb 19, 2020

My PE is: gcc/8.3, OTF2/2.2, CubeLib/4.4.4

@dhinf
Copy link
Member

dhinf commented Feb 20, 2020

i will look into it next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants