[#107008] [Ruby master Bug#18465] Make `IO#write` atomic. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18465 has been reported by ioquatix (Samuel Williams).
16 messages
2022/01/09
[#107150] [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically — "ko1 (Koichi Sasada)" <noreply@...>
Issue #18494 has been updated by ko1 (Koichi Sasada).
4 messages
2022/01/17
[#107170] Re: [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
— Eric Wong <normalperson@...>
2022/01/17
> https://bugs.ruby-lang.org/issues/18494
[#107302] [Ruby master Bug#18553] Memory leak on compiling method call with kwargs — "ibylich (Ilya Bylich)" <noreply@...>
Issue #18553 has been reported by ibylich (Ilya Bylich).
4 messages
2022/01/27
[#107346] [Ruby master Misc#18557] DevMeeting-2022-02-17 — "mame (Yusuke Endoh)" <noreply@...>
Issue #18557 has been reported by mame (Yusuke Endoh).
18 messages
2022/01/29
[ruby-core:106962] [Ruby master Bug#18458] Segmentation fault when missing Warning#warn method
From:
etienne <noreply@...>
Date:
2022-01-04 14:22:03 UTC
List:
ruby-core #106962
Issue #18458 has been reported by etienne (テ液ienne Barriテゥ). ---------------------------------------- Bug #18458: Segmentation fault when missing Warning#warn method https://bugs.ruby-lang.org/issues/18458 * Author: etienne (テ液ienne Barriテゥ) * Status: Open * Priority: Normal * ruby -v: 3.1.0p0 * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- 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:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>