Project

General

Profile

Actions

Bug #9886

closed

[BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]

Added by gabsaga.tata@tikarisys.com (Gabsaga Tata) almost 10 years ago. Updated almost 10 years ago.

Status:
Third Party's Issue
Target version:
ruby -v:
ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
[ruby-core:62865]

Description

****** Start content of ruby script *********

require 'rubygems'
require 'mysql2'

puts "hello world"

***** End Content of ruby script ************

C:\projects\test\mysql_test>ruby test.rb
C:/Ruby200_x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/mysql2.so: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08) [x64-mingw32]

-- Control frame information -----------------------------------------------
c:0009 p:-5542600 s:0039 e:000038 TOP [FINISH]
c:0008 p:---- s:0037 e:000036 CFUNC :require
c:0007 p:0115 s:0033 e:000032 METHOD C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0006 p:0083 s:0023 e:000022 TOP C:/Ruby200_x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2.rb:8 [FINISH]
c:0005 p:---- s:0021 e:000020 CFUNC :require
c:0004 p:0073 s:0017 e:000016 BLOCK C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135
c:0003 p:0442 s:0014 e:000013 METHOD C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144
c:0002 p:0015 s:0004 E:000da8 EVAL test.rb:2 [FINISH]
c:0001 p:0000 s:0002 E:001408 TOP [FINISH]

test.rb:2:in <main>' C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in require'
C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in require'
C:/Ruby200_x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in <top (required)>' C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'

-- C level backtrace information -------------------------------------------
C:\Windows\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0xa) [0x00000000770612FA]
C:\Windows\system32\KERNELBASE.dll(WaitForSingleObjectEx+0x9c) [0x000007FEFCF610DC]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_bugreport+0x9d) [0x000000006F28669D]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_name_err_mesg_new+0x838) [0x000000006F141EE8]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_bug+0x45) [0x000000006F142C95]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_check_safe_str+0x18c) [0x000000006F20B12C]
[0x0000000000401A85]
C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0x9c) [0x00000000770285C8]
C:\Windows\SYSTEM32\ntdll.dll(RtlDecodePointer+0xad) [0x0000000077039D2D]
C:\Windows\SYSTEM32\ntdll.dll(RtlUnwindEx+0xbbf) [0x00000000770291CF]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x0000000077061248]
C:\Ruby200_x64\lib\ruby\gems\2.0.0\gems\mysql2-0.3.16\lib\mysql2\mysql2.so(Init_mysql2+0x1eb8) [0x0000000000346218]
[0x000000000034343D]
C:\Ruby200_x64\lib\ruby\gems\2.0.0\gems\mysql2-0.3.16\lib\mysql2\mysql2.so(Init_mysql2+0x5a) [0x00000000003443BA]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(dln_load+0x1d3) [0x000000006F101643]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_call_cfunc+0x12c) [0x000000006F283BAC]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_require_safe+0x56f) [0x000000006F14D48F]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125) [0x000000006F2715C5]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1) [0x000000006F27F9C1]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8) [0x000000006F275948]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5be9) [0x000000006F279839]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval+0x193) [0x000000006F2835F3]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_rubylevel_errinfo+0x5ea) [0x000000006F14B83A]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_require_safe+0x5a1) [0x000000006F14D4C1]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_error_arity+0x125) [0x000000006F2715C5]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_f_send+0x5a1) [0x000000006F27F9C1]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x1cf8) [0x000000006F275948]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_vm_localjump_error+0x5be9) [0x000000006F279839]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_iseq_eval_main+0x1e0) [0x000000006F283820]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(rb_check_copyable+0x3266) [0x000000006F147C36]
C:\Ruby200_x64\bin\x64-msvcrt-ruby200.dll(ruby_run_node+0x51) [0x000000006F14A421]
[0x0000000000402D14]
[0x00000000004013D7]
[0x00000000004014F8]
C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x0000000076E059ED]

-- Other runtime information -----------------------------------------------

  • Loaded script: test.rb

  • Loaded features:

    0 enumerator.so
    1 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/enc/encdb.so
    2 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/enc/iso_8859_1.so
    3 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/enc/trans/transdb.so
    4 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/rbconfig.rb
    5 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/compatibility.rb
    6 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/defaults.rb
    7 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/deprecate.rb
    8 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/errors.rb
    9 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/version.rb
    10 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/requirement.rb
    11 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/platform.rb
    12 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/specification.rb
    13 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/exceptions.rb
    14 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/defaults/operating_system.rb
    15 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/enc/utf_16le.so
    16 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/enc/trans/utf_16_32.so
    17 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
    18 C:/Ruby200_x64/lib/ruby/2.0.0/thread.rb
    19 C:/Ruby200_x64/lib/ruby/2.0.0/monitor.rb
    20 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
    21 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems.rb
    22 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/path_support.rb
    23 C:/Ruby200_x64/lib/ruby/2.0.0/rubygems/dependency.rb
    24 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/date_core.so
    25 C:/Ruby200_x64/lib/ruby/2.0.0/date/format.rb
    26 C:/Ruby200_x64/lib/ruby/2.0.0/date.rb
    27 C:/Ruby200_x64/lib/ruby/2.0.0/x64-mingw32/bigdecimal.so
    28 C:/Ruby200_x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/version.rb
    29 C:/Ruby200_x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.16/lib/mysql2/error.rb

[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.

******** About MySQL *************

Version of MySQL installed = mysql-5.6.17-winx64

Actions

Also available in: Atom PDF

Like0
Like0Like0