4

这些天发生了一些奇怪的事情。

有时在推送到 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)已损坏

为什么会这样?

4

1 回答 1

1

这发生在我身上,我尝试了第二次,它奏效了。它看起来像是某种 Heroku 故障。

于 2013-10-08T19:07:10.500 回答