Skip to content

Instantly share code, notes, and snippets.

@meh
Created May 29, 2011 06:02
Show Gist options
  • Save meh/997512 to your computer and use it in GitHub Desktop.
Save meh/997512 to your computer and use it in GitHub Desktop.
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0023 p:---- s:0081 b:0081 l:000080 d:000080 CFUNC :require
c:0022 p:0053 s:0077 b:0077 l:000076 d:000076 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0021 p:0012 s:0070 b:0070 l:000061 d:000069 BLOCK /usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:12
c:0020 p:---- s:0067 b:0067 l:000066 d:000066 FINISH
c:0019 p:---- s:0065 b:0065 l:000064 d:000064 CFUNC :each
c:0018 p:0028 s:0062 b:0062 l:000061 d:000061 TOP /usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3
c:0017 p:---- s:0060 b:0060 l:000059 d:000059 FINISH
c:0016 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC :require
c:0015 p:0053 s:0054 b:0054 l:000053 d:000053 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0014 p:0023 s:0047 b:0047 l:000046 d:000046 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/models.rb:22
c:0013 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0012 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :require
c:0011 p:0053 s:0039 b:0039 l:000038 d:000038 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0010 p:0023 s:0032 b:0032 l:000031 d:000031 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/cli/base.rb:22
c:0009 p:---- s:0030 b:0030 l:000029 d:000029 FINISH
c:0008 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC :require
c:0007 p:0053 s:0024 b:0024 l:000023 d:000023 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0006 p:0104 s:0017 b:0017 l:000016 d:000016 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/bin/packo:77
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:0026a8 d:000770 EVAL /usr/bin/packo:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0026a8 d:0026a8 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/usr/bin/packo:19:in `<main>'
/usr/bin/packo:19:in `load'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/bin/packo:77:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/cli/base.rb:22:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/models.rb:22:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3:in `<top (required)>'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3:in `each'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:12:in `block in <top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
-- C level backtrace information -------------------------------------------
/usr/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7fd3c58d020f]
/usr/lib/libruby.so.1.9(+0x5d294) [0x7fd3c57d7294]
/usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7fd3c57d7b83]
/usr/lib/libruby.so.1.9(+0xf8045) [0x7fd3c5872045]
/lib/libc.so.6(+0x34780) [0x7fd3c5450780]
/usr/lib/libruby.so.1.9(st_clear+0x43) [0x7fd3c5879463]
/usr/lib/libruby.so.1.9(st_free_table+0x9) [0x7fd3c58794b9]
/usr/lib/libruby.so.1.9(+0x7304d) [0x7fd3c57ed04d]
/usr/lib/libruby.so.1.9(rb_newobj+0x47) [0x7fd3c57ed347]
/usr/lib/libruby.so.1.9(+0x103e1f) [0x7fd3c587de1f]
/usr/lib/libruby.so.1.9(+0x7ee85) [0x7fd3c57f8e85]
/usr/lib/libruby.so.1.9(ruby_yyparse+0xbf8a) [0x7fd3c5835b9a]
/usr/lib/libruby.so.1.9(+0xbe5bb) [0x7fd3c58385bb]
/usr/lib/libruby.so.1.9(ruby_suppress_tracing+0x13d) [0x7fd3c58d5d7d]
/usr/lib/libruby.so.1.9(rb_parser_compile_file+0xac) [0x7fd3c5826fac]
/usr/lib/libruby.so.1.9(+0xf693d) [0x7fd3c587093d]
/usr/lib/libruby.so.1.9(rb_ensure+0xb3) [0x7fd3c57dc493]
/usr/lib/libruby.so.1.9(+0xf4d2b) [0x7fd3c586ed2b]
/usr/lib/libruby.so.1.9(rb_load_file+0x34) [0x7fd3c5870d24]
/usr/lib/libruby.so.1.9(+0x63e7e) [0x7fd3c57dde7e]
/usr/lib/libruby.so.1.9(rb_require_safe+0x5cf) [0x7fd3c57df3ef]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(+0x14c298) [0x7fd3c58c6298]
/usr/lib/libruby.so.1.9(rb_yield+0x47) [0x7fd3c58cc3e7]
/usr/lib/libruby.so.1.9(rb_ary_each+0x46) [0x7fd3c57aaf26]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(rb_iseq_eval+0x164) [0x7fd3c58cc844]
/usr/lib/libruby.so.1.9(+0x63ec7) [0x7fd3c57ddec7]
/usr/lib/libruby.so.1.9(rb_require_safe+0x5cf) [0x7fd3c57df3ef]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(rb_iseq_eval+0x164) [0x7fd3c58cc844]
/usr/lib/libruby.so.1.9(+0x63ec7) [0x7fd3c57ddec7]
/usr/lib/libruby.so.1.9(rb_require_safe+0x5cf) [0x7fd3c57df3ef]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(rb_iseq_eval+0x164) [0x7fd3c58cc844]
/usr/lib/libruby.so.1.9(+0x63ec7) [0x7fd3c57ddec7]
/usr/lib/libruby.so.1.9(rb_require_safe+0x5cf) [0x7fd3c57df3ef]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(rb_iseq_eval+0x164) [0x7fd3c58cc844]
/usr/lib/libruby.so.1.9(+0x63ec7) [0x7fd3c57ddec7]
/usr/lib/libruby.so.1.9(+0x6402d) [0x7fd3c57de02d]
/usr/lib/libruby.so.1.9(+0x150556) [0x7fd3c58ca556]
/usr/lib/libruby.so.1.9(+0x146d2b) [0x7fd3c58c0d2b]
/usr/lib/libruby.so.1.9(+0x14b5fd) [0x7fd3c58c55fd]
/usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xb1) [0x7fd3c58cc931]
/usr/lib/libruby.so.1.9(+0x616aa) [0x7fd3c57db6aa]
/usr/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7fd3c57dbccd]
/usr/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7fd3c57dd85e]
/usr/bin/ruby(main+0x4b) [0x40088b]
/lib/libc.so.6(__libc_start_main+0xed) [0x7fd3c543cf6d]
/usr/bin/ruby() [0x400779]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0027 p:---- s:0096 b:0096 l:000095 d:000095 CFUNC :require
c:0026 p:0053 s:0092 b:0092 l:000091 d:000091 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0025 p:0011 s:0085 b:0085 l:000084 d:000084 TOP /usr/lib/ruby/gems/1.9.1/gems/dm-core-1.1.0/lib/dm-core.rb:1
c:0024 p:---- s:0083 b:0083 l:000082 d:000082 FINISH
c:0023 p:---- s:0081 b:0081 l:000080 d:000080 CFUNC :require
c:0022 p:0053 s:0077 b:0077 l:000076 d:000076 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0021 p:0012 s:0070 b:0070 l:000061 d:000069 BLOCK /usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:12
c:0020 p:---- s:0067 b:0067 l:000066 d:000066 FINISH
c:0019 p:---- s:0065 b:0065 l:000064 d:000064 CFUNC :each
c:0018 p:0028 s:0062 b:0062 l:000061 d:000061 TOP /usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3
c:0017 p:---- s:0060 b:0060 l:000059 d:000059 FINISH
c:0016 p:---- s:0058 b:0058 l:000057 d:000057 CFUNC :require
c:0015 p:0053 s:0054 b:0054 l:000053 d:000053 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0014 p:0023 s:0047 b:0047 l:000046 d:000046 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/models.rb:22
c:0013 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0012 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :require
c:0011 p:0053 s:0039 b:0039 l:000038 d:000038 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0010 p:0023 s:0032 b:0032 l:000031 d:000031 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/cli/base.rb:22
c:0009 p:---- s:0030 b:0030 l:000029 d:000029 FINISH
c:0008 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC :require
c:0007 p:0053 s:0024 b:0024 l:000023 d:000023 METHOD /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0006 p:0104 s:0017 b:0017 l:000016 d:000016 TOP /usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/bin/packo:77
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:001f08 d:001ad0 EVAL /usr/bin/packo:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001f08 d:001f08 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/usr/bin/packo:19:in `<main>'
/usr/bin/packo:19:in `load'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/bin/packo:77:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/cli/base.rb:22:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/packo-0.0.1.alpha.3/lib/packo/models.rb:22:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3:in `<top (required)>'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:3:in `each'
/usr/lib/ruby/gems/1.9.1/gems/datamapper-1.1.0/lib/datamapper.rb:12:in `block in <top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.9.1/gems/dm-core-1.1.0/lib/dm-core.rb:1:in `<top (required)>'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
-- C level backtrace information -------------------------------------------
/usr/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7fb44355c20f]
/usr/lib/libruby.so.1.9(+0x5d294) [0x7fb443463294]
/usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7fb443463b83]
/usr/lib/libruby.so.1.9(+0xf8045) [0x7fb4434fe045]
/lib/libc.so.6(+0x34780) [0x7fb4430dc780]
/usr/lib/libruby.so.1.9(+0x71958) [0x7fb443477958]
/usr/lib/libruby.so.1.9(+0x13cf55) [0x7fb443542f55]
/usr/lib/libruby.so.1.9(+0x7140a) [0x7fb44347740a]
/usr/lib/libruby.so.1.9(+0x71c6a) [0x7fb443477c6a]
/usr/lib/libruby.so.1.9(st_foreach+0xb4) [0x7fb4435065a4]
/usr/lib/libruby.so.1.9(+0x716ea) [0x7fb4434776ea]
/usr/lib/libruby.so.1.9(+0x71ce2) [0x7fb443477ce2]
/usr/lib/libruby.so.1.9(st_foreach+0xb4) [0x7fb4435065a4]
/usr/lib/libruby.so.1.9(+0x6f876) [0x7fb443475876]
/usr/lib/libruby.so.1.9(+0x716fd) [0x7fb4434776fd]
/usr/lib/libruby.so.1.9(+0x71ce2) [0x7fb443477ce2]
/usr/lib/libruby.so.1.9(st_foreach+0xb4) [0x7fb4435065a4]
/usr/lib/libruby.so.1.9(+0x6f876) [0x7fb443475876]
/usr/lib/libruby.so.1.9(+0x716fd) [0x7fb4434776fd]
/usr/lib/libruby.so.1.9(+0x714b6) [0x7fb4434774b6]
/usr/lib/libruby.so.1.9(+0x13cf45) [0x7fb443542f45]
/usr/lib/libruby.so.1.9(+0x7140a) [0x7fb44347740a]
/usr/lib/libruby.so.1.9(+0x7188b) [0x7fb44347788b]
/usr/lib/libruby.so.1.9(+0x13cf85) [0x7fb443542f85]
/usr/lib/libruby.so.1.9(+0x7140a) [0x7fb44347740a]
/usr/lib/libruby.so.1.9(+0x71c6a) [0x7fb443477c6a]
/usr/lib/libruby.so.1.9(st_foreach+0xb4) [0x7fb4435065a4]
/usr/lib/libruby.so.1.9(+0x716ea) [0x7fb4434776ea]
/usr/lib/libruby.so.1.9(+0x711f8) [0x7fb4434771f8]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
git clone git://github.com/distro/packo.git
cd packo
gem build *spec
gem install *gem
packo # do this a few times until it segfaults, it segfault often but sometimes it works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment