After the Ruby interpreter segfaults, is it possible to get the Ruby backtrace from the corefile?

别说谁变了你拦得住时间么 提交于 2019-12-04 07:42:23

When you see something like this: rb_call (klass=37665480, recv=132610480, mid=104367, ...

You can figure out what the ruby code is doing. I have a blog article on that:

http://seclib.blogspot.com/2011/08/inspect-ruby-process-from-gdb.html

It looks like you're using an old version of libxml-ruby (1.1.2). Try upgrading; the segfault may have been fixed: https://rubygems.org/gems/libxml-ruby/versions

Note that that might involve updating some other gems as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!