这些天发生了一些奇怪的事情。
有时在推送到heroku时我会遇到以下错误:
<internal:prelude>:8:in `lock': deadlock detected (fatal)
from <internal:prelude>:8:in `synchronize'
from /app/tmp/buildpacks/ruby/vendor/lpxc.rb:57:in `puts'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:10:in `bench_msg'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:23:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:43:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:39:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/ruby.rb:261:in `install_ruby'
from /app/tmp/buildpacks/ruby/lib/language_pack/ruby.rb:87:in `block in compile'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:19:in `block (2 levels) in instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:41:in `yield_with_block_depth'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:18:in `block in instrument'
from /usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:17:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:43:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:39:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/ruby.rb:84:in `compile'
from /app/tmp/buildpacks/ruby/lib/language_pack/rails2.rb:48:in `block in compile'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:19:in `block (2 levels) in instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:41:in `yield_with_block_depth'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:18:in `block in instrument'
from /usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:17:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:43:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:39:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/rails2.rb:46:in `compile'
from /app/tmp/buildpacks/ruby/lib/language_pack/rails3.rb:37:in `block in compile'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:19:in `block (2 levels) in instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:41:in `yield_with_block_depth'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:18:in `block in instrument'
from /usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:17:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:43:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:39:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/rails3.rb:36:in `compile'
from /app/tmp/buildpacks/ruby/bin/compile:12:in `block (2 levels) in <main>'
from /app/tmp/buildpacks/ruby/lib/language_pack/base.rb:113:in `log'
from /app/tmp/buildpacks/ruby/bin/compile:11:in `block in <main>'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:36:in `call'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:36:in `block in trace'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:19:in `block (2 levels) in instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:41:in `yield_with_block_depth'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:18:in `block in instrument'
from /usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:17:in `instrument'
from /app/tmp/buildpacks/ruby/lib/language_pack/instrument.rb:36:in `trace'
from /app/tmp/buildpacks/ruby/bin/compile:9:in `<main>'
! Push rejected, failed to compile Ruby/Rails app
但是,如果我在这之后再次推动几次,那么一切正常。发生了什么事? 有时我甚至得到那个
致命:looseobjecta35c1489005cca1ffeb3c2d3e4d63988408b6a24(storedin.git / objects / a3 / 5c1489005cca1ffeb3c2d3e4d63988408b6a24)已损坏
为什么会发生这种情况?
答案 0 :(得分:1)
这发生在我身上,我第二次尝试了,但它确实奏效了。它看起来像某种Heroku故障。