rocprofiler icon indicating copy to clipboard operation
rocprofiler copied to clipboard

rocprof -i input.txt with several pmc lines crash

Open yoann-heitz opened this issue 4 years ago • 1 comments

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

yoann-heitz avatar Mar 19 '21 13:03 yoann-heitz

This issue is still happening on ROCm 5.0.0.

arfio avatar Mar 21 '22 16:03 arfio

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!

harkgill-amd avatar Aug 07 '24 18:08 harkgill-amd