elinks icon indicating copy to clipboard operation
elinks copied to clipboard

"ERROR at ../src/main/select.c:585: The call to select() failed: 22 (Invalid argument)"

Open mglh opened this issue 11 months ago • 3 comments

Issue

  • When elinks is started, only the abovementioned message is displayed,
    and repeated approximately every second.

elinks version

  • "v0.16.1.1-r0"

OS

  • Alpine Linux 3.19.0 x86

strace

  • https://pastebin.com/v9PEZK8w

At first I assumed that this may be a problem with Alpine Linux,
but the above mentioned issue occured with NetBSD 9.3 as well.
I've tried the prebuilt binary package, which is on "v0.16.0nb3".

Could the cause be related to the fact that my device and hence
the OS is 32-bit?

Device

  • ASUS Eee PC 701 4G

cpuinfo

  • https://pastebin.com/DV1dBEpE

mglh avatar Mar 23 '24 08:03 mglh

Did you try binaries from Releases section of github? There are static binaries compiled on Alpine Linux. Could you check if there is the same error for them? elinks-lite is without js compiled-in, and elinks is with js.

rkd77 avatar Mar 23 '24 13:03 rkd77

AFAIR, it was fixed in 0.17.0 in these two commits: f91d214820ba1eff6cbff433d6081f2ee386372b 8d0054041b02d19c1b5d82d4b1bb42feee291a12

rkd77 avatar Mar 23 '24 15:03 rkd77

Did you try binaries from Releases section of github? There are static binaries compiled on Alpine Linux. Could you check if there is the same error for them?

From tomorrow on I will be away from home for some days. I'll try it when I'm back.

mglh avatar Mar 23 '24 20:03 mglh

I can confirm that on my device with Alpine Linux v3.19 x86 the aforementioned erroneous behavior does not appear with the statically compiled binary of v0.17.0. Therefore I assume that the underlying error has been fixed in the meantime.

mglh avatar Apr 20 '24 05:04 mglh