ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:111172] [Ruby master Misc#19176] How to find insns_info for iseq in ruby 3.2
@ 2022-12-03 13:26 hurricup (Alexandr Evstigneev)
  2022-12-04  8:32 ` [ruby-core:111199] " hurricup (Alexandr Evstigneev)
  0 siblings, 1 reply; 2+ messages in thread
From: hurricup (Alexandr Evstigneev) @ 2022-12-03 13:26 UTC (permalink / raw)
  To: ruby-core

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:
![](clipboard-202212031723-don1h.png)

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:111199] [Ruby master Misc#19176] How to find insns_info for iseq in ruby 3.2
  2022-12-03 13:26 [ruby-core:111172] [Ruby master Misc#19176] How to find insns_info for iseq in ruby 3.2 hurricup (Alexandr Evstigneev)
@ 2022-12-04  8:32 ` hurricup (Alexandr Evstigneev)
  0 siblings, 0 replies; 2+ messages in thread
From: hurricup (Alexandr Evstigneev) @ 2022-12-04  8:32 UTC (permalink / raw)
  To: ruby-core

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:
![](clipboard-202212031723-don1h.png)

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-04  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-03 13:26 [ruby-core:111172] [Ruby master Misc#19176] How to find insns_info for iseq in ruby 3.2 hurricup (Alexandr Evstigneev)
2022-12-04  8:32 ` [ruby-core:111199] " hurricup (Alexandr Evstigneev)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).