rocprof -i input.txt with several pmc lines crash
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.
This issue is still happening on ROCm 5.0.0.
Hi @yoann-heitz and @arfio, I was not able to reproduce this issue on the latest ROCm 6.2.0 release. I used the input.txt file provided with the MatrixTranspose example found here. I will close this issue, if you are still encountering the segmentation fault, please open a new ticket. Thanks!