% rails new ./test_app
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/mailers
create app/models
create app/views/layouts/application.html.erb
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/application.js
create public/javascripts/controls.js
create public/javascripts/dragdrop.js
create public/javascripts/effects.js
create public/javascripts/prototype.js
create public/javascripts/rails.js
create script
create script/rails
create test
create test/fixtures
create test/functional
create test/integration
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/unit
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
% DYLD_LIBRARY_PATH=~/src/macruby-master gdb --args ~/src/macruby-master/macruby script/rails server
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done
(gdb) r
Starting program: /Users/watson/src/macruby-master/macruby script/rails server
Reading symbols for shared libraries .++++........................ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
=> Booting WEBrick
=> Rails 3.0.9 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
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000616d6568637b
0x0000000101600954 in ?? ()
(gdb) bt
#0 0x0000000101600954 in ?? ()
#1 0x0000000109bbfa1d in ?? ()
#2 0x000000010013598f in __rb_vm_bcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:98
#3 0x000000010013598f in vm_block_eval [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:1221
#4 0x000000010013598f in rb_vm_yield_under () at dispatcher.cpp:1321
#5 0x00000001000dbb4a in rb_obj_instance_exec (self=8601991552, sel=0x100fdeaf0, argc=1, argv=0x200ec1da0) at vm_eval.c:550
#6 0x000000010012de67 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:448
#7 0x000000010012de67 in rb_vm_dispatch () at dispatcher.cpp:872
#8 0x00000001016005b4 in ?? ()
#9 0x0000000109feafac in ?? ()
#10 0x000000010012e49a in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:161
#11 0x000000010012e49a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#12 0x000000010012e49a in rb_vm_dispatch () at dispatcher.cpp:872
#13 0x00000001016005b4 in ?? ()
#14 0x0000000109feae7a in ?? ()
#15 0x000000010013487f in __rb_vm_bcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:100
#16 0x000000010013487f in vm_block_eval [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:1221
#17 0x000000010013487f in rb_vm_yield_args () at dispatcher.cpp:1278
#18 0x00000001000daeb1 in rb_vm_yield (argc=1, argv=0x7fff5fbeafa8) at vm.h:697
#19 0x00000001000dae84 in rb_yield (val=8601850144) at vm_eval.c:183
#20 0x0000000100006797 in rary_each (ary=8603546592, sel=0x100f25960) at array.c:1095
#21 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#22 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#23 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#24 0x00000001016005b4 in ?? ()
#25 0x0000000109fd60ca in ?? ()
#26 0x000000010012e49a in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:161
#27 0x000000010012e49a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#28 0x000000010012e49a in rb_vm_dispatch () at dispatcher.cpp:872
#29 0x00000001016005b4 in ?? ()
#30 0x0000000109fd5e32 in ?? ()
#31 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#32 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#33 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#34 0x00000001000d997d in rb_vm_call0 (vm=0x100f231b0, top=0, self=8601210016, klass=0x200c0f7a0, sel=0x10a15f4d0, block=0x0, opt=2 '\002', argc=0, argv=0x200b73c28) at vm.h:654
#35 0x00000001000daaa2 in rb_vm_call2 (block=0x0, self=8601210016, klass=8602580896, sel=0x10a15f4d0, argc=0, argv=0x200b73c28) at vm.h:679
#36 0x00000001000da942 in rb_call (recv=8601210016, mid=40647, argc=0, argv=0x200b73c28, scope=3, pass_current_block=true) at vm_eval.c:32
#37 0x00000001000dadc3 in send_internal (argc=0, argv=0x200b73c28, recv=8601210016, scope=3) at vm_eval.c:129
#38 0x00000001000dae1b in rb_f_send (recv=8601210016, sel=0x7fff86122548, argc=1, argv=0x200b73c20) at vm_eval.c:155
#39 0x000000010012de67 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:448
#40 0x000000010012de67 in rb_vm_dispatch () at dispatcher.cpp:872
#41 0x00000001016005b4 in ?? ()
#42 0x00000001077f556f in ?? ()
#43 0x000000010012e49a in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:161
#44 0x000000010012e49a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#45 0x000000010012e49a in rb_vm_dispatch () at dispatcher.cpp:872
#46 0x000000010012f4cb in rb_vm_call0 (vm=0x100f231b0, top=0, self=8602580896, klass=0x200c10a40, sel=0x100f28a70, block=0x0, opt=2 '\002', argc=1, argv=0x200b73160) at vm.h:655
#47 0x000000010012fbac in rb_vm_call2 (block=0x0, self=8602580896, klass=8602585664, sel=0x100f28a70, argc=1, argv=0x200b73160) at vm.h:680
#48 0x000000010012febf in method_missing (obj=8602580896, sel=0x10a15f4d0, block=0x0, argc=0, argv=0x0, call_status=METHOD_MISSING_DEFAULT) at dispatcher.cpp:388
#49 0x000000010012f3d8 in rb_vm_dispatch () at dispatcher.cpp:1050
#50 0x00000001016005b4 in ?? ()
#51 0x0000000109fd5d58 in ?? ()
#52 0x0000000100149c56 in rb_vm_run (fname=0x200c3a240 "/Users/watson/tmp/rails/test_app/config/environment.rb", node=0x200b743a0, binding=0x0, inside_eval=false) at vm.cpp:4123
#53 0x000000010014db32 in rb_vm_load () at vm.cpp:5640
#54 0x0000000100030a46 in rb_load (fname=8602755712, wrap=0) at load.c:91
#55 0x0000000100030fa8 in load_try (path=8602735552) at load.c:246
#56 0x000000010014868b in rb_rescue2 (b_proc=0x100030f8e <load_try at load.c:245>, data1=8602735552, r_proc=0x100030fce <load_rescue at load.c:258>, data2=8602735552) at vm.cpp:3656
#57 0x00000001000310d5 in rb_require_safe (fname=8602837536, safe=0) at load.c:292
#58 0x0000000100030ac3 in rb_f_require (obj=8603040384, fname=8602806592) at load.c:144
#59 0x0000000100030ae6 in rb_f_require_imp (obj=8603040384, sel=0x100f28ed0, fname=8602806592) at load.c:150
#60 0x000000010012e49a in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:161
#61 0x000000010012e49a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#62 0x000000010012e49a in rb_vm_dispatch () at dispatcher.cpp:872
#63 0x00000001016005b4 in ?? ()
#64 0x0000000109fd5b27 in ?? ()
#65 0x000000010013598f in __rb_vm_bcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:98
#66 0x000000010013598f in vm_block_eval [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:1221
#67 0x000000010013598f in rb_vm_yield_under () at dispatcher.cpp:1321
#68 0x00000001000db50c in specific_eval (argc=0, argv=0x0, klass=8602908512, self=8603040384) at vm_eval.c:339
#69 0x00000001000dba97 in rb_obj_instance_eval_imp (self=8603040384, sel=0x100fde1a0, top=8603040384, argc=0, argv=0x0) at vm_eval.c:507
#70 0x000000010012df1a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:457
#71 0x000000010012df1a in rb_vm_dispatch () at dispatcher.cpp:872
#72 0x00000001016005b4 in ?? ()
#73 0x0000000109fd4e52 in ?? ()
#74 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#75 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#76 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#77 0x000000010004e58d in rb_vm_call0 (vm=0x100f231b0, top=0, self=8603040384, klass=0x200c95b60, sel=0x7fff86e35e18, block=0x200c7dd60, opt=2 '\002', argc=0, argv=0x0) at vm.h:654
#78 0x000000010005244b in rb_vm_call2 (block=0x200c7dd60, self=8603040384, klass=8603130720, sel=0x7fff86e35e18, argc=0, argv=0x0) at vm.h:679
#79 0x0000000100052366 in rb_class_new_instance0 (argc=0, argv=0x0, klass=8603130720) at object.c:2009
#80 0x00000001000522d2 in rb_class_new_instance_imp (klass=8603130720, sel=0x7fff86e35e60, argc=0, argv=0x0) at object.c:2021
#81 0x000000010012de67 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:448
#82 0x000000010012de67 in rb_vm_dispatch () at dispatcher.cpp:872
#83 0x00000001016005b4 in ?? ()
#84 0x0000000109fd597e in ?? ()
#85 0x0000000100149c56 in rb_vm_run (fname=0x2009f22a0 "/Users/watson/tmp/rails/test_app/config.ru", node=0x200c59f60, binding=0x200098500, inside_eval=true) at vm.cpp:4123
#86 0x000000010014a059 in rb_vm_run_under () at vm.cpp:4230
#87 0x000000010014a26b in rb_vm_eval_string (self=8603130720, klass=8603130720, src=8603066144, binding=0x200098500, file=0x2009f22a0 "/Users/watson/tmp/rails/test_app/config.ru", line=1, should_push_outer=false) at vm.cpp:4274
#88 0x00000001000db3c5 in eval_string_with_should_push_outer (self=8603130720, klass=8603130720, src=8603066144, scope=8590558400, file=0x2009f22a0 "/Users/watson/tmp/rails/test_app/config.ru", line=1, should_push_outer=false) at vm_eval.c:299
#89 0x00000001000db494 in eval_string (self=8603130720, klass=8603130720, src=8603066144, scope=8590558400, file=0x2009f22a0 "/Users/watson/tmp/rails/test_app/config.ru", line=1) at vm_eval.c:320
#90 0x00000001000db85e in rb_f_eval (self=8603130720, sel=0x100f27180, argc=3, argv=0x7fff5fbf62e0) at vm_eval.c:441
#91 0x000000010012de67 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:448
#92 0x000000010012de67 in rb_vm_dispatch () at dispatcher.cpp:872
#93 0x00000001016005b4 in ?? ()
#94 0x0000000109fd53d1 in ?? ()
#95 0x000000010012e4db in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:163
#96 0x000000010012e4db in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#97 0x000000010012e4db in rb_vm_dispatch () at dispatcher.cpp:872
#98 0x00000001016005b4 in ?? ()
#99 0x0000000109fd457a in ?? ()
#100 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#101 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#102 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#103 0x00000001016005b4 in ?? ()
#104 0x0000000109fd41dd in ?? ()
#105 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#106 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#107 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#108 0x00000001016005b4 in ?? ()
#109 0x00000001077beb70 in ?? ()
#110 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#111 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#112 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#113 0x00000001016005b4 in ?? ()
#114 0x00000001077bf742 in ?? ()
#115 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#116 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#117 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#118 0x00000001016005b4 in ?? ()
#119 0x00000001077c2be8 in ?? ()
#120 0x000000010013487f in __rb_vm_bcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:100
#121 0x000000010013487f in vm_block_eval [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:1221
#122 0x000000010013487f in rb_vm_yield_args () at dispatcher.cpp:1278
#123 0x00000001000daeb1 in rb_vm_yield (argc=1, argv=0x7fff5fbfb778) at vm.h:697
#124 0x00000001000dae84 in rb_yield (val=8600523008) at vm_eval.c:183
#125 0x000000010004facf in rb_obj_tap (obj=8600523008, sel=0x100fbbbf0) at object.c:599
#126 0x000000010012e468 in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:159
#127 0x000000010012e468 in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#128 0x000000010012e468 in rb_vm_dispatch () at dispatcher.cpp:872
#129 0x00000001016005b4 in ?? ()
#130 0x00000001077ad887 in ?? ()
#131 0x0000000100149c56 in rb_vm_run (fname=0x2009b1e00 "/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/railties-3.0.9/lib/rails/commands.rb", node=0x2009f8840, binding=0x0, inside_eval=false) at vm.cpp:4123
#132 0x000000010014db32 in rb_vm_load () at vm.cpp:5640
#133 0x0000000100030a46 in rb_load (fname=8600285120, wrap=0) at load.c:91
#134 0x0000000100030fa8 in load_try (path=8600194240) at load.c:246
#135 0x000000010014868b in rb_rescue2 (b_proc=0x100030f8e <load_try at load.c:245>, data1=8600194240, r_proc=0x100030fce <load_rescue at load.c:258>, data2=8600194240) at vm.cpp:3656
#136 0x00000001000310d5 in rb_require_safe (fname=8600309216, safe=0) at load.c:292
#137 0x0000000100030ac3 in rb_f_require (obj=8590062336, fname=8600298400) at load.c:144
#138 0x0000000100030ae6 in rb_f_require_imp (obj=8590062336, sel=0x100f28ed0, fname=8600298400) at load.c:150
#139 0x000000010012e49a in __rb_vm_rcall [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:161
#140 0x000000010012e49a in ruby_dispatch [inlined] () at /Users/watson/src/macruby-master/dispatcher.cpp:466
#141 0x000000010012e49a in rb_vm_dispatch () at dispatcher.cpp:872
#142 0x00000001016005b4 in ?? ()
#143 0x00000001016001df in ?? ()
#144 0x0000000100149c56 in rb_vm_run (fname=0x2000a7340 "script/rails", node=0x200024ba0, binding=0x0, inside_eval=false) at vm.cpp:4123
#145 0x000000010002828b in ruby_run_node (n=0x200024ba0) at eval.c:211
#146 0x0000000100000be3 in main (argc=3, argv=0x100f1c030, envp=0x7fff5fbfdcb0) at main.cpp:40
(gdb)
(gdb) p rb_symbolicate(0x0000000109bbfa1d)
addr 0x109bbfa1d selector block location /Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/activerecord-3.0.9/lib/active_record/railtie.rb:36
$1 = void