PF4Public / gentoo-overlay

Personal Gentoo overlay
79 stars 19 forks source link

Mask electron-32 #382

Open Kawanaao opened 4 days ago

Kawanaao commented 4 days ago

Recently, while setting up VSCode on musl, I compiled it with Electron 32. Today, after installing a glibc system and attempting to replicate the musl steps, I discovered the issue isn't musl-specific. This problem has been reported in Chromium and VSCode issues. The current Electron 32 version is broken, causing non-obvious bugs. In VSCode, it results in an int3 crash. In Webcord, the bug manifests as glitches in some settings windows. More critically, affected apps may fail to launch on the first attempt or may not launch at all. These issues don't occur with Electron 31.

PF4Public commented 3 days ago

32.0.1 Works fine for me, unfortunately I haven't yet updated it to the latest version, but I doubt it is as broken as you describe.

Kawanaao commented 3 days ago

32.0.1 Works fine for me, unfortunately I haven't yet updated it to the latest version, but I doubt it is as broken as you describe.

As far as I've tried to work with it, it either stops working quite chaotically under load, or applications go into fail-safe mode. After a while, they degrade to a white window, regardless of the *FLAGS set. When testing on glibc, the same thing happens. Then can you also check the misbehavior of Electron in your system?

PF4Public commented 3 days ago

Then can you also check the misbehavior of Electron in your system?

I need a repro scenario. Preferably a simple one.

Kawanaao commented 3 days ago

Then can you also check the misbehavior of Electron in your system?

I need a repro scenario. Preferably a simple one.

VSCode simply closes when selecting "File" from the menu bar. There are also problems with Webcord from thegreatmcpain overlay. I replaced electron-31 with electron-32, after which the "File > Settings" window constantly blinked, and Webcord itself did not start without loading in error-ignoring mode.

I'll also try to film the errors themselves

PF4Public commented 3 days ago

VSCode simply closes when selecting "File" from the menu bar.

image Does not close

after which the "File > Settings" window constantly blinked

image Does not blink

Kawanaao commented 2 days ago

ehh..?

Screencast_20241016_124017.webm

Screencast_20241016_124753.webm

PF4Public commented 2 days ago

Have you seen #380? It looks exactly the same as your crashes. It would help if you could build electron with -ggdb3 (as suggested on https://wiki.gentoo.org/wiki/Debugging) and obtain a complete backtrace.