From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 7763E1F404 for ; Wed, 11 Apr 2018 22:22:42 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id C1DFB120946; Thu, 12 Apr 2018 07:22:38 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 0FD3A120945 for ; Thu, 12 Apr 2018 07:22:35 +0900 (JST) Received: by filter0011p3las1.sendgrid.net with SMTP id filter0011p3las1-2324-5ACE8AA7-75 2018-04-11 22:22:32.021329492 +0000 UTC Received: from herokuapp.com (ec2-54-162-228-170.compute-1.amazonaws.com [54.162.228.170]) by ismtpd0021p1iad2.sendgrid.net (SG) with ESMTP id SFnjc-dFQs6D2-ViYxTl2Q Wed, 11 Apr 2018 22:22:31.787 +0000 (UTC) Date: Wed, 11 Apr 2018 22:22:32 +0000 (UTC) From: ruby-lang@thebeach.plus.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 61867 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13670 X-Redmine-Issue-Author: mrohnstock X-Redmine-Sender: fig X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5X7LOyVXfyozHm8XG+WqeUt2HHObxZTdhynI DSX01CchJn+B99wCWfkflj19LG3D1J2fRyT/U6inThHkCeoQf4RSfp3OR+KNMHWUXiziQ+sXQkQWVk lMHiSjAf65Rccq9SB+v3f2dlLS7uWcClkUpFkO6Fdv6VLmoCucX/61TqBg== X-ML-Name: ruby-core X-Mail-Count: 86517 Subject: [ruby-core:86517] [Ruby trunk Bug#13670] [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301) X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/