ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
MIT License
126 stars 46 forks source link

free(): corrupted unsorted chunks #41

Closed yoann-heitz closed 1 week ago

yoann-heitz commented 3 years ago

When running the following command

./rocprofiler/bin/rocprof --hsa-trace --hip-trace --kfd-trace -d traces python3 ./test.py

I sometimes get the following error

free(): corrupted unsorted chunks
./rocprofiler/bin/rocprof: line 271: 861483 Aborted                 (core dumped) "python3" "./test.py"

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.

unsorted_chunks_error.txt test.py.zip

harkgill-amd commented 1 month ago

Hi @yoann-heitz, apologies for the lack of response once again. Looks like the test.py.zip folder linked is empty/broken. Are you still experiencing this issue as of ROCm 6.2.0?

harkgill-amd commented 1 week ago

Closing this issue out. @yoann-heitz, if you are still encountering this error with the latest ROCm 6.2.1 release, please leave a comment and I will re-open this ticket. Thanks!