Solved! Go to Solution.
My S20+5G also has this problem. Camera app freeze and reboot the whole phone.
Clear cache, wipe cache (recovery mode), reset all settings, they all don't fix it.
CS did provide a solution that works for a few days : go find system app "Sec Media Storage", force close, clear cache, clear storage, then restart phone.
But after working perfectly for a few days, the problem starts happening again.