From: Greg.mpls@... Date: 2018-09-26T23:29:51+00:00 Subject: [ruby-core:89183] [Ruby trunk Bug#15162] Encoding::Converter.search_convpath(Encoding::ASCII_8BIT, Encoding::Emacs_Mule) crashes on MinGW Issue #15162 has been updated by MSP-Greg (Greg L). @hsbt, thanks for the work on this. I (quickly) did a lambda in a block, and that didn't cause the SEGV. Using existing ruby-loco builds (I save all of them locally), I found that the issue doesn't exist on: ruby 2.6.0dev (2018-09-26 trunk 64845) [x64-mingw32] but does exist on: ruby 2.6.0dev (2018-09-26 trunk 64851) [x64-mingw32] I'll check the patch later, Greg ---------------------------------------- Bug #15162: Encoding::Converter.search_convpath(Encoding::ASCII_8BIT, Encoding::Emacs_Mule) crashes on MinGW https://bugs.ruby-lang.org/issues/15162#change-74210 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0dev (2018-09-26) [x64-mingw32] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- It seems to work fine with String arguments, but not Encoding objects where it SEGV, at least in some runs. See https://github.com/ruby/ruby/commit/f00bf242724d40d59a242c6bf9e567d18c9e1872#commitcomment-30650955 cc @MSP-Greg ---Files-------------------------------- 0001-transcode.c-add-GC-guard-on-raise.patch (1.04 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: