Crash or frozen

in pokemon sword when i press on mystery gift , vs link battle and whistle my game freezes and gives error code 2511-8191(0xffffffff) display error. so i need help for fixing that problem

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.

i need help for yuzu emulator

This is normal you need to have the game connected to Nintendo server, and you must play the game without this Mystery Gift, vs Link Battle and Whistle.
You need this Wi-Fi Crash Workaround from hear, but if you get the new update 1.3.0 you must wait till will be made, don’t know ETA.

If i play pokemon sword and i press y to link trade it crashes by crash code 2511 -8191 (0xffffffff)

Don’t press that button if you don’t want to crash, Yuzu cant link to Nintendo Server and you cant do link trade.