Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack crashes once attempted to maximize its window #283

Closed
zdohnal opened this issue May 22, 2024 · 4 comments
Closed

Slack crashes once attempted to maximize its window #283

zdohnal opened this issue May 22, 2024 · 4 comments
Labels
upstream bug This is a bug with the upstream app, it will have to be fixed there

Comments

@zdohnal
Copy link

zdohnal commented May 22, 2024

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
Copy link

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

@ZVNexus
Copy link
Collaborator

ZVNexus commented May 22, 2024

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

@ZVNexus ZVNexus closed this as completed May 22, 2024
@Leniwcowaty
Copy link

Leniwcowaty commented May 22, 2024

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

@ZVNexus ZVNexus reopened this May 24, 2024
@ZVNexus ZVNexus added the upstream bug This is a bug with the upstream app, it will have to be fixed there label May 24, 2024
@ZVNexus
Copy link
Collaborator

ZVNexus commented Aug 8, 2024

Closing, feel free to reopen if still an issue. Should have been resolved.

@ZVNexus ZVNexus closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug This is a bug with the upstream app, it will have to be fixed there
Projects
None yet
Development

No branches or pull requests

3 participants