BUG] Segmentation fault at 0xffffffffffffff8c ruby 2.6.10p210(2022-04-12 revision 67958)[universal.x86_64-darwin22]

5gfr0r5j  于 2023-08-04  发布在  Ruby
关注(0)|答案(1)|浏览(159)

M1芯片MacBook Pro在pod install后产生此错误。有人知道如何解决这个问题吗?

-- Control frame information -----------------------------------------------
c:0013 p:---- s:0067 e:000066 CFUNC  :multi_perform
c:0012 p:0016 s:0061 e:000060 METHOD /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb:212
c:0011 p:0028 s:0055 e:000054 METHOD /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb:201
c:0010 p:0038 s:0049 e:000048 METHOD /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb:50
c:0009 p:0012 s:0044 e:000043 METHOD /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/runnable.rb:15
c:0008 p:0005 s:0040 e:000039 METHOD /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/memoizable.rb:51 [FINISH]
c:0007 p:0009 s:0036 e:000034 METHOD /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352
c:0006 p:0042 s:0027 e:000026 BLOCK  /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:343 [FINISH]
c:0005 p:---- s:0021 e:000020 CFUNC  :loop
c:0004 p:0006 s:0017 e:000016 BLOCK  /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334 [FINISH]
c:0003 p:---- s:0014 e:000013 CFUNC  :catch
c:0002 p:0008 s:0009 e:000008 BLOCK  /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:333 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]

字符串
我只是想像往常一样安装pod。这一次它给了我上面的错误

9avjhtql

9avjhtql1#

ethon是libcurl的 Package 器。如果您已更新curl(例如使用brew upgrade),它的二进制编程接口可能与最初编译ethon时不同。
要解决这个问题,您可以尝试卸载现有的ethongem

gem uninstall ethon

字符串
并将其作为pod install的一部分重新安装。

相关问题