question

MarkoHrastovec-9816 avatar image
4 Votes"
MarkoHrastovec-9816 asked AlexanderTrmper-0550 published

MS Teams crashes in Ubuntu 22.04

I have installed Ubuntu 22.04. It is not an official release yet, but will be in a month.

I tried to run MS Teams on Ubuntu 22.04, and it crashes. Maybe you should take a look as soon many people will be upgrading to Ubuntu 22.04.

office-teams-linux-itpro
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Try

rm -r ~/.config/Microsoft/Microsoft\ Teams/

this fixed it for me
1 Vote 1 ·

Hi @MarkoHrastovec-9816

Does anyone else have the same problem in your organization?

Have you tried to see if it can be reproduced in Teams web client?

If there is no issue in Teams web client, we recommend you try to uninstall Teams client and reinstall it manually by following these steps:

 curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    
 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/teams.list'
    
 sudo apt update
 sudo apt install teams



0 Votes 0 ·

It's a glibc compatibility issue.

Ubuntu 22.04 uses a newer version of this core library, that the current .deb version of the teams client does not like.

Hopefully we will see a new release that fixes this (and generally brings the Linux client closer to the Mac and Windows versions feature set, performance, stability etc) soon.

0 Votes 0 ·
JimmyYang-MSFT avatar image JimmyYang-MSFT ThomasMSteenholdt-8098 ·

@ThomasMSteenholdt-8098

Thanks for your information! I will also check it in our environment to see if it could be reproduced.

0 Votes 0 ·
Show more comments
PikeRon-7061 avatar image
2 Votes"
PikeRon-7061 answered DavidRCarlson-9452 commented

Always use the snap to install and do not download the .deb


RudolfTomori-MSFT avatar image
Click to vote
0 Votes"
0
RudolfTomori-MSFT answered • Sep 16 2021 at 2:25 AM | SharonZhao-MSFT commented • Sep 21 2021 at 11:40 PM BEST ANSWERACCEPTED ANSWER
Thank you for reporting this issue. As already mentioned in the posts here, the problem is related to glibc 2.34 not being compatible with our implementation. While we look into the issue, we suggest you to use teams from the snapstore. You can install and run it this way:

snap install teams

snap run teams



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

For a lot of people, snaps are may solve this particular issue, but introduce a ton of other issues (drag/drop not working,copy/paste not working, inability to reach needed parts of the filesystem for attaching files etc).

Until a new deb release fixes the glibc issue og snaps are fixed on a very foundational level, safest bet is probably running teams in a browser like Chrome. Not ideal by any means, but it works.

1 Vote 1 ·
DavidRCarlson-9452 avatar image DavidRCarlson-9452 ThomasMSteenholdt-8098 ·

while snap runs antithetical to the ethos linux carries of self-determination, in this case the

snap install/run teams

will fix the issues early-adopting 22.04 creates for those of us who run linux, and also work for corporations.

0 Votes 0 ·
DylanBorg-4602 avatar image
0 Votes"
DylanBorg-4602 answered DylanBorg-4602 published

This is mostly related to teh fact that Teams may be using an old and outdated version of electron. Please use newer versions of electron which are compatible with newer glibc versions.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GiuseppeIuculano-4008 avatar image
0 Votes"
GiuseppeIuculano-4008 answered GiuseppeIuculano-4008 published

I can confirm this, dmesg shows:

 [lun apr 18 12:30:11 2022] traps: Chrome_IOThread[35475] trap invalid opcode ip:56409df76774 sp:7f2b07ffd490 error:0 in teams[56409b97b000+5fc7000]


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndradeCarlosC-0027 avatar image
0 Votes"
AndradeCarlosC-0027 answered SteveKieu-4084 commented

This was fixed, a new version of teams was released, v-1.5

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Still crash hard for me - I downloaded the latest version (thought so) teams_1.5.00.10453_amd64.deb

0 Votes 0 ·
AlexanderTrmper-0550 avatar image
0 Votes"
AlexanderTrmper-0550 answered AlexanderTrmper-0550 published

As of today, I am on Ubuntu 22.04.1 LTS which I just installed in a VirtualBox. After installing Teams Client from the official repo, it hard crashes on first launch, when there was no config or anything, since fresh install.
Falling back to webclient :(

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.