Hi,
Neither is ideal.
Could you please do the following:
1. Please install version 22.4.
2. In Avast Premium Security, go to Menu> Settings > General> Troubleshooting > Logs (at the bottom) > Enable debug logging
3. Reproduce the issue
4. Generate Logs and post the file id here : (Support tool guide:https://support.avast.com/en-ww/article/Submit-support-file)
You can disable debug logging after the file has been generated.
5. Temporarily disable only Ransomware Shield