flathub / com.slack.Slack

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

Slack crashes once attempted to maximize its window #283

Open zdohnal opened 1 month ago

zdohnal commented 1 month ago

Hi all,

today if I try to maximize the Slack window to the maximal range of my monitors (buildin one - 15,6" - or external monitors), it crashes with:

/app/bin/com.slack.Slack: line 12:     4 Segmentation fault      (core dumped) env TMPDIR=${XDG_CACHE_HOME} XDG_DOWNLOAD_DIR=$(xdg-user-dir DOWNLOAD) zypak-wrapper /app/extra/slack -s ${EXTRA_ARGS} "$@"

Other logs from journal looks fishy - looks like the app tries to connect to some process with ptrace:

May 22 08:07:11 fedora com.slack.Slack.desktop[5004]: (electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports wi>
May 22 08:07:11 fedora slack[5004]: Failed to load module "canberra-gtk-module"
May 22 08:07:11 fedora slack[5004]: Failed to load module "pk-gtk-module"
May 22 08:07:11 fedora slack[5004]: Failed to load module "canberra-gtk-module"
May 22 08:07:11 fedora slack[5004]: Failed to load module "pk-gtk-module"
May 22 08:07:11 fedora com.slack.Slack.desktop[5114]: LaunchProcess: failed to execvp:
May 22 08:07:11 fedora com.slack.Slack.desktop[5114]: xdg-settings
May 22 08:07:11 fedora com.slack.Slack.desktop[5004]: [4:0522/080711.464110:ERROR:browser_main_loop.cc(280)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
May 22 08:07:11 fedora com.slack.Slack.desktop[5004]: [4:0522/080711.464645:ERROR:browser_main_loop.cc(280)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
May 22 08:07:14 fedora com.slack.Slack.desktop[5064]: [50:0522/080714.067950:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
May 22 08:07:18 fedora com.slack.Slack.desktop[5052]: [0522/080718.109560:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
May 22 08:07:18 fedora audit[5004]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=5004 comm="slack" exe="/app/extra/slack" sig=11 res=1
May 22 08:07:18 fedora audit[5177]: AVC avc:  denied  { sys_admin } for  pid=5177 comm="systemd-coredum" capability=21  scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:system_r:systemd_coredump_t:s0 tclass=capability p>
...
May 22 08:07:18 fedora systemd-coredump[5178]: [🡕] Process 5004 (slack) of user 1000 dumped core.

I see there is a new commit in this repo today which updates the Slack inside flatpak, but flatpak update does not find this new version.

OS: Fedora 40 Desktop: Gnome with Wayland Slack version (flatpak run com.slack.Slack --version): 4.38.121

Leniwcowaty commented 1 month ago

Can confirm, the same issue, the same error code. OS: Mint 21.3 Desktop: Cinnamon (X11) Slack version: 4.38.121

ZVNexus commented 1 month ago

Upstream issue, supposedly going to be fixed in the next version.

Leniwcowaty commented 1 month ago

If that's the issue, I suggest downgrading to previous version - 4.37.101

Run: flatpak remote-info --log flathub com.slack.Slack sudo flatpak update --commit=[corresponding commit] com.slack.Slack