[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

Issue #14937 has been reported by normalperson (Eric Wong).

9 messages 2018/07/24

[ruby-core:87772] [Ruby trunk Bug#14894] Segfault loading iseqs

From: sam.saffron@...
Date: 2018-07-03 23:53:01 UTC
List: ruby-core #87772
Issue #14894 has been reported by sam.saffron (Sam Saffron).

----------------------------------------
Bug #14894: Segfault loading iseqs 
https://bugs.ruby-lang.org/issues/14894

* Author: sam.saffron (Sam Saffron)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Follow up on https://github.com/Shopify/bootsnap/issues/172 

In particular:

https://gist.githubusercontent.com/SamSaffron/1fe47b86374823fb620a6a29c83538ec/raw/c7e7b8f9bd605ab066bd66258ec76eab6df7fdff/dump.txt


Seeing a segfault in Ruby trunk during ibf_load_iseq_each which is likely GC related. 

To repro, check out Discourse and run `bundle exec rails c` happens one in N times.

This is looks GC related. 

It may be triggered by bootsnap (and bootsnap's issue) here which appears to be handing around VALUE* so maybe one of these is not properly protected. 

https://github.com/Shopify/bootsnap/blob/4d0b042b1f20e67ee7f05487cba0065fe4d80c91/ext/bootsnap/bootsnap.c#L723-L750

Issue does not appear to happen on 2.5.1 or lower






-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next