We are building our app using Ruby 4.2.1 and Rails 4.2.0.
After we upgraded ruby from 2.2.1 to 4.2.1, I started having exit code 134 error on Circle CI.
Strangely, when I had the error, if I run the same spec on my local environment for the exact same brunch, it passes all the test always.
Mostly, Error message is kind like this
*** Error in `/opt/circleci/ruby/ruby-2.4.1/bin/ruby’: free(): invalid pointer: 0x00007ff9dae68450 ***
Currently we are rebuilding the same brunch and it passes if we rebuild it over and over
(Actually, I rebuild the same brunch 4 times today to get passed.)
Do any of you guys having the same kind of problems?
Could you give me some advice?