IsmaelMartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client
GNU General Public License v3.0
3.41k stars 265 forks source link

[Bug]: Crash when making a screenshot, only when run through walker (application launcher) #1690

Closed zjeffer closed 1 week ago

zjeffer commented 1 week ago

Can you reproduce this bug in the website/PWA?

No

Describe the bug

I use walker to launch teams. If I take a screenshot with grimblast, a second after taking the screenshot teams will crash.

What package are you using?

aur

Version

2.0.11

Reproduction steps

1. Start teams-for-linux through walker
2. Make a screenshot with grimblast (https://github.com/hyprwm/contrib)
3. Crashes (every time)

Expected Behavior

shouldn't crash

Debug

n/a

Additional context

Coredump when running through walker: coredump-walker.txt

Triggering an abort when running from a terminal: coredump-terminal.txt (to compare the executable, commandline options, control group, etc)

zjeffer commented 1 week ago

I'll add more info to this issue soon, and I'll do more testing with other screenshot tools and application launchers. The problem could also be in walker or grimblast, but I only get the crash with this application.

zjeffer commented 1 week ago

Just noticed it also happens with jellyfin-media-player, closing...

khaneliman commented 1 week ago

I think you use Hyprland, too? I'm trying to pinpoint some crashes that started recently... pasting into teams crashes teams. Taking a grimblast screenshot crashes my computer and sometimes coming back from dpms off hyprlock / hyprland crashes.

zjeffer commented 1 week ago

@khaneliman Yes, I use Hyprland too. I created a new thread in the walker repo (https://github.com/abenz1267/walker/issues/300), I found that it only happens when I run walker with --gapplication-service.

IsmaelMartinez commented 1 week ago

Thanks for reporting. Maybe check on the electron repo, it could be related to the latest versions of electron (they might have introduced an issue). In the meantime, you should be able to use an older version.