mysql - Ruby 2.1.3 crashes when Working with libmysql.dll -
specs: - ruby version 2.1.3p242
- mysql version 0.3.16
- rails version 4.1.6
- rake version 10.3.2
i attempting run rake db
first time. database.yml
file configured, because working on our other machines. we're filing bug study ruby-lang; however, hope can point out workaround.
when dragging libmysql.dll
file c:\ruby{...}\bin
results in next crash:
```
c:/ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/mysql2-0.3.16/mysql2/mysql2.so: [bug] segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [x64-mingw32] -- command frame info ----------------------------------------------- c:0027 p:-10024584 s:0097 e:000096 top [finish] c:0026 p:---- s:0095 e:000094 cfunc :require c:0025 p:0083 s:0091 e:000090 top c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8 [finish] c:0024 p:---- s:0089 e:000088 cfunc :require c:0023 p:0037 s:0085 e:000084 block c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76 [finish] c:0022 p:---- s:0082 e:000081 cfunc :each c:0021 p:0055 s:0079 e:000078 block c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72 [finish] c:0020 p:---- s:0072 e:000071 cfunc :each c:0019 p:0030 s:0069 e:000068 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61 c:0018 p:0013 s:0065 e:000064 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:133 c:0017 p:0047 s:0061 e:000060 top c:/users/kayteaq/documents/github/facultyrepublic/config/application.rb:7 [finish] c:0016 p:---- s:0059 e:000058 cfunc :require c:0015 p:0115 s:0055 e:000054 method c:/ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 c:0014 p:0018 s:0045 e:000044 top c:/users/kayteaq/documents/github/facultyrepublic/rakefile:4 [finish] c:0013 p:---- s:0043 e:000042 cfunc :load c:0012 p:0009 s:0039 e:000038 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28 c:0011 p:0176 s:0035 e:000034 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:687 c:0010 p:0007 s:0030 e:000029 block c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:94 c:0009 p:0006 s:0028 e:000027 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176 c:0008 p:0007 s:0024 e:000023 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:93 c:0007 p:0013 s:0021 e:000020 block c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:77 c:0006 p:0006 s:0019 e:000018 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176 c:0005 p:0007 s:0015 e:000014 method c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75 c:0004 p:0040 s:0012 e:000011 top c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33 [finish] c:0003 p:---- s:0010 e:000009 cfunc :load c:0002 p:0135 s:0006 e:0010c8 eval c:/ruby21-x64/bin/rake:23 [finish] c:0001 p:0000 s:0002 e:000f78 top [finish] -- ruby level backtrace info ---------------------------------------- c:/ruby21-x64/bin/rake:23:in `<main>' c:/ruby21-x64/bin/rake:23:in `load' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in `<top (required)>' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load' c:/users/kayteaq/documents/github/facultyrepublic/rakefile:4:in `<top (required)>' c:/ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' c:/ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' c:/users/kayteaq/documents/github/facultyrepublic/config/application.rb:7:in `<top (required)>' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:133:in `require' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `require' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `each' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `block in require' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `each' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `require' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `<top (required)>' c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require' -- c level backtrace info ------------------------------------------- c:\windows\system32\ntdll.dll(ntwaitforsingleobject+0xa) [0x00000000772b12fa] c:\windows\system32\kernelbase.dll(waitforsingleobjectex+0x9c) [0x000007fefd3a10dc] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_bugreport+0xa4) [0x000000006b417174] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_name_err_mesg_new+0x841) [0x000000006b2c9851] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_bug+0x45) [0x000000006b2ca595] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_check_safe_str+0x351) [0x000000006b398d91] [0x0000000000401a85] c:\windows\system32\ntdll.dll(_c_specific_handler+0x9c) [0x00000000772785c8] c:\windows\system32\ntdll.dll(rtldecodepointer+0xad) [0x0000000077289d2d] c:\windows\system32\ntdll.dll(rtlunwindex+0xbbf) [0x00000000772791cf] c:\windows\system32\ntdll.dll(kiuserexceptiondispatcher+0x2e) [0x00000000772b1248] c:\ruby21-x64\lib\ruby\gems\2.1.0\extensions\x64-mingw32\2.1.0\mysql2-0.3.16\mysql2\mysql2.so(init_mysql2+0x1e38) [0x00000000005a6198] [0x00000000005a343d] c:\ruby21-x64\lib\ruby\gems\2.1.0\extensions\x64-mingw32\2.1.0\mysql2-0.3.16\mysql2\mysql2.so(init_mysql2+0x5a) [0x00000000005a43ba] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(dln_load+0x1d6) [0x000000006b281646] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_call_cfunc+0x130) [0x000000006b414110] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x56f) [0x000000006b2d55df] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006b40cf91] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006b406a18] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006b413a33] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006b2d39bc] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9) [0x000000006b2d5619] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006b406a18] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006b40bf43] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006b4132e4] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006b281971] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006b407361] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006b40bf43] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006b4132e4] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006b281971] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006b40cf91] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006b407361] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006b413a33] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006b2d39bc] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9) [0x000000006b2d5619] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006b406a18] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006b413a33] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006b2d39bc] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x1147) [0x000000006b2d4497] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006b40cf91] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006b406a18] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006b413a33] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006b2d39bc] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x1147) [0x000000006b2d4497] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006b4021f6] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006b40cf91] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006b406a18] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006b40ae4d] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval_main+0x1d0) [0x000000006b413c50] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_check_copyable+0x304a) [0x000000006b2cf36a] c:\ruby21-x64\bin\x64-msvcrt-ruby210.dll(ruby_run_node+0x51) [0x000000006b2d2281] [0x0000000000402d14] [0x00000000004013d7] [0x00000000004014f8] c:\windows\system32\kernel32.dll(basethreadinitthunk+0xd) [0x00000000771559ed] -- other runtime info ----------------------------------------------- * loaded script: c:/ruby21-x64/bin/rake * loaded features: 0 enumerator.so 1 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/encdb.so 2 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/iso_8859_1.so 3 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/trans/transdb.so 4 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/rbconfig.rb 5 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/compatibility.rb 6 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/defaults.rb 7 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/deprecate.rb 8 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/errors.rb 9 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/version.rb 10 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/requirement.rb 11 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/platform.rb 12 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/basic_specification.rb 13 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/stub_specification.rb 14 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/util/stringio.rb 15 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/specification.rb 16 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/exceptions.rb 17 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/defaults/operating_system.rb 18 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb 19 thread.rb 20 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/thread.so 21 c:/ruby21-x64/lib/ruby/2.1.0/monitor.rb 22 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb 23 c:/ruby21-x64/lib/ruby/2.1.0/rubygems.rb 24 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/dependency.rb 25 c:/ruby21-x64/lib/ruby/2.1.0/rubygems/path_support.rb 26 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/version.rb 27 c:/ruby21-x64/lib/ruby/2.1.0/x64-mingw32/etc.so 28 c:/ruby21-x64/lib/ruby/2.1.0/fileutils.rb 29 c:/ruby21-x64/lib/ruby/2.1.0/singleton.rb 30 c:/ruby21-x64/lib/ruby/2.1.0/optparse.rb 31 c:/ruby21-x64/lib/ruby/2.1.0/ostruct.rb 32 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/ext/module.rb 33 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/ext/core.rb 34 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/ext/string.rb 35 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/early_time.rb 36 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/ext/time.rb 37 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/alt_system.rb 38 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/win32.rb 39 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/linked_list.rb 40 c:/ruby21-x64/lib/ruby/2.1.0/open3.rb 41 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/cpu_counter.rb 42 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/scope.rb 43 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task_argument_error.rb 44 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rule_recursion_overflow_error.rb 45 c:/ruby21-x64/lib/ruby/2.1.0/shellwords.rb 46 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task_manager.rb 47 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/cloneable.rb 48 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb 49 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb 50 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/pathmap.rb 51 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_list.rb 52 c:/ruby21-x64/lib/ruby/2.1.0/set.rb 53 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/promise.rb 54 c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/thread_pool.rb
mysql ruby-on-rails ruby
No comments:
Post a Comment