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

Electron app crashes during WebRTC calls #12341

Closed
dalcde opened this issue Feb 12, 2020 · 4 comments
Closed

Electron app crashes during WebRTC calls #12341

dalcde opened this issue Feb 12, 2020 · 4 comments

Comments

@dalcde
Copy link

dalcde commented Feb 12, 2020

Description

Describe here the problem that you are experiencing, or the feature you are requesting.

Steps to reproduce

  • Start a WebRTC call
  • Wait for a few minutes
  • It crashes.

This happens consistently on my machine with the same error message.

stdout:

Starting auto update with base URL: https://packages.riot.im/desktop/update/
Auto update not supported on this platform
(node:2350) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:2350) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[2378:0212/093937.583565:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR
:GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
[2381:0212/093944.797391:ERROR:audio_rtp_receiver.cc(88)] AudioRtpReceiver::OnSetVolume: No audio channel exists.

(electron:2350): libnotify-WARNING **: 09:39:49.380: Failed to connect to proxy

(electron:2350): libnotify-WARNING **: 09:39:49.384: Failed to connect to proxy

(electron:2350): libnotify-WARNING **: 09:39:49.386: Failed to connect to proxy
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf
failure in syscall 0230

Version information

Electron desktop app:

  • OS: Arch Linux
  • Version: 1.5.8
  • Electron Version: 7.1.11

I have recently updated

  • glibc from 2.30 to 2.31
  • linux from 5.5.2 to 5.5.3.
  • gcc from 9.2.0 to 9.2.1

I would not be surprised if this were an electron bug.

@ve7it
Copy link

ve7it commented Feb 12, 2020

I can confirm riot-desktop crashes after 1-5 minutes with the same message during a video chat.
Console messages follow:
[lg@Z77 Desktop]$ uname -a
Linux Z77 5.5.3-arch1-1 #1 SMP PREEMPT Tue, 11 Feb 2020 15:35:41 +0000 x86_64 GNU/Linux[lg@Z77 Desktop]$ riot-desktop -vvv starting auto update with base URL: https://packages.riot.im/desktop/update/ Auto update not supported on this platform (node:2830) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. (node:2830) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. [2859:0212/141928.258434:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command [2861:0212/141945.923088:ERROR:audio_rtp_receiver.cc(88)] AudioRtpReceiver::OnSetVolume: No audio channel exists. (electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead. [2861:0212/142048.931365:ERROR:audio_rtp_receiver.cc(88)] AudioRtpReceiver::OnSetVolume: No audio channel exists. ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0230
END of console info

This seems to be caused by some update within the last day or so.
Update log follows:
[2020-02-12T13:11:12-0800] [ALPM] upgraded vlc (3.0.8-8 -> 3.0.8-9) [2020-02-12T13:11:12-0800] [ALPM] upgraded semver (7.1.2-1 -> 7.1.3-1) [2020-02-12T13:11:12-0800] [ALPM] upgraded python2-lxml (4.4.2-1 -> 4.5.0-1) [2020-02-12T13:11:12-0800] [ALPM] upgraded python2-html2text (2019.8.11-3 -> 2019.8.11-4) [2020-02-12T13:11:12-0800] [ALPM] upgraded python-zipp (1.0.0-1 -> 2.0.0-1) [2020-02-12T13:11:12-0800] [ALPM] upgraded python-shapely (1.6.4.post2-4 -> 1.7.0-1) [2020-02-12T13:11:12-0800] [ALPM] upgraded python-lxml (4.4.2-1 -> 4.5.0-1) [2020-02-12T13:11:12-0800] [ALPM] upgraded modemmanager (1.12.4-1 -> 1.12.6-1) [2020-02-12T13:11:11-0800] [ALPM] upgraded linux-headers (5.5.2.arch2-2 -> 5.5.3.arch1-1) [2020-02-12T13:11:09-0800] [ALPM] upgraded linux (5.5.2.arch2-2 -> 5.5.3.arch1-1) [2020-02-12T13:11:07-0800] [ALPM] upgraded libmm-glib (1.12.4-1 -> 1.12.6-1) [2020-02-12T13:11:07-0800] [ALPM] upgraded lib32-wayland (1.17.0-1 -> 1.18.0-1) [2020-02-12T13:11:07-0800] [ALPM] upgraded chromium (80.0.3987.87-2 -> 80.0.3987.100-1) [2020-02-12T13:11:07-0800] [ALPM] upgraded wayland (1.17.0-1 -> 1.18.0-1) [2020-02-12T13:11:07-0800] [ALPM] upgraded alsa-plugins (1.2.1-4 -> 1.2.1-5) [2020-02-11T21:30:45-0800] [ALPM] upgraded firefox (72.0.2-1 -> 73.0-1) [2020-02-11T21:28:17-0800] [ALPM] downgraded firefox (73.0-1 -> 72.0.2-1) [2020-02-11T21:19:49-0800] [ALPM] downgraded wayland (1.18.0-1 -> 1.17.0-1) [2020-02-11T21:17:42-0800] [ALPM] downgraded alsa-plugins (1.2.1-5 -> 1.2.1-4) [2020-02-11T20:56:27-0800] [ALPM] downgraded chromium (80.0.3987.100-1 -> 80.0.3987.87-2) [2020-02-11T19:40:56-0800] [ALPM] upgraded wayland (1.17.0-1 -> 1.18.0-1) [2020-02-11T19:40:56-0800] [ALPM] upgraded pepper-flash (32.0.0.314-1 -> 32.0.0.330-1) [2020-02-11T19:40:56-0800] [ALPM] upgraded flashplugin (32.0.0.314-1 -> 32.0.0.330-1) [2020-02-11T14:37:21-0800] [ALPM] upgraded python-sphinx (2.4.0-1 -> 2.4.1-1) [2020-02-11T14:37:20-0800] [ALPM] upgraded chromium (80.0.3987.87-2 -> 80.0.3987.100-1) [2020-02-11T12:02:41-0800] [ALPM] upgraded wine (5.0-1 -> 5.1-1) [2020-02-11T12:02:40-0800] [ALPM] upgraded tlp (1.3.1-1 -> 1.3.1-2) [2020-02-11T12:02:40-0800] [ALPM] upgraded openssh (8.1p1-2 -> 8.1p1-4) [2020-02-11T12:02:40-0800] [ALPM] upgraded nano (4.7-1 -> 4.8-1) [2020-02-11T12:02:40-0800] [ALPM] upgraded man-pages (5.04-2 -> 5.05-1) [2020-02-11T12:02:40-0800] [ALPM] upgraded linux-headers (5.5.2.arch1-1 -> 5.5.2.arch2-2) [2020-02-11T12:02:37-0800] [ALPM] upgraded linux-firmware (20200122.1eb2408-1 -> 20200204.b791e15-1) [2020-02-11T12:02:36-0800] [ALPM] upgraded linux (5.5.2.arch1-1 -> 5.5.2.arch2-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded libtool (2.4.6+42+gb88cebd5-8 -> 2.4.6+42+gb88cebd5-10) [2020-02-11T12:02:35-0800] [ALPM] upgraded libinput (1.15.0-1 -> 1.15.1-1) [2020-02-11T12:02:35-0800] [ALPM] upgraded lib32-pango (1:1.44.7-1 -> 1:1.44.7+11+g73b46b04-1) [2020-02-11T12:02:35-0800] [ALPM] upgraded pango (1:1.44.7-1 -> 1:1.44.7+11+g73b46b04-1) [2020-02-11T12:02:35-0800] [ALPM] upgraded lib32-glib2 (2.62.4-1 -> 2.62.4-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded libgpg-error (1.36-3 -> 1.37-1) [2020-02-11T12:02:35-0800] [ALPM] upgraded lib32-gcc-libs (9.2.0-4 -> 9.2.1+20200130-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded lib32-glibc (2.30-3 -> 2.31-1) [2020-02-11T12:02:35-0800] [ALPM] upgraded glib2-docs (2.62.4-1 -> 2.62.4-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded glib2 (2.62.4-1 -> 2.62.4-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded gcc-objc (9.2.0-4 -> 9.2.1+20200130-2) [2020-02-11T12:02:35-0800] [ALPM] upgraded gcc-fortran (9.2.0-4 -> 9.2.1+20200130-2) [2020-02-11T12:02:34-0800] [ALPM] upgraded gcc (9.2.0-4 -> 9.2.1+20200130-2) [2020-02-11T12:02:33-0800] [ALPM] upgraded gcc-libs (9.2.0-4 -> 9.2.1+20200130-2) [2020-02-11T12:02:32-0800] [ALPM] upgraded binutils (2.33.1-2 -> 2.34-1) [2020-02-11T12:02:30-0800] [ALPM] upgraded glibc (2.30-3 -> 2.31-1) [2020-02-11T12:02:30-0800] [ALPM] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew [2020-02-11T12:02:30-0800] [ALPM] upgraded linux-api-headers (5.3.1-2 -> 5.4.17-1) [2020-02-10T19:23:16-0800] [ALPM] upgraded calibre (4.10.0-1 -> 4.10.1-1) [2020-02-10T19:23:16-0800] [ALPM] upgraded calibre-common (4.10.0-1 -> 4.10.1-1) [2020-02-10T16:30:12-0800] [ALPM] upgraded qt5-3d (5.14.1-1 -> 5.14.1-2) [2020-02-10T16:30:12-0800] [ALPM] upgraded qt5-base (5.14.1-1 -> 5.14.1-2) [2020-02-10T16:30:11-0800] [ALPM] upgraded firefox (72.0.2-1 -> 73.0-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded syntax-highlighting (5.66.0-1 -> 5.67.0-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded strace (5.4-1 -> 5.5-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded python2-watchdog (0.10.1-1 -> 0.10.2-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded python-pikepdf (1.10.0-1 -> 1.10.1-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded lib32-faudio (20.01-1 -> 20.02-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded faudio (20.01-1 -> 20.02-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded extra-cmake-modules (5.66.0-1 -> 5.67.0-1) [2020-02-10T14:57:11-0800] [ALPM] upgraded alsa-plugins (1.2.1-4 -> 1.2.1-5)
I suspect one of the above.... I downgraded several modules (as seen above) without any effect.
The person I usually call on video chat also runs arch, and has not updated. He does not crash.
I did see some 6 month old messages related to this error and glibc changes.... I have not tried downgrading glibc yet.

UPDATE:
happy to report that update today of electron and glibc seems to have fixed the problem.

@dalcde
Copy link
Author

dalcde commented Feb 13, 2020

Downgrading glibc fixes the issue.

Will try again tomorrow with glibc 2.31 and electron 8.0.0

@dalcde
Copy link
Author

dalcde commented Feb 15, 2020

Upgrading to electron 8.0.0 seems to fix the issue.

@dalcde dalcde closed this as completed Feb 16, 2020
@Bug-Reaper
Copy link

Bug-Reaper commented Mar 12, 2020

I'm on also on Arch with the latest electron (8.1.1) and getting this error.

Should I downgrade electron to (8.0.0)? Or does yours work with the latest? A

t3chguy pushed a commit that referenced this issue Oct 17, 2024
JohnSimonsen pushed a commit to verji/element-web-v2 that referenced this issue Dec 20, 2024
* Update `@vector-im/compound-design-tokens` in package.json (element-hq#12339)

* Change 'type' prop on badges to 'forceDot' (element-hq#12327)

* Change 'type' prop on badges tio 'forceDot'

Which, hopefully, better represents what it actually does. Tidies
up some of the logic.

Split out from matrix-org/matrix-react-sdk#12254

* Missed a file

* More comments

* Oops, there is no count here.

* Back out the logic refactor of StatelessNotificationBadge

because it was also updating the logic for mark as unread badges and
rewriting the ternary to the previous logic would be quite complex.

* Fix doc comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Clarify doc on displaying the count

* Update doc for the forceDot param here too.

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* [Backport staging] Update `@vector-im/compound-design-tokens` in package.json (element-hq#12340)

(cherry picked from commit e3ba643)

Co-authored-by: Florian Duros <florianduros@element.io>

* Fix the image view (element-hq#12341)

* TAC: Fix hover state when expanded (element-hq#12337)

* Fix TAC hover state

* Add playwright test

* Update playwright snapshot after last compound style changes

* v3.95.0-rc.0

* v3.95.0

* Reset matrix-js-sdk back to develop branch

* TAC: Order rooms by most recent after notification level (element-hq#12329)

* Order room by thread timestamp

* Fix key errors in test

* Update jest snapshots

* Update snapshots

* Rename alpha/beta to numbers

* Add playwright test

* Replace forceCount prop with hideIfDot (element-hq#12344)

This replaces the `forceCount` prop on room badge components with
`hideIfDot` which hopefully gives a better idea of what it does,
since forceCount did not really force a count. Also remove the
prop where it was just passing the default value anyway.

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: ElementRobot <releases@riot.im>
Co-authored-by: Robin <robin@robin.town>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants