You are not logged in.

#26 2023-02-08 22:31:57

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

Haven't been at my computer at all for the past week, so I haven't been able to test your latest theory, but it seems we're at an impasse. I think I'm going to try uninstalling every package, see if it makes a difference, if not, nuke my root dirs (not home) and see if that fixes it. Because I know for certain that a full reinstall will fix the issue, but this is similar.

Last edited by TheOnlyPhoenix (2023-02-08 22:33:57)

Offline

#27 2023-02-09 07:23:32

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

Because I know for certain that a full reinstall will fix the issue, but this is similar.

How do you know?

I haven't been able to test your latest theory, but it seems we're at an impasse

W/ latest theory you mean to fix your cursor theme(s)?
And if you haven't tried, how is this an impasse?

Offline

#28 2023-02-09 07:28:26

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

I know it fixes it because it has done so on the previous two installations that have ended up with segfaulting electron apps (well, a temporary fix, at least). I did try the cursor theme fix, but to no avail. What I haven't checked is the JavaScript stuff (I just haven't had the time). Maybe there is some underlying issue with my, but i really don't see how that could be the case.

Offline

#29 2023-02-11 13:59:42

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

Well, I've just shot myself in the foot, apparently. It wasn't "for certain" that a reinstall would fix it, it seems. Reinstalled Arch, only have the bare minimum of packages needed to test for the issue. It persists after reinstall. I'm at a loss here. At this point I just want to be rid of Arch.

Any other theories/stuff you want me to try?

Offline

#30 2023-02-11 14:11:30

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

You're running KDE? Try the behavior in an openbox session (not replacing kwin w/ openbox, but purely openbox. No KDE)

Did you retain your previous $HOME?

Offline

#31 2023-02-11 14:13:20

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

No, I'm running BSPWM. KDE is not installed. Previous $HOME was retained, yes.
I'll try openbox too though.

Offline

#32 2023-02-11 14:34:17

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

Ah, yeah - sorry (I just skimmed the previous page and saw sddm and kde from xdg-portal)
And you already tried a test user as well.

The WM might still be of relevance (if eg. bspwm tries to tile the DnD icon window)

Offline

#33 2023-02-11 15:31:37

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

A pure openbox session has no effect, I still get segfaults. I have tried a test user, yes.

Offline

#34 2023-02-11 16:04:23

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

For clarification:
The other thread has electron crashing on them when they select some text and start dragging that.
Same?
The repo version of chromium (no flatpak or any of this nonsense even installed) is affected as well?

And, lastly and because I saw libnotify in discord and some synapses fired:
Install and run https://archlinux.org/packages/community/x86_64/dunst/

Offline

#35 2023-02-11 16:24:50

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

Selecting and dragging text does crash as well, both in Discord and anywhere in Chromium (straight from the Arch repos, nothing weird installed). Wootility crashes simply when hovering over certain elements.
running dunst gives this:

CRITICAL: [dbus_cb_name_lost:1044] Cannot acquire 'org.freedesktop.Notifications': Name is acquired by 'dunst' with PID '36189'.

Offline

#36 2023-02-11 16:40:22

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

So you're in the same camp as https://bbs.archlinux.org/viewtopic.php?id=282979 (you're not alone \o/) but unfortunately it's not the missing notification service sad
(I had hoped so because of the dbus-smelling strace and since there were other treads w/ misbehaving clients because of the absence of a notification service)

It's gonna be because of the dnd popup (I assume the elements in wootility would show a tooltip?), but I can't see why hmm
You're running adwaita, not some custom theme?
Maybe a missing font family?
CJK text?

Offline

#37 2023-02-11 17:19:57

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

I had a notification service on the last install, and it didn't change anything.
I think I'm running adwaita, but honestly I'm not sure. I am using a custom cursor theme, but that's it.
These are the font families i have installed:

fonts-meta-base fonts-meta-extended-lt ttf-ubuntu-font-family ttf-sarasa-gothic noto-fonts noto-fonts-emoji noto-fonts-extra ttf-dejavu ttf-fira-mono

Offline

#38 2023-02-11 21:02:54

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

I am using a custom cursor theme

To be sure: when running the testuser you did *not* use that theme?

There must be a difference between this machine and the ones you "re-installed" successfully (I put that in quotes because obviously something will have changed during this re-installation)
Some package that you re-installed on the broken system or did not install on the broken system?
A (global) configuration change you only made here?
Are other fonts installed on the other machines?
Some input handler (fcitx etc)?
Do you configure pulseaudio/pipewire equally across the machines?

Try to

export NO_AT_BRIDGE=1

Offline

#39 2023-02-12 22:02:29

TheOnlyPhoenix
Member
Registered: 2023-01-30
Posts: 20

Re: Electron applications crash with Segmentation Fault

To be sure: when running the testuser you did *not* use that theme?

I think I was using it, I'm not 100% sure.

I've messed around a bit with cursors now, and (un?)surprisingly, after switching to the standard Adwaita cursor, everything seems to work fine with it? I haven't seen any crashes from either Chromium web apps, nor from selecting and dragging text, nor from either of the three desktop apps.
This is the cursor I have been using which seems to be broken
I can live with not using other cursors but it seems incredibly weird (and is also slightly annoying). And yes, I did try your cursor fix thing.
I think we can probably say that this is solved then? Thank you so, so much for your help. If you want to try to continue troubleshooting that cursor theme, I'm all for it.

Offline

#40 2023-02-13 05:10:42

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: Electron applications crash with Segmentation Fault

(un?)surprisingly, after switching to the standard Adwaita cursor, everything seems to work fine with it

Called it tongue

Probably so did my 10 year younger self:

*** WARNING *** No usable cursor for ALIAS
*** WARNING *** No usable cursor for COPY
 ALIAS="dnd-link link alias 3085a0e285430894940527032f8b26df 640fb0e74195791501fd1ed57b41487f a2a266d0498c3104214a47bd64ab0fc8"
  COPY="dnd-copy copy 1081e37283d90000800003c07f3ef6bf 6407b0e94181790501fd1e167b474872 b66166c04f8c3109214a4fbd64a50fc8"

You could try to use dnd-move for those.

Offline

Board footer

Powered by FluxBB