Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libatomic1 required on Linux to run #20

Open
iAdanos opened this issue Nov 17, 2024 · 1 comment
Open

libatomic1 required on Linux to run #20

iAdanos opened this issue Nov 17, 2024 · 1 comment

Comments

@iAdanos
Copy link

iAdanos commented Nov 17, 2024

Hey!

Tried fresh release on fresh installation of Kubuntu 24.04 LTS.

After unpacking and running got this error (and it's it, nothing working):

$ /opt/CircuitJS1/CircuitSimulator 
[1117/144745.722918:ERROR:zip_reader.cc(132)] Cannot open ZIP from file handle 3
[1117/144745.722987:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3
[17881:17881:1117/144745.943415:FATAL:nw_content_renderer_hooks.cc(53)] Failed to load node library (error: libatomic.so.1: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)
#0 0x7f68979333c0 (/opt/CircuitJS1/lib/libnw.so+0x3d333bf)
#1 0x7f6897940097 (/opt/CircuitJS1/lib/libnw.so+0x3d40096)
#2 0x7f689aaaba80 (/opt/CircuitJS1/lib/libnw.so+0x6eaba7f)
#3 0x7f689aaf0527 (/opt/CircuitJS1/lib/libnw.so+0x6ef0526)
#4 0x7f6897632c72 (/opt/CircuitJS1/lib/libnw.so+0x3a32c71)
#5 0x7f6897633748 (/opt/CircuitJS1/lib/libnw.so+0x3a33747)
#6 0x7f68976318ee (/opt/CircuitJS1/lib/libnw.so+0x3a318ed)
#7 0x7f6897632041 (/opt/CircuitJS1/lib/libnw.so+0x3a32040)
#8 0x7f689576c9dd ChromeMain
#9 0x7f689382a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
#10 0x7f689382a28b __libc_start_main
#11 0x64fcb991bf3a _start
Crash keys:
  "switch-27" = "--user-data-dir=/home/innos/.config/CircuitSimulator"
  "switch-26" = "--enable-smooth-scrolling"
  "switch-25" = "--back-forward-cache"
  "switch-24" = "--enable-parallel-downloading"
  "switch-23" = "--canvas-oop-rasterization"
  "switch-22" = "--enable-drdc"
  "switch-21" = "--enable-zero-copy"
  "switch-20" = "--enable-gpu-rasterization"
  "switch-19" = "--ignore-gpu-blocklist"
  "switch-18" = "--enable-crashpad"
  "switch-17" = "--field-trial-handle=0,i,16457191533412459221,180066908473719685"
  "switch-16" = "--shared-files=v8_context_snapshot_data:100"
  "switch-15" = "--launch-time-ticks=1480551216"
  "switch-14" = "--renderer-client-id=5"
  "switch-13" = "--enable-main-frame-before-activation"
  "switch-12" = "--enable-zero-copy"
  "switch-11" = "--num-raster-threads=4"
  "switch-10" = "--lang=ru"
  "switch-9" = "--no-zygote"
  "switch-8" = "--no-sandbox"
  "switch-7" = "--change-stack-guard-on-fork=enable"
  "switch-6" = "--display-capture-permissions-policy-allowed"
  "switch-5" = "--extension-process"
  "switch-4" = "--nwjs"
  "switch-3" = "--nwapp-path=/opt/CircuitJS1/package.nw"
  "switch-2" = "--user-data-dir=/home/username/.config/CircuitSimulator"
  "switch-1" = "--enable-crash-reporter=,"
  "num-switches" = "28"

[17887:17887:1117/144745.952306:FATAL:nw_content_renderer_hooks.cc(53)] Failed to load node library (error: libatomic.so.1: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)
#0 0x7eccc07333c0 (/opt/CircuitJS1/lib/libnw.so+0x3d333bf)
#1 0x7eccc0740097 (/opt/CircuitJS1/lib/libnw.so+0x3d40096)
#2 0x7eccc38aba80 (/opt/CircuitJS1/lib/libnw.so+0x6eaba7f)
#3 0x7eccc38f0527 (/opt/CircuitJS1/lib/libnw.so+0x6ef0526)
#4 0x7eccc0432c72 (/opt/CircuitJS1/lib/libnw.so+0x3a32c71)
#5 0x7eccc0433748 (/opt/CircuitJS1/lib/libnw.so+0x3a33747)
#6 0x7eccc04318ee (/opt/CircuitJS1/lib/libnw.so+0x3a318ed)
#7 0x7eccc0432041 (/opt/CircuitJS1/lib/libnw.so+0x3a32040)
#8 0x7eccbe56c9dd ChromeMain
#9 0x7eccbc62a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
#10 0x7eccbc62a28b __libc_start_main
#11 0x6192957c5f3a _start
Crash keys:
  "switch-27" = "--user-data-dir=/home/username/.config/CircuitSimulator"
  "switch-26" = "--enable-smooth-scrolling"
  "switch-25" = "--back-forward-cache"
  "switch-24" = "--enable-parallel-downloading"
  "switch-23" = "--canvas-oop-rasterization"
  "switch-22" = "--enable-drdc"
  "switch-21" = "--enable-zero-copy"
  "switch-20" = "--enable-gpu-rasterization"
  "switch-19" = "--ignore-gpu-blocklist"
  "switch-18" = "--enable-crashpad"
  "switch-17" = "--field-trial-handle=0,i,16457191533412459221,180066908473719685"
  "switch-16" = "--shared-files=v8_context_snapshot_data:100"
  "switch-15" = "--launch-time-ticks=1480561808"
  "switch-14" = "--renderer-client-id=6"
  "switch-13" = "--enable-main-frame-before-activation"
  "switch-12" = "--enable-zero-copy"
  "switch-11" = "--num-raster-threads=4"
  "switch-10" = "--lang=ru"
  "switch-9" = "--no-zygote"
  "switch-8" = "--no-sandbox"
  "switch-7" = "--change-stack-guard-on-fork=enable"
  "switch-6" = "--display-capture-permissions-policy-allowed"
  "switch-5" = "--extension-process"
  "switch-4" = "--nwjs"
  "switch-3" = "--nwapp-path=/opt/CircuitJS1/package.nw"
  "switch-2" = "--user-data-dir=/home/username/.config/CircuitSimulator"
  "switch-1" = "--enable-crash-reporter=,"
  "num-switches" = "28"

libva error: vaGetDriverNames() failed with unknown libva error

The solution to run was to install libatomic1:

sudo apt install libatomic1

Now the app is starting, it seems to be ok, the only messages i get in the terminal are:

[1117/145643.827419:ERROR:zip_reader.cc(132)] Cannot open ZIP from file handle 3
[1117/145643.827486:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3
libva error: vaGetDriverNames() failed with unknown libva error

I suspect that it's related to NVidia GPU installed on my PC.

  1. Hope this knowledge will help people with same problem
  2. It would be great to pack libatomic1 to the distribution or to write somewhere that there is a requirement for it
  3. It would be great to have a solution for the warning that remains

// BTW, @SEVA77, Thanks a lot for what you're doing, your distribution is something brilliantly needed.

@SEVA77
Copy link
Owner

SEVA77 commented Nov 17, 2024

Thanks for reporting the problem. It seems that I have already found what is wrong and I will try to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants