Thank you for posting it. You have been whitelisted for the AMD Devgurus community.
I would suggest you to contact the OpenCV team as they might be able to help with troubleshooting the issue and identifying the code/API that causing the hang. If it's a driver bug, I would help you to report the issue to the concerned team.
Thanks.