[#99115] [Ruby master Bug#17023] How to prevent String memory to be relocated in ruby-ffi — larskanis@...
Issue #17023 has been reported by larskanis (Lars Kanis).
22 messages
2020/07/10
[#99375] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings — merch-redmine@...
Issue #17055 has been reported by jeremyevans0 (Jeremy Evans).
29 messages
2020/07/28
[#101207] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— merch-redmine@...
2020/12/02
Issue #17055 has been updated by jeremyevans0 (Jeremy Evans).
[#101231] Re: [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— Austin Ziegler <halostatue@...>
2020/12/03
What does this mean?
[ruby-core:99093] [Ruby master Bug#17020] ObjectSpace.trace_object_allocations_stop raises if called before trace_object_allocations_start
From:
nobu@...
Date:
2020-07-09 06:00:32 UTC
List:
ruby-core #99093
Issue #17020 has been updated by nobu (Nobuyoshi Nakada). Assignee set to byroot (Jean Boussier) A possible alternative might be an exception, I thought first, but it isn’t a single condition. Could you add the test? ---------------------------------------- Bug #17020: ObjectSpace.trace_object_allocations_stop raises if called before trace_object_allocations_start https://bugs.ruby-lang.org/issues/17020#change-86466 * Author: byroot (Jean Boussier) * Status: Open * Priority: Normal * Assignee: byroot (Jean Boussier) * ruby -v: ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-darwin19] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- The error is easy to reproduce: e.g. on Ruby 2.3: ``` $ ruby -robjspace -e 'ObjectSpace.trace_object_allocations_stop' -e:1:in `trace_object_allocations_stop': wrong argument type false (expected tracepoint) (TypeError) from -e:1:in `<main>' ``` Up to ruby 2.7.1: ``` $ ruby -robjspace -e 'ObjectSpace.trace_object_allocations_stop' Traceback (most recent call last): 1: from -e:1:in `<main>' -e:1:in `trace_object_allocations_stop': wrong argument type false (expected tracepoint) (TypeError) ``` Patch: https://github.com/ruby/ruby/pull/3001 -- 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>