RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.6k stars 707 forks source link

Error starting with glibc 2.34 #2185

Closed DeadMozay closed 2 years ago

DeadMozay commented 3 years ago

Describe the bug stopped starting after glibc update

[14393:0927/114854.300899:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.300917:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 1 time(s)
[14393:0927/114854.357997:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.358008:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 2 time(s)
[14393:0927/114854.412845:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.412859:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 3 time(s)
[14474:0927/114854.421708:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[14474:0927/114854.421776:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[14393:0927/114854.426888:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.426897:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 4 time(s)
[14478:0927/114854.432511:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[14478:0927/114854.432565:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[14393:0927/114854.437566:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.437574:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 5 time(s)
[14482:0927/114854.442793:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for swiftshader
[14482:0927/114854.442847:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader
[14393:0927/114854.447953:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.447963:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 6 time(s)
[14486:0927/114854.450395:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[14486:0927/114854.450444:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[14393:0927/114854.452611:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.452618:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 7 time(s)
[14490:0927/114854.454526:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[14490:0927/114854.454570:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[14393:0927/114854.456419:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.456425:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 8 time(s)
[14494:0927/114854.458228:WARNING:vaapi_wrapper.cc(588)] VAAPI video acceleration not available for disabled
[14494:0927/114854.458270:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[14393:0927/114854.460158:ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=159
[14393:0927/114854.460165:WARNING:gpu_process_host.cc(1317)] The GPU process has crashed 9 time(s)
[14393:0927/114854.460170:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
[1]    14393 trace trap (core dumped)  /opt/Rocket.Chat/rocketchat-desktop --enable-logging

OS: openSUSE Tumbleweed X86_64 Server version: 3.18.1 Client version: any

Looks like a bug in electron #https://github.com/electron/electron/issues/31113

DeadMozay commented 3 years ago

As a workaround, can use the cli argument --no-sandbox

jeanfbrito commented 2 years ago

Please test if the lastest release (3.7.0) has solved this issue.

DeadMozay commented 2 years ago

Yes, but the client is still behaving strangely, when the system tray icon is displayed, rocketchat crashes with an error

❯ /opt/Rocket.Chat/rocketchat-desktop --disable-gpu-sandbox --enable-logging=1
[21372:1207/170414.638102:INFO:CONSOLE(26244)] "%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq font-weight:bold", source: /opt/Rocket.Chat/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js (26244)
[21372:1207/170414.748425:INFO:CONSOLE(3965)] "Uncaught (in promise) Error: app version was not set", source: /opt/Rocket.Chat/resources/app.asar/app/rootWindow-1d2539dc.js (3965)
[bugsnag] Loaded!
[21372:1207/170414.942400:INFO:CONSOLE(26244)] "%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq font-weight:bold", source: /opt/Rocket.Chat/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js (26244)
[21372:1207/170415.054204:INFO:CONSOLE(3189)] "[bugsnag] Loaded!", source: /opt/Rocket.Chat/resources/app.asar/app/rootWindow-1d2539dc.js (3189)
[21372:1207/170415.118715:WARNING:app_indicator_icon.cc(268)] Could not encode icon
[21372:1207/170416.036976:INFO:CONSOLE(4)] "[Rocket.Chat Desktop] Injected.ts", source:  (4)
[21372:1207/170416.039714:INFO:CONSOLE(37)] "[Rocket.Chat Desktop] window.open for Jitsi overloaded ", source:  (37)
[21372:1207/170416.080336:INFO:CONSOLE(37)] "[Rocket.Chat Desktop] window.open for Jitsi overloaded meet.jit.si", source:  (37)
[21372:1207/170416.114217:INFO:CONSOLE(1)] "fuselage-ui-kit version: 0.30.1", source: /node_modules/@rocket.chat/fuselage-ui-kit/dist/esm/index.js (1)
[bugsnag] 1 session(s) reported
[21372:1207/170425.781241:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: https://chat.rfo13.ru/home (0)
[21372:1207/170425.788456:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: https://chat.rfo13.ru/home (0)
[21372:1207/170425.795904:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: https://chat.rfo13.ru/home (0)
[21372:1207/170425.807596:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: https://chat.rfo13.ru/home (0)
[21372:1207/170428.536774:INFO:CONSOLE(0)] "ResizeObserver loop limit exceeded", source: https://chat.rfo13.ru/home (0)
[1]    21372 segmentation fault (core dumped)  /opt/Rocket.Chat/rocketchat-desktop --disable-gpu-sandbox --enable-logging=1

after a crashes, the client can only be started with a key --disable-gpu-sandbox it can also completely break the application profile, after deleting the profile, the application starts working again

PS crashes after turning on the display of the icon in the system tray is observed only in the plasma5 desktop environment

jeanfbrito commented 2 years ago

We updated Electron that had some issues with this. Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.

Thank you!