mini_racer not starting: `ZSt28__throw_bad_array_new_lengthv: symbol not found (LoadError)`
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, javascript, linux, ruby
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- JavaScript
- 星标
- 628
- 派生
- 100
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 2
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rubyjs/mini_racer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
rubyjs/mini_racer#449 ·
-
难度 4/5 3-5 天 新手友好度 52/100
rubyjs/mini_racer#450 ·
-
难度 4/5 3-5 天 新手友好度 52/100
rubyjs/mini_racer#448 ·
-
bug/crash platform: linux/x86
难度 4/5 3-5 天 新手友好度 42/100
rubyjs/mini_racer#422 · 10 条评论 ·
-
platform: darwin/x86
难度 4/5 3-5 天 新手友好度 35/100
rubyjs/mini_racer#388 · 4 条评论 ·
查看 rubyjs/mini_racer 的全部 Issue
相似的 Issue
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
DepressionCenter/agentprise#50 ·
维护者通常 1 天内回复
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 82/100
ccomkhj/product-demo#10 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 73/100
-
`at-root-no-redundant` suggested fix breaks `@at-root { ... }` (at-root not followed by a selector)未关闭
难度 2/5 1-3 小时 新手友好度 82/100
stylelint-scss/stylelint-scss#1368 ·