ruby1.9.2 rails3.0.3出错,ruby1.9.2bug

Admin::Action.last
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:11: [BUG] Segmentation fault
ruby 1.9.2p136 (2010-12-25) [i386-mingw32]

-- control frame ----------
c:0035 p:0080 s:0124 b:0120 l:000119 d:000119 CLASS  d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:11
c:0034 p:0011 s:0118 b:0118 l:000117 d:000117 CLASS  d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:5
c:0033 p:0021 s:0116 b:0116 l:000115 d:000115 TOP    d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:3
c:0032 p:---- s:0114 b:0114 l:000113 d:000113 FINISH
c:0031 p:0023 s:0112 b:0112 l:000111 d:000111 METHOD d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/base.rb:900
c:0030 p:0072 s:0109 b:0109 l:000108 d:000108 METHOD d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/named_scope.rb:32
c:0029 p:0011 s:0105 b:0105 l:000104 d:000104 METHOD
c:0028 p:0017 s:0100 b:0100 l:0019e4 d:000099 EVAL   (irb):5
c:0027 p:---- s:0098 b:0098 l:000097 d:000097 FINISH
c:0026 p:---- s:0096 b:0096 l:000095 d:000095 CFUNC  :eval
c:0025 p:0028 s:0089 b:0089 l:000088 d:000088 METHOD d:/Ruby192/lib/ruby/1.9.1/irb/workspace.rb:80
c:0024 p:0033 s:0082 b:0081 l:000080 d:000080 METHOD d:/Ruby192/lib/ruby/1.9.1/irb/context.rb:254
c:0023 p:0031 s:0076 b:0076 l:001054 d:000075 BLOCK  d:/Ruby192/lib/ruby/1.9.1/irb.rb:159
c:0022 p:0042 s:0068 b:0068 l:000067 d:000067 METHOD d:/Ruby192/lib/ruby/1.9.1/irb.rb:273
c:0021 p:0011 s:0063 b:0063 l:001054 d:000062 BLOCK  d:/Ruby192/lib/ruby/1.9.1/irb.rb:156
c:0020 p:0144 s:0059 b:0059 l:000042 d:000058 BLOCK  d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:243
c:0019 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0018 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC  :loop
c:0017 p:0009 s:0051 b:0051 l:000042 d:000050 BLOCK  d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:229
c:0016 p:---- s:0049 b:0049 l:000048 d:000048 FINISH
c:0015 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC  :catch
c:0014 p:0023 s:0043 b:0043 l:000042 d:000042 METHOD d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:228
c:0013 p:0046 s:0040 b:0040 l:001054 d:001054 METHOD d:/Ruby192/lib/ruby/1.9.1/irb.rb:155
c:0012 p:0011 s:0037 b:0037 l:0010b4 d:000036 BLOCK  d:/Ruby192/lib/ruby/1.9.1/irb.rb:70
c:0011 p:---- s:0035 b:0035 l:000034 d:000034 FINISH
c:0010 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC  :catch
c:0009 p:0183 s:0029 b:0029 l:0010b4 d:0010b4 METHOD d:/Ruby192/lib/ruby/1.9.1/irb.rb:69
c:0008 p:0210 s:0024 b:0024 l:000cf8 d:000cf8 METHOD d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:44
c:0007 p:0019 s:0020 b:0020 l:000019 d:000019 METHOD d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:8
c:0006 p:0430 s:0016 b:0016 l:000015 d:000015 TOP    d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:23
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
c:0003 p:0061 s:0006 b:0006 l:001fbc d:001fec EVAL   script/rails:6
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001fbc d:001fbc TOP  
---------------------------
-- Ruby level backtrace information ----------------------------------------
script/rails:6:in `<main>'
script/rails:6:in `require'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:44:in `start'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:69:in `start'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:69:in `catch'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:70:in `block in start'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:155:in `eval_input'
d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'
d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'
d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'
d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'
d:/Ruby192/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:273:in `signal_status'
d:/Ruby192/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input'
d:/Ruby192/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate'
d:/Ruby192/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate'
d:/Ruby192/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval'
(irb):5:in `irb_binding'
d:0:in `last'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/named_scope.rb:32:in `scoped'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/base.rb:900:in `relation'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:3:in `<top (required)>'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:5:in `<module:ActiveRecord>'
d:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/relation.rb:11:in `<class:Relation>'

[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


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


不知道谁有解决办法?

你可能感兴趣的:(C++,c,Ruby,Rails,ActiveRecord)