[#107867] Fwd: [ruby-cvs:91197] 8f59482f5d (master): add some tests for Unicode Version 14.0.0 — Martin J. Dürst <duerst@...>
To everybody taking care of continuous integration:
3 messages
2022/03/13
[#108090] [Ruby master Bug#18666] No rule to make target 'yaml/yaml.h', needed by 'api.o' — duerst <noreply@...>
Issue #18666 has been reported by duerst (Martin D端rst).
7 messages
2022/03/28
[#108117] [Ruby master Feature#18668] Merge `io-nonblock` gems into core — "Eregon (Benoit Daloze)" <noreply@...>
Issue #18668 has been reported by Eregon (Benoit Daloze).
22 messages
2022/03/30
[ruby-core:107862] [Ruby master Bug#18458] Segmentation fault when missing Warning#warn method
From:
"nagachika (Tomoyuki Chikanaga)" <noreply@...>
Date:
2022-03-12 07:57:58 UTC
List:
ruby-core #107862
Issue #18458 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: REQUIRED, 3.1: DONE to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONE, 3.1: DONE ruby_3_0 e18e6af604786be481115c7340c1450332615b57 merged revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5. ---------------------------------------- Bug #18458: Segmentation fault when missing Warning#warn method https://bugs.ruby-lang.org/issues/18458#change-96801 * Author: etienne (テ液ienne Barriテゥ) * Status: Closed * Priority: Normal * ruby -v: 3.1.0p0 * Backport: 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONE, 3.1: DONE ---------------------------------------- If you remove the `Warning#warn` method and call `Kernel#warn`, you get a segmentation fault: ruby 3.1.0: ``` $ ruby -e 'Warning.undef_method(:warn); warn ""' 2>&1 | head -2 <internal:warning>:51: [BUG] Segmentation fault at 0x0000000000000010 ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin21] ``` It's not new, you get the same with 3.0.3: ``` $ ruby -e 'Warning.undef_method(:warn); warn ""' 2>&1 | head -2 <internal:warning>:51: [BUG] Segmentation fault at 0x0000000000000010 ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin20] ``` In 2.7 though you get a NoMethodError exception: ``` $ ruby --disable-all -e 'Warning.undef_method(:warn); warn ""' Traceback (most recent call last): 1: from -e:1:in `<main>' <internal:warning>:43:in `warn': undefined method `warn' for Warning:Module (NoMethodError) ``` (I disabled gems because rubygems core extensions adds two lines of backtrace, but it's the same result in the end) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>