Pokemon Sun trading problem

Hi whenever i try to trade with my self in pokemon sun i get this error and when i press continue the game crashes

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.

Some games require you to dump certain files from your 3DS. Please refer to our System Dumping Guide.