ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
116 stars 44 forks source link

rocprof -i input.txt with several pmc lines crash #43

Open yoann-heitz opened 3 years ago

yoann-heitz commented 3 years ago

When running

./rocprofiler/bin/rocprof -i input.txt --hsa-trace -d traces ./roctracer/test/MatrixTranspose/MatrixTranspose

with several pmc lines in the input.txt file, the program crash with a segmentation fault error after the second run of the program

./rocprofiler/bin/rocprof: line 271: 861977 Segmentation fault      (core dumped) "./roctracer/test/MatrixTranspose/MatrixTranspose"

I use rocm-4.0.0 and I cloned and built rocprofiler and roctracer from the github repositories. I used both amd-master and rocm-4.0.x branches and the error occurs in both cases.

input_error.txt input.txt

arfio commented 2 years ago

This issue is still happening on ROCm 5.0.0.