Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save takaokouji/978818 to your computer and use it in GitHub Desktop.

Select an option

Save takaokouji/978818 to your computer and use it in GitHub Desktop.
rails server abort log on MacRuby 734a27c8df4c51534eebffccab4c47107bec2583
$ env DYLD_LIBRARY_PATH=/Users/kouji/work/MacRuby/MacRuby gdb --args macruby -S rails server
...
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Reading symbols for shared libraries . done
[2011-05-19 00:04:55] INFO WEBrick 1.3.1
[2011-05-19 00:04:55] INFO ruby 1.9.2 (2008-06-03) [universal-darwin10.0]
[2011-05-19 00:04:55] INFO WEBrick::HTTPServer#start: pid=79124 port=3000
Reading symbols for shared libraries . done
Assertion failed: ((b->flags & flags) == flags), function rb_vm_prepare_block, file dispatcher.cpp, line 1406.
Program received signal SIGABRT, Aborted.
[Switching to process 79124]
0x00007fff81df3cba in __pthread_kill ()
(gdb) bt
#0 0x00007fff81df3cba in __pthread_kill ()
#1 0x00007fff81df35de in pthread_kill ()
#2 0x0000000100010482 in __assert_rtn () at JIT.h:35
#3 0x0000000100137b87 in rb_vm_prepare_block (function=0x1083ae210, flags=64, self=8603707520, arity={min = 1, max = 1, left_req = 1, real = 1}, parent_var_uses=0x103760340, parent_block=0x201283c00, dvars_size=4) at dispatcher.cpp:1406
#4 0x000000010a79edc2 in ?? ()
#5 0x000000010013fd04 in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:107
#6 0x000000010013fd04 in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#7 0x000000010013fd04 in rb_vm_yield_args () at dispatcher.cpp:1278
#8 0x00000001016f69d2 in ?? ()
#9 0x000000010a79ff33 in ?? ()
#10 0x000000010013fbaf in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:100
#11 0x000000010013fbaf in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#12 0x000000010013fbaf in rb_vm_yield_args () at dispatcher.cpp:1278
#13 0x00000001000e7345 in rb_vm_yield (argc=1, argv=0x103761238) at vm.h:696
#14 0x00000001000e7318 in rb_yield (val=8603707520) at vm_eval.c:183
#15 0x0000000100012fed in rary_each (ary=8606915584, sel=0x10113a900) at array.c:1072
#16 0x0000000100139798 in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:159
#17 0x0000000100139798 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#18 0x0000000100139798 in rb_vm_dispatch () at dispatcher.cpp:872
#19 0x00000001016835a4 in ?? ()
#20 0x000000010a79f62a in ?? ()
#21 0x0000000100139860 in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:165
#22 0x0000000100139860 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#23 0x0000000100139860 in rb_vm_dispatch () at dispatcher.cpp:872
#24 0x00000001016835a4 in ?? ()
#25 0x000000010a79ea2e in ?? ()
#26 0x000000010013980b in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:163
#27 0x000000010013980b in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#28 0x000000010013980b in rb_vm_dispatch () at dispatcher.cpp:872
#29 0x00000001016835a4 in ?? ()
#30 0x000000010a7a6678 in ?? ()
#31 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#32 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#33 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#34 0x00000001016835a4 in ?? ()
#35 0x000000010bd3a6ba in ?? ()
#36 0x0000000100140cbf in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:98
#37 0x0000000100140cbf in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#38 0x0000000100140cbf in rb_vm_yield_under () at dispatcher.cpp:1321
#39 0x00000001000e78c1 in specific_eval (argc=0, argv=0x0, klass=8605340032, self=8605338848) at vm_eval.c:315
#40 0x00000001000e7e71 in rb_obj_instance_eval_imp (self=8605338848, sel=0x1011e1080, top=8598846368, argc=0, argv=0x0) at vm_eval.c:491
#41 0x000000010013924a in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:457
#42 0x000000010013924a in rb_vm_dispatch () at dispatcher.cpp:872
#43 0x00000001016835a4 in ?? ()
#44 0x000000010bd30c10 in ?? ()
#45 0x0000000100139860 in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:165
#46 0x0000000100139860 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#47 0x0000000100139860 in rb_vm_dispatch () at dispatcher.cpp:872
#48 0x00000001016835a4 in ?? ()
#49 0x0000000106f15739 in ?? ()
#50 0x000000010013fc0d in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:102
#51 0x000000010013fc0d in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#52 0x000000010013fc0d in rb_vm_yield_args () at dispatcher.cpp:1278
#53 0x00000001000e7345 in rb_vm_yield (argc=1, argv=0x103767d98) at vm.h:696
#54 0x00000001000e7318 in rb_yield (val=8605946560) at vm_eval.c:183
#55 0x0000000100012fed in rary_each (ary=8599190432, sel=0x10113a900) at array.c:1072
#56 0x0000000100139798 in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:159
#57 0x0000000100139798 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#58 0x0000000100139798 in rb_vm_dispatch () at dispatcher.cpp:872
#59 0x00000001016835a4 in ?? ()
#60 0x0000000106f1544a in ?? ()
#61 0x000000010013980b in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:163
#62 0x000000010013980b in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#63 0x000000010013980b in rb_vm_dispatch () at dispatcher.cpp:872
#64 0x00000001016835a4 in ?? ()
#65 0x000000010e84ff2d in ?? ()
#66 0x0000000100154af0 in rb_vm_run (fname=0x2010220e0 "/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/activerecord-3.0.7/lib/active_record/base.rb", node=0x200fae460, binding=0x0, inside_eval=false) at vm.cpp:4159
#67 0x0000000100158494 in rb_vm_load () at vm.cpp:5557
#68 0x000000010003d426 in rb_load (fname=8607198112, wrap=0) at load.c:91
#69 0x000000010003d988 in load_try (path=8606935040) at load.c:246
#70 0x0000000100153525 in rb_rescue2 (b_proc=0x10003d96e <load_try>, data1=8606935040, r_proc=0x10003d9ae <load_rescue>, data2=8606935040) at vm.cpp:3692
#71 0x000000010003dab5 in rb_require_safe (fname=8606469152, safe=0) at load.c:292
#72 0x00000001000cc0aa in rb_autoload_load (klass=8600541248, id=24565) at variable.c:1366
#73 0x00000001000cc370 in rb_const_get_0 (klass=8600541248, id=24565, exclude=0, recurse=2) at variable.c:1450
#74 0x00000001000cc5c5 in rb_const_get (klass=8600541248, id=24565) at variable.c:1505
#75 0x000000010014b950 in rb_vm_const_lookup_level (outer=8600541248, outer_mask=0, path=24565, lexical=false, defined=false, outer_stack=0x10ce374d0) at vm.cpp:1358
#76 0x00000001016839bb in ?? ()
#77 0x000000010e84f537 in ?? ()
#78 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#79 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#80 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#81 0x00000001016835a4 in ?? ()
#82 0x000000010e84f11d in ?? ()
#83 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#84 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#85 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#86 0x00000001016835a4 in ?? ()
#87 0x000000010e84f00e in ?? ()
#88 0x000000010013fb6b in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:98
#89 0x000000010013fb6b in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#90 0x000000010013fb6b in rb_vm_yield_args () at dispatcher.cpp:1278
#91 0x00000001016f69d2 in ?? ()
#92 0x000000010a7a3c1b in ?? ()
#93 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#94 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#95 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#96 0x00000001016835a4 in ?? ()
#97 0x000000010e84ed16 in ?? ()
#98 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#99 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#100 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#101 0x00000001016835a4 in ?? ()
#102 0x000000010e84e5cd in ?? ()
#103 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#104 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#105 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#106 0x00000001016835a4 in ?? ()
#107 0x000000010e84e3e3 in ?? ()
#108 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#109 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#110 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#111 0x00000001016835a4 in ?? ()
#112 0x000000010e84dc7a in ?? ()
#113 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#114 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#115 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#116 0x00000001016835a4 in ?? ()
#117 0x000000010bd0cb56 in ?? ()
#118 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#119 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#120 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#121 0x00000001016835a4 in ?? ()
#122 0x000000010e84b052 in ?? ()
#123 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#124 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#125 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#126 0x00000001016835a4 in ?? ()
#127 0x000000010e84ac67 in ?? ()
#128 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#129 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#130 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#131 0x00000001016835a4 in ?? ()
#132 0x000000010e84aa59 in ?? ()
#133 0x000000010013fb6b in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:98
#134 0x000000010013fb6b in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#135 0x000000010013fb6b in rb_vm_yield_args () at dispatcher.cpp:1278
#136 0x00000001000e7345 in rb_vm_yield (argc=0, argv=0x0) at vm.h:696
#137 0x00000001000e7304 in rb_yield (val=6) at vm_eval.c:181
#138 0x00000001000cfd7c in sync_body (a=6) at thread.c:1577
#139 0x0000000100144c18 in rb_ensure () at vm.cpp:3739
#140 0x00000001000cfdde in mutex_synchronize (self=8600394976, sel=0x7fff841d1558) at thread.c:1591
#141 0x0000000100139798 in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:159
#142 0x0000000100139798 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#143 0x0000000100139798 in rb_vm_dispatch () at dispatcher.cpp:872
#144 0x00000001016835a4 in ?? ()
#145 0x000000010e84a643 in ?? ()
#146 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#147 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#148 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#149 0x00000001016835a4 in ?? ()
#150 0x000000010da0ae87 in ?? ()
#151 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#152 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#153 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#154 0x00000001016835a4 in ?? ()
#155 0x000000010da0a5b0 in ?? ()
#156 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#157 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#158 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#159 0x00000001000e5e11 in rb_vm_call0 (vm=0x10a663990, top=0, self=8600928800, klass=0x200c2f5c0, sel=0x10111eab0, block=0x0, opt=2 '\002', argc=1, argv=0x200c71948) at vm.h:653
#160 0x00000001000e6f36 in rb_vm_call2 (block=0x0, self=8600928800, klass=8602711488, sel=0x10111eab0, argc=1, argv=0x200c71948) at vm.h:678
#161 0x00000001000e6dd6 in rb_call (recv=8600928800, mid=37952, argc=1, argv=0x200c71948, scope=3, pass_current_block=true) at vm_eval.c:32
#162 0x00000001000e7257 in send_internal (argc=1, argv=0x200c71948, recv=8600928800, scope=3) at vm_eval.c:129
#163 0x00000001000e72af in rb_f_send (recv=8600928800, sel=0x7fff85d94548, argc=2, argv=0x200c71940) at vm_eval.c:155
#164 0x0000000100139197 in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:448
#165 0x0000000100139197 in rb_vm_dispatch () at dispatcher.cpp:872
#166 0x00000001016835a4 in ?? ()
#167 0x0000000106f4efef in ?? ()
#168 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#169 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#170 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#171 0x000000010013a7fb in rb_vm_call0 (vm=0x10a663990, top=0, self=8601510944, klass=0x200b0a3e0, sel=0x10111de90, block=0x0, opt=2 '\002', argc=2, argv=0x20106fac0) at vm.h:654
#172 0x000000010013aedc in rb_vm_call2 (block=0x0, self=8601510944, klass=8601510880, sel=0x10111de90, argc=2, argv=0x20106fac0) at vm.h:679
#173 0x000000010013b1ef in method_missing (obj=8601510944, sel=0x10111eab0, block=0x0, argc=1, argv=0x10377b840, call_status=METHOD_MISSING_DEFAULT) at dispatcher.cpp:388
#174 0x000000010013a708 in rb_vm_dispatch () at dispatcher.cpp:1050
#175 0x00000001016835a4 in ?? ()
#176 0x000000010da0a354 in ?? ()
#177 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#178 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#179 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#180 0x00000001016835a4 in ?? ()
#181 0x000000010da09a39 in ?? ()
#182 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#183 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#184 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#185 0x00000001016835a4 in ?? ()
#186 0x000000010a737c83 in ?? ()
#187 0x000000010013980b in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:163
#188 0x000000010013980b in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#189 0x000000010013980b in rb_vm_dispatch () at dispatcher.cpp:872
#190 0x00000001016835a4 in ?? ()
#191 0x000000010da05562 in ?? ()
#192 0x000000010013980b in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:163
#193 0x000000010013980b in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#194 0x000000010013980b in rb_vm_dispatch () at dispatcher.cpp:872
#195 0x00000001016835a4 in ?? ()
#196 0x000000010a71d69b in ?? ()
#197 0x00000001001397ca in __rb_vm_rcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:161
#198 0x00000001001397ca in ruby_dispatch [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:466
#199 0x00000001001397ca in rb_vm_dispatch () at dispatcher.cpp:872
#200 0x00000001016835a4 in ?? ()
#201 0x000000010bd7c935 in ?? ()
#202 0x000000010013db4b in __rb_vm_bcall [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:98
#203 0x000000010013db4b in vm_block_eval [inlined] () at /Users/kouji/work/MacRuby/MacRuby/dispatcher.cpp:1221
#204 0x000000010013db4b in rb_vm_block_eval (b=0x200ca8ba0, argc=0, argv=0x0) at dispatcher.cpp:1228
#205 0x0000000100157a15 in rb_vm_thread_run (thread=8603210720) at vm.cpp:4843
#206 0x00007fff81d514f6 in _pthread_start ()
#207 0x00007fff81d513a9 in thread_start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment