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

Crashes on startup #1261

Closed
CursedSilicon opened this issue May 13, 2024 · 6 comments
Closed

Crashes on startup #1261

CursedSilicon opened this issue May 13, 2024 · 6 comments

Comments

@CursedSilicon
Copy link

Describe the bug

Teams crashes a few moments after starting up

To Reproduce

Open Teams

Expected behavior

Teams...works?

Screenshots

N/A

Desktop (please complete the following information):

Gentoo Linux AMD64

Installed via "Xwing" Overlay repo. Package just directly calls the Git release version and installs that as a tar.gz

Debug

[redacteduser]@[redacted-hostname] ~ $ teams-for-linux --webDebug --appLogLevels=error,info,warn,debug
[DEBUG] configPath:,/home/[redacteduser]/.config/teams-for-linux
[WARN] No config file found, using default values
[DEBUG] configFile:,[object Object]
[INFO] Running under Wayland, switching to PipeWire...
[DEBUG] Custom background service url is 'http://localhost'
[DEBUG] processArgs:,/opt/teams-for-linux/teams-for-linux,--webDebug,--appLogLevels=error,info,warn,debug
[DEBUG] Testing network using net.request() for https://teams.microsoft.com/
[DEBUG] Spellchecker is disabled!
[220073:0513/141034.671605:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is 
[DEBUG] Network test successful with method https
[219991:0513/141035.064987:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[220128:0513/141035.174950:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is 
[219991:0513/141035.549366:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[220162:0513/141035.655786:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is 
[219991:0513/141035.999845:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[220189:0513/141036.093497:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220189:0513/141036.093576:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220189:0513/141036.093609:ERROR:gl_context_egl.cc(396)] eglCreateContext failed with error EGL_BAD_ATTRIBUTE
[220189:0513/141036.107758:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is swiftshader
[219991:0513/141036.492854:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[220217:0513/141036.617617:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220217:0513/141036.617695:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220217:0513/141036.617726:ERROR:gl_context_egl.cc(396)] eglCreateContext failed with error EGL_BAD_ATTRIBUTE
[220217:0513/141036.633664:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is swiftshader
[219991:0513/141036.988792:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[220242:0513/141037.070841:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220242:0513/141037.070925:ERROR:gl_display.cc(515)] EGL Driver message (Error) eglCreateContext: eglCreateContext
[220242:0513/141037.070964:ERROR:gl_context_egl.cc(396)] eglCreateContext failed with error EGL_BAD_ATTRIBUTE
[220242:0513/141037.084925:FATAL:gpu_init.cc(541)] Passthrough is not supported, GL is angle, ANGLE is swiftshader
[219991:0513/141037.463212:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=133
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[DEBUG] did-frame-finish-load,[object Object],true
[DEBUG] did-finish-load
[DEBUG] did-frame-finish-load,[object Object],true
[DEBUG] did-finish-load
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[219991:0513/141038.128151:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[DEBUG] did-frame-finish-load,[object Object],true
[DEBUG] did-finish-load
[DEBUG] Badge count set to '0'
[DEBUG] Badge count set to '0'
[DEBUG] Badge count set to '0'
[219991:0513/141045.123076:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[DEBUG] did-frame-finish-load,[object Object],false
[DEBUG] render-process-gone
[DEBUG] before-quit
[DEBUG] window close
[DEBUG] window closed
[DEBUG] will-quit
[DEBUG] quit

Additional context

Using the open source AMD graphics driver on an RX 6400 with kernel 6.6.28.

Googling it seems to show the web is littered with people experiencing similar issues from Electron itself but no clear answers on how to fix it unfortunately

@IsmaelMartinez
Copy link
Owner

IsmaelMartinez commented May 14, 2024

Hi, a few questions:

Are you using a proxy ? What happens if you try to open this in the browser? (just going to https://teams.microsoft.com/)

Also, can you check if it works for 1.4.37? You should be able to get the tar.gz from https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v1.4.37

The drivers error might be a red herring (hopefully)

@CursedSilicon
Copy link
Author

@IsmaelMartinez To my knowledge, it's a direct connection through our work network.

Testing 1.4.37 seems to result in the same error.

@joaquinvacas
Copy link

joaquinvacas commented May 21, 2024

It started to happen with a specific account I'm using passing the config folder.

1.4.37 on Fedora Workstation 40, didn't happen before.

I even had proxy connection sometimes but this has never been an issue at all.

I've noticed the crashdump shows it starts from:

`Process 8711 (teams-for-linux) of user 1000 dumped core.

Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64
Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64
Module libjson-glib-1.0.so.0 from rpm json-glib-1.8.0-3.fc40.x86_64
Module libjpeg.so.62 from rpm libjpe`

I didn't notice if brotli was updated before this started to happen, so I can't tell 😞

@IsmaelMartinez
Copy link
Owner

I suspect both are driver complains but @CursedSilicon, check if running with the disableGpu option (see https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config )

Another few tests possible is check if older versions (even just 1.4.36) do work. It could be that a latest build introduced a subtle bug.

What happens if you try to open this in the browser? (just going to https://teams.microsoft.com/)

@joaquinvacas , I would suggest you open another bug ticket with as much information as possible, as yours looks like a complete different error.

@CursedSilicon
Copy link
Author

@IsmaelMartinez I ended up reinstalling it but specifically disabling using Gentoo's builds of Mesa and ffmpeg

It does seem to work now (I can chat with people over text, other functionality I have not yet tested)

However I do still see this in the console output on startup

[352146:0522/100654.461206:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

This repeats every now and again but I cannot immediately discern a pattern

@IsmaelMartinez
Copy link
Owner

Looks like that error is due to hardware acceleration. Use the config option to disable hardware acceleration and have a look. I will close this as that is another issue that is related to electron. See electron/electron#32760

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