Profiler failed to record with cuda kinfo mode

As image show, I run SSD model use AMD gpu,but when I run serverl iterations, the programme failed with this info.
I checked gpu memory using another terminal, and the remaining gpu memory is about 12G, so the gpu resource is sufficient.
I also checked the cpp code in profiler_cuda.cpp and profiler_kinfo.cpp lines as shown in image, but the exception could’t provide more info, it only show info in image.
Anyone can give me help? Thank you a lot!