From: ruby-lang@... Date: 2018-04-11T22:22:32+00:00 Subject: [ruby-core:86517] [Ruby trunk Bug#13670] [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301) Issue #13670 has been updated by fig (Phil Ferne). Can confirm this still happening in 2.5.1 ~~~ ruby 2.5.1p57 (2018-03-29 revision 63029) [armv7l-linux-eabihf] bootsnap (1.3.0) Rails 5.2.0 ~~~ Rails adds bootsnap to a new app by default as of version 5.2.0 any call to `rails` (`rails console`, `rails server`, `rails credentials:edit`, etc) produces ~~~ bootsnap-1.3.0/lib/bootsnap/compile_cache/iseq.rb:18: [BUG] Bus Error at 0x55ae31f7 ~~~ ### Temporary fix for Rails >= 5.2.0 edit `config/boot.rb` comment out or remove the following line: ~~~ ruby require 'bootsnap/setup' # Speed up boot time by caching expensive operations. ~~~ ---------------------------------------- Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301) https://bugs.ruby-lang.org/issues/13670#change-71458 * Author: mrohnstock (Mathias Rohnstock) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.4p301 (2017-03-30 revision 58214) [armv7l-linux-eabihf] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- On using the library bootsnap the error occurred (see attachment). The developer of the library suggested to report this directly to the ruby-devs, as it looks like a bug in core. Related issue on GitHub: https://github.com/Shopify/bootsnap/issues/67. Thanks :). ---Files-------------------------------- dump.log (54.1 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: