Issue #13030 has been updated by Jesus Castello.


I got a stack trace by putting a breakpoint on `rb_raise`.

Maybe it helps :)

~~~
#0  0x000000000047fe4f in rb_raise ()
#1  0x00000000005e35c8 in rb_search_method_entry ()
#2  0x00000000005e2c83 in rb_call0 ()
#3  0x00000000005e37e3 in rb_call ()
#4  0x00000000005e40d2 in rb_funcallv ()
#5  0x00000000004e7dd2 in rb_inspect ()
#6  0x00000000005f16d1 in vm_stack_dump_each ()
#7  0x00000000005f1a0c in rb_vmdebug_debug_print_post ()
#8  0x00000000005d7354 in vm_exec_core ()
#9  0x00000000005ea575 in vm_exec ()
#10 0x00000000005eb1e3 in rb_iseq_eval_main ()
#11 0x0000000000483518 in ruby_exec_internal ()
#12 0x0000000000483641 in ruby_exec_node ()
#13 0x0000000000483614 in ruby_run_node ()
#14 0x00000000004183c1 in main ()
~~~


----------------------------------------
Bug #13030: Unexpected T_IMEMO object when building with VMDEBUG
https://bugs.ruby-lang.org/issues/13030#change-62018

* Author: Jesus Castello
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.4.0.rc1
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Hello,
I'm trying to build Ruby 2.4.0-rc1 with VMDEBUG=3 for research purposes, but I'm getting this error.

~~~
/home/user/.rubies/ruby-2.4.0-rc1/lib/fileutils.rb:90:in `<module:FileUtils>': method `inspect' called on unexpected T_IMEMO object (0x00000001465ab8 flags=0x701a) (NotImplementedError)
	from /home/user/.rubies/ruby-2.4.0-rc1/lib/fileutils.rb:88:in `<top (required)>'
	from ./tool/mkconfig.rb:20:in `require'
	from ./tool/mkconfig.rb:20:in `<main>'
make: *** [uncommon.mk:644: .rbconfig.time] Error 1
~~~

Thank you.




-- 
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>