nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.39k stars 3.88k forks source link

nwjs-v0.76.0-linux-ia32 fails on Debian 11 i686 Kernel 5.10.178-3 (2023-04-22) #8068

Open ckir opened 1 year ago

ckir commented 1 year ago

Issue Type

Before opening an issue, please search and see if it has already been raised.

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

Not starting at all. Just prints "Illegal instruction" and exits

Expected/Proposed Behavior

Additional Info

ayushmanchhabra commented 1 year ago

@ckir Could you try v0.76.1? It was released in the last 24hrs.

ckir commented 1 year ago

@ckir Could you try v0.76.1? It was released in the last 24hrs.

I just did. No changes. Still prints "Illegal instruction" and exits

npn225 commented 1 year ago

Hey @tharatau and @rogerwang,

I can also attest to NW.js failing on Linux - I'm using an Arch-based distro!

NOTE: I am using and thus, referring to the x86-64 version of this software. Not the ia32 version.

My problem occurs with version 0.76.1 of NW.js and is exactly the same as the one that was here ( #7963 ) a while back

I'm specifically getting the below errors:

[0518/011745.921875:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0518/011745.922564:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1014165:1014165:0518/011749.130253:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr
[1014165:1014165:0518/011749.130319:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE.

Hope all this info can help clear things up.

npn225 commented 1 year ago

Hey @ckir,

Can you check for the latest version of NW.js that runs on your Debian system?

For my Arch-based Linux system, the latest version of NW.js that doesn't completely crash and fail on me is v0.72.0, which was last modified by the NW.js developers on 13-Jan-2023.

Versions v0.73.0, v0.74.0, v0.75.0, v0.75.1, v0.76.0, and v0.76.1 all crash and completely fail for me.

NOTE: I am using and thus, referring to the x86-64 version of this software. Not the ia32 version.

All of them produce the same error I stated above which is shown again below:

[0518/011745.921875:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0518/011745.922564:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1014165:1014165:0518/011749.130253:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr
[1014165:1014165:0518/011749.130319:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE.

Curious enough, even though v0.72.0 doesn't crash on me, it also shows the errors seen below:

[1014165:1014165:0518/011749.130253:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr
[1014165:1014165:0518/011749.130319:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE.

Once again @ckir, if you are willing, can you check to see what latest version of NW.js can actually work/run on your Debian Linux system?

It would probably help @rogerwang and @tharatau solve this issue.

Thanks in advance.

ckir commented 1 year ago

Hi @npn225

Last working is nwjs-v0.48.4-linux-ia32. Problems start at nwjs-v0.49.0-linux-ia32 and they get worst afterwards

npn225 commented 1 year ago

Thanks for responding @ckir.

Like I stated, I was able to get v0.72.0 to work for me without crashing.

This might mean that we are facing different issues/problems with the latest version (v0.76.1) of NW.js.

I'll keep an eye on this thread for any further developments.

ckir commented 1 year ago

@npn225 I just tested nwjs-v0.72.0-linux-ia32 and it crashes like the others. Out of curiosity may I ask you why you need ia32 architecture on your x86-64 Arch-based Linux system?

npn225 commented 1 year ago

@npn225 I just tested nwjs-v0.72.0-linux-ia32 and it crashes like the others. Out of curiosity may I ask you why you need ia32 architecture on your x86-64 Arch-based Linux system?

Hey @ckir,

Now I see why so many versions of yours are failing.

I didn't notice that you are using ia32 architecture version.

I just assumed that you are using the x86-64 architecture. I should read more! :smile:

Don't know if I should open a separate issue for what I'm dealing with.