From: Peter Zotov Date: 2012-06-07T03:27:39+09:00 Subject: Re: Deadlock in large vm_xmalloc while doing backtrace William Paulson писал 06.06.2012 17:42: >> Bill Paulson писал 05.06.2012 22:52: >> Take a look at ruby's gdbinit: >> http://rxr.whitequark.org/mri/source/.gdbinit >> >> For example, try rb_backtrace or rb_ps at gdb's prompt. >> > The ruby we're running doesn't seem to have debug.c compiled into it. > The .gdbinit file fails with a message > No symbol "ruby_dummy_gdb_enums" in current context. > Do you know what compile flags cause debug.c to be included? > Thanks > Bill Paulson I compile my Rubies with rvm[1], and it inserts debug flags automatically. I'd say you should look into options of ./configure script: something like --with-debug=yes should make the trick. [1]: https://rvm.io/ -- WBR, Peter Zotov.