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

Crash when clicking sys tray icon to re-"open" app on RHEL8 #1495

Open
dwbotsch opened this issue Nov 26, 2024 · 5 comments
Open

Crash when clicking sys tray icon to re-"open" app on RHEL8 #1495

dwbotsch opened this issue Nov 26, 2024 · 5 comments

Comments

@dwbotsch
Copy link

Describe the bug
A clear and concise description of what the bug is.

Using the flatpak, if one closes the app to the systray and then tries to re-open, it crashes.

To Reproduce
Steps to reproduce the behavior:

  1. RHEL8 in wayland mode with nouveau driver in classic gnome shell with redhat's using gnome-shell-extension-top-icons-3.32.1-39.el8_10.noarch
  2. version 1.11.5 of the flatpak
  3. Start teams for linux
  4. click the 'x' to close the app to the systray
  5. click the systray icon and choose to reopen the app
  6. crash

Expected behavior
App reopens

Desktop (please complete the following information):

  • OS: RHEL8.10
  • Installation package flatpak
  • Version 1.11.5

Debug

From /var/log/messages:

Nov 26 10:51:10 wave journal[5302]: [AppIndicatorSupport-WARN] Impossible to send about-to-show to menu: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow
Nov 26 10:51:11 wave journal[5302]: WL: error in client communication (pid 326929)
Nov 26 10:51:11 wave com.github.IsmaelMartinez.teams_for_linux.desktop[326929]: [2:1126/105111.937479:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_surface#26: error 0: gtk_shell::get_gtk_surface already requested
Nov 26 10:51:11 wave kernel: traps: teams-for-linux[326929] trap invalid opcode ip:55cd345379b1 sp:7ffe4ec79250 error:0 in teams-for-linux[55cd334a2000+

From commandprompt with the debug options on...

flatpak run com.github.IsmaelMartinez.teams_for_linux --webDebug --logConfig='{}'
[2:1126/105946.215980:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
No config file found, using default values
all good with appLogLevels you aren't using them
all good with onlineCheckMethod you aren't using them
Initialising logger with config: "{}"
10:59:46.451 › File logging at /home/dwb/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/teams-for-linux/logs/main.log with level silly
10:59:46.482 › Console logging enabled with level silly
10:59:46.483 › Logger initialised
10:59:46.483 › configPath: /home/dwb/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/teams-for-linux
10:59:46.483 › configFile: {}
10:59:46.486 › Running under Wayland, switching to PipeWire...
LaunchProcess: failed to execvp:
xdg-settings
[2:1126/105946.586646:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1126/105946.586686:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
10:59:46.638 › processArgs: [
'/app/teams-for-linux/teams-for-linux',
'--webDebug',
'--logConfig={}'
]
10:59:46.639 › testing RegExp processArgs false
10:59:46.639 › testing RegExp processArgs false
10:59:46.639 › testing RegExp processArgs false
[2:1126/105946.640341:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1126/105946.640415:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1126/105946.640473:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
10:59:46.640 › Waiting for network...
10:59:46.640 › Testing network using net.request() for https://teams.microsoft.com
10:59:46.642 › Spellchecker is disabled!
[52:1126/105947.039459:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.039728:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.039907:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040060:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040226:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040381:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040538:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040656:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[52:1126/105947.040779:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.040955:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041104:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041260:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041417:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041581:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041739:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[52:1126/105947.041854:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[52:1126/105947.041918:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[52:1126/105947.041994:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[52:1126/105947.042062:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[52:1126/105947.042130:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[52:1126/105947.042202:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[52:1126/105947.042267:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[52:1126/105947.042336:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[52:1126/105947.042482:ERROR:shared_image_manager.cc(248)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[52:1126/105947.042624:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2:1126/105947.057929:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[95:1126/105947.144520:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.144741:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.144934:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.145193:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.145373:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.145551:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.145807:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.145898:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[95:1126/105947.146067:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146218:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146372:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146523:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146695:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146805:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.146920:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[95:1126/105947.147001:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[95:1126/105947.147052:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[95:1126/105947.147113:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[95:1126/105947.147191:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[95:1126/105947.147265:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[95:1126/105947.147311:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[95:1126/105947.147353:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[95:1126/105947.147395:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[95:1126/105947.147461:ERROR:shared_image_manager.cc(248)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[95:1126/105947.147553:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2:1126/105947.164894:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
10:59:47.168 › Network test successful with method https
[108:1126/105947.307690:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.307955:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.308227:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.308470:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.308734:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.308943:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.309153:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.309278:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[108:1126/105947.309445:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.309625:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.309826:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.310029:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.310233:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.310431:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.310580:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: No such file or directory (2)
[108:1126/105947.310684:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[108:1126/105947.310768:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[108:1126/105947.310871:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[108:1126/105947.310956:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[108:1126/105947.311039:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[108:1126/105947.311126:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=SCANOUT
[108:1126/105947.311206:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= BGRA_8888 and usage=GPU_READ
[108:1126/105947.311284:ERROR:shared_image_factory.cc(873)] CreateSharedImage: could not create backing.
[108:1126/105947.311373:ERROR:shared_image_manager.cc(248)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[108:1126/105947.311477:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2:1126/105947.327086:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
10:59:47.949 › GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[2:1126/105947.955688:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
10:59:48.236 › did-frame-finish-load {} true
10:59:48.236 › did-finish-load
10:59:49.048 › cookie changed cause: overwrite
removed?: true

10:59:49.048 › cookie: authtoken
expirationDate: 1732691120.742802
domain: teams.microsoft.com
10:59:49.048 › cookie changed cause: explicit
removed?: false

10:59:49.048 › cookie: authtoken
expirationDate: 1732691121.048007
domain: teams.microsoft.com
10:59:49.258 › Badge count set to '0'
10:59:49.268 › Badge count set to '0'
10:59:50.273 › did-frame-finish-load {} false
[131:1126/105950.497511:ERROR:gles2_cmd_decoder_passthrough.cc(1053)] [GroupMarkerNotSet(crbug.com/242999)!:A0E02C00FC2C0000]Automatic fallback to software WebGL has been deprecated. Please use the --enable-unsafe-swiftshader flag to opt in to lower security guarantees for trusted content.
10:59:53.795 › window close
[2:1126/105957.411551:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_surface#26: error 0: gtk_shell::get_gtk_surface already requested

@IsmaelMartinez
Copy link
Owner

Can you try something other than flatpak? Just to narrow it down. There are a few errors there that look like drivers.

@dwbotsch
Copy link
Author

The appimage does not appear to crash when resuming from the systray icon.
Also of note... unlike the flatpak.. the appimage has a proper systray icon.

The flatpak's systray icon for whatever reason is only a couple of pixels wide (some interaction with topicons?).
The appimage's systray icon is the normal 42x42 or whatever size the default top taskbar is.

thanks
-daveb

@IsmaelMartinez
Copy link
Owner

@dwbotsch, then this is probably related to some sort of flatpak configuration.

I can see a lot of "GPU" issues. maybe try starting with the --disableGpu option and see if that gets rid of some of those issues, but I suspect your flatpak config is not setup correctly. Do other flatpak apps work? Can you try re-installing flatpak? Can you use another packaging option?

@Mihai-B
Copy link

Mihai-B commented Dec 18, 2024

I am having the same issue. It only happens with Teams. Also, maybe it is worth mentioning, I cannot resize the teams window

@dwbotsch
Copy link
Author

dwbotsch commented Dec 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants