From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS44668 176.122.88.0/21 X-Spam-Status: No, score=-2.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,KHOP_HELO_FCRDNS,NO_DNS_FOR_FROM, SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from MacBook-Pro.localdomain (pointiessone.znet.kiev.ua [176.122.88.76]) by dcvr.yhbt.net (Postfix) with ESMTP id 9F4211F454 for ; Tue, 5 Nov 2019 18:13:49 +0000 (UTC) Received: by MacBook-Pro.localdomain (Postfix, from userid 501) id CA2D22A258A4; Tue, 5 Nov 2019 20:13:48 +0200 (EET) From: alex@pointless.one To: mwrap-public@80x24.org In-Reply-To: <20191105145617.B9BF92A1FFFF@MacBook-Pro.localdomain> Subject: SegFault in mwrap 2.1 on Ruby 2.4.7 Message-Id: <20191105181348.CA2D22A258A4@MacBook-Pro.localdomain> Date: Tue, 5 Nov 2019 20:13:48 +0200 (EET) List-Id: Apparently, Ruby internals have changed between 2.4 and 2.5. Specifically the following definitions are not correct for Ruby 2.4: mwrap.c: 28 extern void * __attribute__((weak)) ruby_current_execution_context_ptr; 29 extern void * __attribute__((weak)) ruby_current_vm_ptr; /* for rb_gc_count */ They can be found in ruby/vm_core.h in Ruby 2.5+ but not in Ruby 2.4. That said, I don't know what the right definitions are for Ruby 2.4 or if it's possible to make mwrap copatible with Ruby 2.4. -- Alex