Have a look in the user and system journals after this happens.
I would hope you see a reason, you can you the before and since options to journalctl to focus on the time period when you where kicked out.
I see a lot of error logs , not sure which one is related to the log out issue. What should I look for?
I also see an error log when i opened github-desktop but that i installed from flahub just yesterday, this issue persisted in my machine before yesterday.
If this happens again, you could also run coredumpctl info right after logging back in. That would show the backtrace for the last crash.
With a system upgrade, GNOME extensions which have not been properly updated can also cause similar issues. Do you have any extensions enabled? If so, does it happen also when all of them are disabled?
There is also a recently experienced accessibility-related issue after upgrade to F41. Probably not your case though, as with the other issue the user can’t properly log into a GNOME session under Wayland.
I don’t have any gnome extentions installed (yet) but I do have the extentions app installed. I did a fresh f40 install and next day f41 was released so I did a dnf upgrade to f41.
I noticed whenever I have an app open that i installed using flatpak this issue happens. I could be wrong.
From the core-dump, Slack might be the culprit. In the nomenclature of the downloaded RPM file I see EL8, so there are high changes it’s not compatible with F41.
EDIT: Seeing the header of coredumpctl, it clearly says that slack was the process that crashed.
although when i do a coredumpctl info , its still shows slack next to PID like PID: 44305 (slack) and many of my applications like chromium when running, display a slack icon instead of chromium icon.