flathub / com.slack.Slack

https://flathub.org/apps/details/com.slack.Slack
35 stars 36 forks source link

Slack crashes in fedora 38 #194

Closed jsnjack closed 8 months ago

jsnjack commented 1 year ago

After updating to fedora 38, Slack application installed via flathub has started to crash. I'm currently on version 4.31.155. Steps to reproduce:

  1. Clean Slack local directory rm --rf /home/$USER/.var/app/com.slack.Slack
  2. Start Slack, log in
  3. Close Slack
  4. Start Slack again. It will load messages and crash after few seconds. Couldn't find anything interesting in logs. It looks like it exists immediately after the message All files fetched and put in cache 867.9000000059605ms
adandreou commented 1 year ago

I had the same issue and I resolved it by resetting the application's permissions, using Flatseal. Maybe this will help you as well.

andreaskienast commented 1 year ago

Thanks a lot, @adandreou. Resetting permissions seems to solve the issue for me.

jsnjack commented 1 year ago

Many thanks, Andreas! Worked for me too

artificial-intelligence commented 1 year ago

I have a related issue on fedora 37, where it only crashes if using the video features

adandreou commented 1 year ago

I have a related issue on fedora 37, where it only crashes if using the video features

Yeah, I have the same issue when screen sharing. I tested it using the instructions here

artificial-intelligence commented 1 year ago

I have a related issue on fedora 37, where it only crashes if using the video features

Yeah, I have the same issue when screen sharing. I tested it using the instructions here

well it even crashes during the test, but not at the camera, that part works fine, only when it comes to screen sharing the complete app crashes, as reported here (backtrace attached):

https://github.com/flathub/com.slack.Slack/issues/195

mooey5775 commented 1 year ago

Seems to me that enabling "Run in Background" in GNOME's app settings is the key for Slack to run. I'm not sure why this is required, as Slack runs fine without it enabled in Fedora 37. Maybe it's related to https://github.com/flatpak/xdg-desktop-portal/issues/899?

rmrfasterisk commented 1 year ago

I had the same issue and I resolved it by resetting the application's permissions, using Flatseal. Maybe this will help you as well.

This worked for me. Thank you!

jcontonio commented 1 year ago

I've reset permissions using Flatseal and have made sure Slack can run in the background in system settings. I am still getting a crash when trying to share my screen in a huddle.

plbpietrz commented 1 year ago

I've reset permissions using Flatseal and have made sure Slack can run in the background in system settings. I am still getting a crash when trying to share my screen in a huddle.

Same here, when pushing the share button, the application crashes, also during the integrated test at the screen sharing stage. Don't know if this changes anything but I have laptop connected to 2 additional screens through DisplayLink dock. Everything worked fine on Fedora 37.

evan-a-a commented 8 months ago

Related to #101