This project is archived and is in readonly mode.
Ruby 1.9.2 and Rails 3.0.pre Aborts on script/generate
Reported by Conrad Taylor | January 8th, 2010 @ 04:46 PM
This appears to be an issue with the Ruby 1.9.2 interpreter and I installed via RVM. Thus, I'm wondering, if there's an additional step to prevent the following issue:
$ ruby -v
ruby 1.9.2dev (2009-07-18 trunk 24186) [powerpc-darwin9.8.0]
darnoc-desktop:blog-3.0.0 conradwt$ script/generate scaffold post title:string body:text
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:124: [BUG] rb_add_method: unsupported method type (8)
ruby 1.9.2dev (2009-07-18 trunk 24186) [powerpc-darwin9.8.0]
-- control frame ----------
c:0038 p:0127 s:0099 b:0099 l:000604 d:000604 CLASS /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:124
c:0037 p:0011 s:0097 b:0097 l:000096 d:000096 CLASS /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:6
c:0036 p:0045 s:0095 b:0095 l:000094 d:000094 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:5
c:0035 p:---- s:0093 b:0093 l:000092 d:000092 FINISH
c:0034 p:0031 s:0091 b:0090 l:000089 d:000089 CLASS /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:20
c:0033 p:0027 s:0088 b:0088 l:000087 d:000087 CLASS /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:18
c:0032 p:0009 s:0086 b:0086 l:000085 d:000085 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:1
c:0031 p:---- s:0084 b:0084 l:000083 d:000083 FINISH
c:0030 p:0065 s:0082 b:0081 l:000073 d:000080 BLOCK /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:2842
c:0029 p:---- s:0079 b:0079 l:000078 d:000078 FINISH
c:0028 p:---- s:0077 b:0077 l:000076 d:000076 CFUNC :class_eval
c:0027 p:0395 s:0074 b:0074 l:000073 d:000073 CLASS /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:2837
c:0026 p:0189 s:0072 b:0072 l:000071 d:000071 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:17
c:0025 p:---- s:0070 b:0070 l:000069 d:000069 FINISH
c:0024 p:0205 s:0068 b:0066 l:000065 d:000065 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record.rb:142
c:0023 p:---- s:0062 b:0062 l:000061 d:000061 FINISH
c:0022 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :require
c:0021 p:0011 s:0056 b:0056 l:000055 d:000055 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/railtie.rb:5
c:0020 p:---- s:0054 b:0054 l:000053 d:000053 FINISH
c:0019 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC :require
c:0018 p:0021 s:0048 b:0048 l:000039 d:000047 BLOCK /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:12
c:0017 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0016 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :each
c:0015 p:0034 s:0040 b:0040 l:000039 d:000039 TOP /Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:5
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :require
c:0012 p:0150 s:0032 b:0032 l:000031 d:000031 TOP /Users/conradwt/rails.dir/examples/blog-3.0.0/config/boot.rb:16
c:0011 p:---- s:0028 b:0028 l:000027 d:000027 FINISH
c:0010 p:---- s:0026 b:0026 l:000025 d:000025 CFUNC :require
c:0009 p:0026 s:0022 b:0022 l:000021 d:000021 TOP /Users/conradwt/rails.dir/examples/blog-3.0.0/config/application.rb:1
c:0008 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :require
c:0006 p:0026 s:0014 b:0014 l:000013 d:000013 TOP /Users/conradwt/rails.dir/examples/blog-3.0.0/config/environment.rb:2
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:0026 s:0006 b:0006 l:0012d4 d:0011e4 EVAL script/generate:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0012d4 d:0012d4 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
script/generate:2:in `<main>'
script/generate:2:in `require'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/environment.rb:2:in `<top (required)>'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/environment.rb:2:in `require'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/application.rb:1:in `<top (required)>'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/application.rb:1:in `require'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/boot.rb:16:in `<top (required)>'
/Users/conradwt/rails.dir/examples/blog-3.0.0/config/boot.rb:16:in `require'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:5:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:5:in `each'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:12:in `block in <top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.pre/lib/rails/all.rb:12:in `require'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/railtie.rb:5:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/railtie.rb:5:in `require'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record.rb:142:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:17:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:2837:in `<module:ActiveRecord>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:2837:in `class_eval'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/base.rb:2842:in `block in <module:ActiveRecord>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:1:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:18:in `<module:ActiveRecord>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.pre/lib/active_record/validations.rb:20:in `<module:Validations>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:5:in `<top (required)>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:6:in `<module:ActiveModel>'
/Users/conradwt/.rvm/gems/ruby-1.9.2-preview1/gems/activemodel-3.0.pre/lib/active_model/validations.rb:124:in `<module:Validations>'
-- C level backtrace information -------------------------------------------
0 libruby.1.9.1.dylib 0x0038d118 rb_vm_bugreport + 264
1 libruby.1.9.1.dylib 0x002696fc rb_compile_warn + 444
2 libruby.1.9.1.dylib 0x002697c8 rb_bug + 88
3 libruby.1.9.1.dylib 0x0038a324 rb_alias + 548
4 libruby.1.9.1.dylib 0x0038a45c rb_alias + 860
5 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
6 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
7 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
8 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
9 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
10 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
11 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
12 libruby.1.9.1.dylib 0x0035bc84 rb_autoload_load + 148
13 libruby.1.9.1.dylib 0x0035bd10 rb_autoload_load + 288
14 libruby.1.9.1.dylib 0x0037d420 rb_raise_method_missing + 5440
15 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
16 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
17 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
18 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
19 libruby.1.9.1.dylib 0x0035bc84 rb_autoload_load + 148
20 libruby.1.9.1.dylib 0x0037d2e4 rb_raise_method_missing + 5124
21 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
22 libruby.1.9.1.dylib 0x00387af8 rb_yield + 2888
23 libruby.1.9.1.dylib 0x00387d40 rb_mod_module_exec + 176
24 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
25 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
26 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
27 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
28 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
29 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
30 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
31 libruby.1.9.1.dylib 0x0035bc84 rb_autoload_load + 148
32 libruby.1.9.1.dylib 0x0035bd10 rb_autoload_load + 288
33 libruby.1.9.1.dylib 0x0037d420 rb_raise_method_missing + 5440
34 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
35 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
36 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
37 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
38 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
39 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
40 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
41 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
42 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
43 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
44 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
45 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
46 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
47 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
48 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
49 libruby.1.9.1.dylib 0x003873d4 rb_yield + 1060
50 libruby.1.9.1.dylib 0x00234374 rb_ary_each + 116
51 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
52 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
53 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
54 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
55 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
56 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
57 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
58 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
59 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
60 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
61 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
62 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
63 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
64 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
65 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
66 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
67 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
68 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
69 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
70 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
71 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
72 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
73 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
74 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
75 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
76 libruby.1.9.1.dylib 0x00384a34 rb_iseq_eval + 372
77 libruby.1.9.1.dylib 0x0026ebe4 rb_get_load_path + 964
78 libruby.1.9.1.dylib 0x0026ff50 rb_require_safe + 1360
79 libruby.1.9.1.dylib 0x00377e88 rb_thread_alloc + 744
80 libruby.1.9.1.dylib 0x0037c210 rb_raise_method_missing + 816
81 libruby.1.9.1.dylib 0x0037f838 rb_raise_method_missing + 14680
82 libruby.1.9.1.dylib 0x0038419c rb_raise_method_missing + 33468
83 libruby.1.9.1.dylib 0x003848a8 rb_iseq_eval_main + 520
84 libruby.1.9.1.dylib 0x0026b1bc ruby_exec_node + 156
85 libruby.1.9.1.dylib 0x0026e088 ruby_run_node + 72
86 ruby 0x00001f78 main + 88
87 ruby 0x00001ec4 start + 68
88 ruby 0x00001000 _mh_execute_header + 0
[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
Abort trap
Comments and changes to this ticket
-
Jeff Tucker January 17th, 2010 @ 02:29 AM
+1
Reproduced the bug.
trydionel:~/Developer/ruby192app$ script/generate scaffold post title:string body:text
/Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:124: [BUG] rb_add_method: unsupported method type (8)ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-darwin10.2.0]
-- control frame ---------- c:0038 p:0127 s:0099 b:0099 l:000d48 d:000d48 CLASS /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:124
c:0037 p:0011 s:0097 b:0097 l:000096 d:000096 CLASS /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:6
c:0036 p:0045 s:0095 b:0095 l:000094 d:000094 TOP /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:5
c:0035 p:---- s:0093 b:0093 l:000092 d:000092 FINISH
c:0034 p:0031 s:0091 b:0090 l:000089 d:000089 CLASS /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:20
c:0033 p:0027 s:0088 b:0088 l:000087 d:000087 CLASS /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:18
c:0032 p:0009 s:0086 b:0086 l:000085 d:000085 TOP /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:1
c:0031 p:---- s:0084 b:0084 l:000083 d:000083 FINISH
c:0030 p:0065 s:0082 b:0081 l:000073 d:000080 BLOCK /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:2729
c:0029 p:---- s:0079 b:0079 l:000078 d:000078 FINISH
c:0028 p:---- s:0077 b:0077 l:000076 d:000076 CFUNC :class_eval
c:0027 p:0395 s:0074 b:0074 l:000073 d:000073 CLASS /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:2724
c:0026 p:0189 s:0072 b:0072 l:000071 d:000071 TOP /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:17
c:0025 p:---- s:0070 b:0070 l:000069 d:000069 FINISH
c:0024 p:0205 s:0068 b:0066 l:000065 d:000065 TOP /Users/jmtucker/Developer/rails/activerecord/lib/active_record.rb:142
c:0023 p:---- s:0062 b:0062 l:000061 d:000061 FINISH
c:0022 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :require
c:0021 p:0011 s:0056 b:0056 l:000055 d:000055 TOP /Users/jmtucker/Developer/rails/activerecord/lib/active_record/railtie.rb:5
c:0020 p:---- s:0054 b:0054 l:000053 d:000053 FINISH
c:0019 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC :require
c:0018 p:0021 s:0048 b:0048 l:000039 d:000047 BLOCK /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:12
c:0017 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0016 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :each
c:0015 p:0034 s:0040 b:0040 l:000039 d:000039 TOP /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:5
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :require
c:0012 p:0150 s:0032 b:0032 l:000031 d:000031 TOP /Users/jmtucker/Developer/ruby192app/config/boot.rb:16
c:0011 p:---- s:0028 b:0028 l:000027 d:000027 FINISH
c:0010 p:---- s:0026 b:0026 l:000025 d:000025 CFUNC :require
c:0009 p:0026 s:0022 b:0022 l:000021 d:000021 TOP /Users/jmtucker/Developer/ruby192app/config/application.rb:1
c:0008 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :require
c:0006 p:0026 s:0014 b:0014 l:000013 d:000013 TOP /Users/jmtucker/Developer/ruby192app/config/environment.rb:2
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:0026 s:0006 b:0006 l:002358 d:000228 EVAL script/generate:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISHc:0001 p:0000 s:0002 b:0002 l:002358 d:002358 TOP
script/generate:2:in
<main>'<br/> script/generate:2:in
require'
/Users/jmtucker/Developer/ruby192app/config/environment.rb:2:in<top (required)>' /Users/jmtucker/Developer/ruby192app/config/environment.rb:2:in
require' /Users/jmtucker/Developer/ruby192app/config/application.rb:1:in<top (required)>' /Users/jmtucker/Developer/ruby192app/config/application.rb:1:in
require' /Users/jmtucker/Developer/ruby192app/config/boot.rb:16:in<top (required)>' /Users/jmtucker/Developer/ruby192app/config/boot.rb:16:in
require' /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:5:in<top (required)>' /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:5:in
each' /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:12:inblock in <top (required)>' /Users/jmtucker/Developer/rails/railties/lib/rails/all.rb:12:in
require' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/railtie.rb:5:in<top (required)>' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/railtie.rb:5:in
require' /Users/jmtucker/Developer/rails/activerecord/lib/active_record.rb:142:in<top (required)>' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:17:in
' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:2724:in<module:ActiveRecord>' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:2724:in
class_eval' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/base.rb:2729:inblock in <module:ActiveRecord>' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:1:in
' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:18:in<module:ActiveRecord>' /Users/jmtucker/Developer/rails/activerecord/lib/active_record/validations.rb:20:in
<module:Validations>' /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:5:in<top (required)>' /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:6:in
<module:ActiveModel>' /Users/jmtucker/Developer/rails/activemodel/lib/active_model/validations.rb:124:in<module:Validations>'
-- C level backtrace information ------------------------------------------- 0 libruby.1.9.1.dylib 0x00000001001604c3 rb_vm_bugreport + 195
1 libruby.1.9.1.dylib 0x00000001000366b4 report_bug + 372
2 libruby.1.9.1.dylib 0x0000000100036878 rb_bug + 200
3 libruby.1.9.1.dylib 0x000000010015921f rb_alias + 319
4 libruby.1.9.1.dylib 0x000000010015940b m_core_set_method_alias + 43
5 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
6 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
7 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
8 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
9 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
10 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
11 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
12 libruby.1.9.1.dylib 0x000000010012c013 rb_autoload_load + 147
13 libruby.1.9.1.dylib 0x000000010012c087 rb_const_get_0 + 103
14 libruby.1.9.1.dylib 0x000000010014d309 vm_exec_core + 1513
15 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
16 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
17 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
18 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
19 libruby.1.9.1.dylib 0x000000010012c013 rb_autoload_load + 147
20 libruby.1.9.1.dylib 0x00000001001523de vm_exec_core + 22206
21 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
22 libruby.1.9.1.dylib 0x0000000100155edc yield_under + 764
23 libruby.1.9.1.dylib 0x000000010015646d specific_eval + 61
24 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
25 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
26 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
27 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
28 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
29 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
30 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
31 libruby.1.9.1.dylib 0x000000010012c013 rb_autoload_load + 147
32 libruby.1.9.1.dylib 0x000000010012c087 rb_const_get_0 + 103
33 libruby.1.9.1.dylib 0x000000010014d309 vm_exec_core + 1513
34 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
35 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
36 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
37 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
38 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
39 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
40 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
41 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
42 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
43 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
44 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
45 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
46 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
47 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
48 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
49 libruby.1.9.1.dylib 0x000000010015ead9 rb_yield + 505
50 libruby.1.9.1.dylib 0x0000000100008d82 rb_ary_each + 82
51 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
52 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
53 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
54 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
55 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
56 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
57 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
58 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
59 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
60 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
61 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
62 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
63 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
64 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
65 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
66 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
67 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
68 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
69 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
70 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
71 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
72 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
73 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
74 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
75 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
76 libruby.1.9.1.dylib 0x0000000100155102 rb_iseq_eval + 306
77 libruby.1.9.1.dylib 0x000000010003cbb8 rb_load_internal + 296
78 libruby.1.9.1.dylib 0x000000010003de89 rb_require_safe + 1049
79 libruby.1.9.1.dylib 0x0000000100148932 vm_call_cfunc + 354
80 libruby.1.9.1.dylib 0x000000010015d5b4 vm_call_method + 1268
81 libruby.1.9.1.dylib 0x000000010014de84 vm_exec_core + 4452
82 libruby.1.9.1.dylib 0x0000000100154d3e vm_exec + 1102
83 libruby.1.9.1.dylib 0x0000000100154fa0 rb_iseq_eval_main + 464
84 libruby.1.9.1.dylib 0x000000010003a162 ruby_exec_node + 178
85 libruby.1.9.1.dylib 0x000000010003bfe4 ruby_run_node + 84
86 ruby 0x0000000100000ecf main + 79
87 ruby 0x0000000100000e74 start + 52
88 ??? 0x0000000000000006 0x0 + 6[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.htmlAbort trap
-
Rizwan Reza January 17th, 2010 @ 06:48 PM
- Tag changed from rails3, ruby1.9.2 to bugmash, rails3, ruby1.9.2
- Assigned user set to José Valim
-
Jeff Tucker January 17th, 2010 @ 07:26 PM
-1 Yep, José is correct. Switched from preview1 to head and didn't run into the error.
-
José Valim January 17th, 2010 @ 07:29 PM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>