[ruby-core:111172] [Ruby master Misc#19176] How to find insns_info for iseq in ruby 3.2

Issue #19176 has been reported by hurricup (Alexandr Evstigneev). ---------------------------------------- Misc #19176: How to find insns_info for iseq in ruby 3.2 https://bugs.ruby-lang.org/issues/19176 * Author: hurricup (Alexandr Evstigneev) * Status: Open * Priority: Normal ---------------------------------------- I'm not quite sure it is a proper place to ask questions, correct me if I'm wrong. But I have a problem with ruby-3.2.0 previews. Looks like iseq is missing `insns_info`s. It works fine in with pre-3.2 rubies but seems something has changed and I can't figure out - what exactly. It looks like this:  You may see that body, supposed to be a pointer to `iseq_insn_info_entry` contains some 0x7 pointing nowhere. And `size` for `insns_info` in all `iseq` I can find with iterating objspace is zero. ---Files-------------------------------- clipboard-202212031723-don1h.png (375 KB) -- https://bugs.ruby-lang.org/

Issue #19176 has been updated by hurricup (Alexandr Evstigneev). This happening only if ruby is built with following options: `-C --with-valgrind -E CFLAGS='-O0 -g3 -fno-inline -ggdb -DHAVE_DEBUG'` Not sure which one causing this. ---------------------------------------- Misc #19176: How to find insns_info for iseq in ruby 3.2 https://bugs.ruby-lang.org/issues/19176#change-100482 * Author: hurricup (Alexandr Evstigneev) * Status: Open * Priority: Normal ---------------------------------------- I'm not quite sure it is a proper place to ask questions, correct me if I'm wrong. But I have a problem with ruby-3.2.0 previews. Looks like iseq is missing `insns_info`s. It works fine in with pre-3.2 rubies but seems something has changed and I can't figure out - what exactly. It looks like this:  You may see that body, supposed to be a pointer to `iseq_insn_info_entry` contains some 0x7 pointing nowhere. And `size` for `insns_info` in all `iseq` I can find with iterating objspace is zero. ---Files-------------------------------- clipboard-202212031723-don1h.png (375 KB) -- https://bugs.ruby-lang.org/
participants (1)
-
hurricup (Alexandr Evstigneev)