mini_racer not starting: `ZSt28__throw_bad_array_new_lengthv: symbol not found (LoadError)`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, javascript, linux, ruby
Hướng nghiên cứu
Start by reading the mini_racer loading path in lib/mini_racer.rb:14 and the native extension packaging/build setup for the x86_64-linux-musl platform. Reproduce the reported LoadError in Alpine Linux with Ruby 2.7.2 and mini_racer 0.6.4, then trace the missing symbol and check related issue #63. Done means the extension loads successfully in that environment, with a regression check covering the Alpine setup.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi folks, I'm trying to use mini_racer in an environment in a Alpine LInux Docker container, with Ruby 2.7.2 and Rails 6.1.1. I understand this issue might be related to #63, but bear with me for a second.
When running bundle install, this is what I got:
Installing libv8-node 16.19.0.1 (x86_64-linux-musl)
Fetching mini_racer 0.6.4
Installing mini_racer 0.6.4 with native extensions
Updating files in vendor/cache
* libv8-node-16.19.0.1-x86_64-linux-musl.gem
* mini_racer-0.6.4.gem
The above messages led me to believe that there are in fact prebuilt libraries for this environment and everything would be okay, but when trying to start Rails afterwards... _ZSt28__throw_bad_array_new_lengthv: symbol not found (LoadError):
1: from /app/vendor/ruby/2.7.0/gems/mini_racer-0.6.4/lib/mini_racer.rb:14:in `<main>'
/app/vendor/ruby/2.7.0/gems/mini_racer-0.6.4/lib/mini_racer.rb:14:in `load': Error relocating /app/vendor/ruby/2.7.0/extensions/x86_64-linux-musl/2.7.0/mini_racer-0.6.4/mini_racer_extension.so: _ZSt28__throw_bad_array_new_lengthv: symbol not found (LoadError)
(I can provide the full stack trace if necessary).
Is this a case of mini_racer and/or libv8-node not working in Alpine, or should this setup be working and it's something else? Thanks.
- Ngôn ngữ chính
- JavaScript
- Star
- 628
- Fork
- 100
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rubyjs/mini_racer
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
rubyjs/mini_racer#449 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
rubyjs/mini_racer#450 ·
-
Snapshot.load accepts a blob from another V8 version, and Context.new then kills the processĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
rubyjs/mini_racer#448 ·
-
bug/crash platform: linux/x86
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
rubyjs/mini_racer#422 · 10 bình luận ·
-
platform: darwin/x86
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
rubyjs/mini_racer#388 · 4 bình luận ·
Tất cả issue của rubyjs/mini_racer
Issue tương tự
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Update to mocha 12.xĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rescript-lang/rescript#8996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Ministerstvoidey.ruĐang mởcheck:passed logos:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100