[SOLVED] NodeJS segfaults immediately only on ARMv7h

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[SOLVED] NodeJS segfaults immediately only on ARMv7h

Postby Malvineous » Sat Nov 06, 2021 2:23 pm

I have installed the latest NodeJS package (nodejs-16.11.1-1) however every time I run /usr/bin/node it immediately segfaults.

Is it just me? Can anyone else run this version of NodeJS on their ARMv7h device? I installed the same version from the ARMv6h repo on an ARMv6h device (Raspberry Pi 1) and it works fine, it's just the ARMv7h (Raspberry Pi 3) that segfaults.

No other program on the ARMv7h device seems to have any problem, so I'm wondering whether it's my device at fault or whether it's a problem with this package version.

If the problem is my device, any idea where to start troubleshooting, given every other program I've tried works without problem?
Last edited by Malvineous on Sat Nov 06, 2021 2:26 pm, edited 1 time in total.
Malvineous
 
Posts: 42
Joined: Sat Mar 11, 2017 1:45 pm

Re: NodeJS segfaults immediately only on ARMv7h

Postby Malvineous » Sat Nov 06, 2021 2:26 pm

Sorry for the noise - as soon as I posted that message I remembered getting an error earlier about one of the packages being corrupted just after download. I changed the NFS mount to have a 10 second timeout and I think this caused some writes to fail.

I tried removing the nodejs package from /var/cache/pacman/pkg and reinstalling it to force a redownload and this fixed the problem.

So it looks like it downloaded ok, the signature passed, but the actual install process of extracting the package onto the filesystem ended up corrupting some of the files - scary.
Malvineous
 
Posts: 42
Joined: Sat Mar 11, 2017 1:45 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 25 guests