Object allocation during garbage collection phase when compile asset


We are using 2.2.2p95 and Rails 4 running on Ubuntu 14.04 LTS. When we
compile assets, sometimes we get messages that looks like below. After
looking at the version 2.2.2 change log (there are some changes in GC)
and recent threads, there were reports on similar issue, but with SSL.
Has anyone run into this issue?


==== error message =====
[BUG] object allocation during garbage collection phase
*** ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]

*** – Control frame information

*** c:0055 p:---- s:0251 e:000250 CFUNC :gsub
*** c:0054 p:0039 s:0246 e:000245 METHOD
*** c:0053 p:---- s:0242 e:000241 CFUNC
*** :generate
*** c:0052 p:0130 s:0238 e:000237 METHOD
*** c:0051 p:0022 s:0232 e:000231 METHOD
*** c:0050 p:0019 s:0228 e:000227 METHOD