Bug #16135
closedSegmentation fault in Ruby 2.6.1
Added by satishdewangan (Satish Dwangan) over 4 years ago. Updated over 4 years ago.
Description
I am facing Segmentation fault issue while running test cases for my application in Ruby 2.6.1 .Same test cases work fine in Ruby 2.2.6 .
Below is the output of test case ran using Ruby 2.6.1.
C:/Code/KYSY-3153/Source/test/unit/ruby/ppr_register_access_test.rb:286: [BUG] Segmentation fault
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
Please help me to fix this issue.
Files
bug-16135.txt (32.8 KB) bug-16135.txt | nobu (Nobuyoshi Nakada), 09/25/2019 07:09 AM |
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Status changed from Open to Feedback
From the C-level backtrace, it looks like this may be caused by AMD Kysy. Please try uninstalling AMD Kysy and see if the problem still occurs. If it still occurs, you should also try upgrading to 2.6.4 (or at least 2.6.3) to see if the problem has been fixed.
Updated by satishdewangan (Satish Dwangan) over 4 years ago
I already tried with Ruby 2.6.3 too and faced same issue .
Updated by satishdewangan (Satish Dwangan) over 4 years ago
I have tested in a clean machine with no Kysy ,but it failed there too.
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
Can you please post or upload the error output from the failure with Ruby 2.6.3 and no AMD Kysy installed? Also, if possible, please post a self contained minimal example that reproduces the failure.
Updated by satishdewangan (Satish Dwangan) over 4 years ago
Please find the error output of Segmentation fault with no Kysy installed.
Copying E:/code/KYSY-3153/Source/test/../RegisterDef/data/kysy_platdb.json to E:/code/KYSY-3153/Source/x64/Release/bin directory
Run options: --seed 34594
# Running:
F.EFtest/unit/ruby/ssp_ppr_register_test.rb:70: [BUG] Segmentation fault
ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
-- Control frame information -----------------------------------------------
c:0026 p:---- s:0138 e:000137 CFUNC :execute
c:0025 p:0067 s:0134 e:000133 METHOD test/unit/ruby/ssp_ppr_register_test.rb:70
c:0024 p:0024 s:0128 e:000127 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:108
c:0023 p:0002 s:0125 e:000124 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:205
c:0022 p:0006 s:0120 e:000119 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:105
c:0021 p:0014 s:0117 e:000116 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:256
c:0020 p:0006 s:0112 e:000111 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:104
c:0019 p:0030 s:0109 e:000108 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:334
c:0018 p:0035 s:0101 E:002318 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:276
c:0017 p:0005 s:0094 E:000760 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:103
c:0016 p:0005 s:0090 e:000089 METHOD E:/code/KYSY-3153/Source/test/kysy_minitest.rb:91
c:0015 p:0010 s:0086 e:000085 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:781
c:0014 p:0016 s:0079 e:000077 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:308
c:0013 p:0011 s:0071 e:000070 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:296 [FINISH]
c:0012 p:---- s:0067 e:000066 CFUNC :each
c:0011 p:0007 s:0063 e:000062 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:295
c:0010 p:0030 s:0060 e:000059 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:334
c:0009 p:0020 s:0052 E:0009d8 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:321
c:0008 p:0070 s:0045 E:001910 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:294
c:0007 p:0024 s:0037 e:000036 METHOD E:/code/KYSY-3153/Source/test/kysy_minitest.rb:85
c:0006 p:0010 s:0031 e:000030 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:155 [FINISH]
c:0005 p:---- s:0027 e:000026 CFUNC :map
c:0004 p:0035 s:0023 e:000022 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:155
c:0003 p:0132 s:0014 e:000013 METHOD C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:129
c:0002 p:0060 s:0007 E:000278 BLOCK C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:56 [FINISH]
c:0001 p:0000 s:0003 E:000f60 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:56:in `block in autorun'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:129:in `run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `__run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `map'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:155:in `block in __run'
E:/code/KYSY-3153/Source/test/kysy_minitest.rb:85:in `run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:294:in `run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:321:in `with_info_handler'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:334:in `on_signal'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:295:in `block in run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:295:in `each'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:296:in `block (2 levels) in run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:308:in `run_one_method'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:781:in `run_one_method'
E:/code/KYSY-3153/Source/test/kysy_minitest.rb:91:in `run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:103:in `run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:276:in `with_info_handler'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb:334:in `on_signal'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:104:in `block in run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:256:in `time_it'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:105:in `block (2 levels) in run'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:205:in `capture_exceptions'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb:108:in `block (3 levels) in run'
test/unit/ruby/ssp_ppr_register_test.rb:70:in `test_ppr_cpuid_access'
test/unit/ruby/ssp_ppr_register_test.rb:70:in `execute'
-- C level backtrace information -------------------------------------------
C:\Windows\SYSTEM32\ntdll.dll(ZwWaitForSingleObject+0x14) [0x00007ff9c23c5b94]
C:\Windows\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x8f) [0x00007ff9bf154abf]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_print_backtrace+0x36) [0x000000006a5f8816]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_bugreport+0x6d) [0x000000006a5f888d]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_bug_context+0x6d) [0x000000006a4ae37d]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_check_safe_obj+0xde0) [0x000000006a586540]
[0x000000000040234c]
C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007ff9c23b6606]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9c23ca58d]
C:\Windows\SYSTEM32\ntdll.dll(RtlImageNtHeaderEx+0x483) [0x00007ff9c235fd23]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x3a) [0x00007ff9c23c96fa]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(IsExceptionObjectToBeDestroyed+0x14) [0x00007ff9b4302154]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x10d3) [0x00007ff9b43033a3]
C:\Windows\SYSTEM32\ntdll.dll(RtlCaptureContext+0x3c3) [0x00007ff9c23c9bd3]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::PCIAddress::pnbNodeNumber+0xb1) [0x00007ff990fa7891]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::ProgressCallback::ProgressCallback+0x421) [0x00007ff990fbab71]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::add+0x208) [0x00007ff990fbb2e8]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::BARAccessLogic::name+0x294) [0x00007ff990fb9784]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::ProgressCallback::ProgressCallback+0x376) [0x00007ff990fbaac6]
[0x00007ff9b4301030]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x12bf) [0x00007ff9b430358f]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_C_specific_handler+0x444) [0x00007ff9b430bc94]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0xd09) [0x00007ff9b4302fd9]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_CxxFrameHandler3+0x6d) [0x00007ff9b430c15d]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x19d) [0x00007ff9c23ca60d]
C:\Windows\SYSTEM32\ntdll.dll(RtlUnwindEx+0x38a) [0x00007ff9c23606ba]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_C_specific_handler+0x785) [0x00007ff9b430bfd5]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x404) [0x00007ff9b43026d4]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x6fb) [0x00007ff9b43029cb]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0xe0f) [0x00007ff9b43030df]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_CxxFrameHandler3+0x6d) [0x00007ff9b430c15d]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9c23ca58d]
C:\Windows\SYSTEM32\ntdll.dll(RtlImageNtHeaderEx+0x483) [0x00007ff9c235fd23]
C:\Windows\SYSTEM32\ntdll.dll(RtlRaiseException+0x2d9) [0x00007ff9c2361a39]
C:\Windows\System32\KERNELBASE.dll(RaiseException+0x68) [0x00007ff9bf154c48]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(CxxThrowException+0xad) [0x00007ff9b430485d]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::PPRCommon::findFirstEnabledPhysical+0x99b) [0x00007ff99114597b]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::CoreData::logicalIdentifier+0x14a) [0x00007ff99115902a]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::CoreAffinitizedPlatformAction::toString+0x21e) [0x00007ff99111aefe]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::CPUIDAction::toString+0xef) [0x00007ff990fea6cf]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::Test::StubPlatformActionBatch::executeCPUIDAction+0x42) [0x00007ff991120f12]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::PlatformActionBatch_common::execute+0xca) [0x00007ff991120baa]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::ActionBatch::execute+0xbf) [0x00007ff99112033f]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::executeMain+0x373) [0x00007ff990fbbed3]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::execute+0x283) [0x00007ff990fbb583]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::PlatformBatch::execute+0x15b) [0x00007ff99112533b]
[0x00007ff9918a2de1]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_error_arity+0x125) [0x000000006a5dd415]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_invoke_bmethod+0x14d3) [0x000000006a5e64c3]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x17f) [0x000000006a5ebcbf]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_exec+0x27f) [0x000000006a5e44bf]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_yield+0x211) [0x000000006a5f2901]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_ary_each+0x3d) [0x000000006a443a2d]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_error_arity+0x125) [0x000000006a5dd415]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_invoke_bmethod+0x14d3) [0x000000006a5e64c3]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x1541) [0x000000006a5ed081]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_exec+0x27f) [0x000000006a5e44bf]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_yield+0x211) [0x000000006a5f2901]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_ary_push+0x6ed) [0x000000006a448a7d]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_error_arity+0x125) [0x000000006a5dd415]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_invoke_bmethod+0x14d3) [0x000000006a5e64c3]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_check_funcall+0x1541) [0x000000006a5ed081]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_exec+0x27f) [0x000000006a5e44bf]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_vm_invoke_proc+0x2b3) [0x000000006a5e6d13]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_proc_call+0x67) [0x000000006a542d07]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_call_end_proc+0x6a) [0x000000006a4b1ada]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_exec_end_proc+0x103) [0x000000006a4b4d03]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_exec_end_proc+0x2dc) [0x000000006a4b4edc]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(ruby_cleanup+0x20d) [0x000000006a4b561d]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(ruby_run_node+0x60) [0x000000006a4b59f0]
[0x0000000000402d87]
[0x00000000004013a5]
[0x000000000040150b]
C:\Windows\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ff9c04484d4]
-- Other runtime information -----------------------------------------------
* Loaded script: test/unit/ruby/ssp_ppr_register_test.rb
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/encdb.so
5 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/trans/transdb.so
6 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/windows_1252.so
7 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/rbconfig.rb
8 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/compatibility.rb
9 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/defaults.rb
10 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/deprecate.rb
11 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/errors.rb
12 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/version.rb
13 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/requirement.rb
14 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/platform.rb
15 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/basic_specification.rb
16 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/stub_specification.rb
17 C:/Ruby26-x64/lib/ruby/2.6.0/delegate.rb
18 C:/Ruby26-x64/lib/ruby/2.6.0/uri/rfc2396_parser.rb
19 C:/Ruby26-x64/lib/ruby/2.6.0/uri/rfc3986_parser.rb
20 C:/Ruby26-x64/lib/ruby/2.6.0/uri/common.rb
21 C:/Ruby26-x64/lib/ruby/2.6.0/uri/generic.rb
22 C:/Ruby26-x64/lib/ruby/2.6.0/uri/file.rb
23 C:/Ruby26-x64/lib/ruby/2.6.0/uri/ftp.rb
24 C:/Ruby26-x64/lib/ruby/2.6.0/uri/http.rb
25 C:/Ruby26-x64/lib/ruby/2.6.0/uri/https.rb
26 C:/Ruby26-x64/lib/ruby/2.6.0/uri/ldap.rb
27 C:/Ruby26-x64/lib/ruby/2.6.0/uri/ldaps.rb
28 C:/Ruby26-x64/lib/ruby/2.6.0/uri/mailto.rb
29 C:/Ruby26-x64/lib/ruby/2.6.0/uri.rb
30 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/specification_policy.rb
31 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/util/list.rb
32 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/stringio.so
33 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/specification.rb
34 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/exceptions.rb
35 C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/singleton.rb
36 C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime.rb
37 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/trans/single_byte.so
38 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/fiddle.so
39 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/function.rb
40 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/closure.rb
41 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle.rb
42 C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/dll_directory.rb
43 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/utf_16le.so
44 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/enc/trans/utf_16_32.so
45 C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/ruby_installer/runtime/msys2_installation.rb
46 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/value.rb
47 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/pack.rb
48 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/struct.rb
49 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/cparser.rb
50 C:/Ruby26-x64/lib/ruby/2.6.0/fiddle/import.rb
51 C:/Ruby26-x64/lib/ruby/2.6.0/win32/importer.rb
52 C:/Ruby26-x64/lib/ruby/2.6.0/win32/registry.rb
53 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/defaults/operating_system.rb
54 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/util.rb
55 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb
56 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/dependency.rb
57 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_gem.rb
58 C:/Ruby26-x64/lib/ruby/2.6.0/monitor.rb
59 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb
60 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/core_ext/kernel_warn.rb
61 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems.rb
62 C:/Ruby26-x64/lib/ruby/2.6.0/rubygems/path_support.rb
63 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/version.rb
64 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/core_ext/name_error.rb
65 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/levenshtein.rb
66 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/jaro_winkler.rb
67 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checker.rb
68 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
69 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
70 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
71 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
72 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
73 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/spell_checkers/null_checker.rb
74 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean/formatters/plain_formatter.rb
75 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib/did_you_mean.rb
76 C:/Ruby26-x64/lib/ruby/2.6.0/fileutils/version.rb
77 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/etc.so
78 C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb
79 E:/code/KYSY-3153/Source/x64/Release/Ruby/Ruby26/RegisterDef.so
80 E:/code/KYSY-3153/Source/x64/Release/Ruby/RegisterDef.rb
81 E:/code/KYSY-3153/Source/x64/Release/Ruby/Ruby26/Kysy.so
82 E:/code/KYSY-3153/Source/x64/Release/Ruby/Kysy.rb
83 E:/code/KYSY-3153/Source/test/KysyWrapper.rb
84 E:/code/KYSY-3153/Source/test/os.rb
85 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/socket.so
86 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/io/wait.so
87 C:/Ruby26-x64/lib/ruby/2.6.0/socket.rb
88 E:/code/KYSY-3153/Source/test/misc_utils.rb
89 E:/code/KYSY-3153/Source/test/secure_unlock_helper.rb
90 E:/code/KYSY-3153/Source/test/platform_helper.rb
91 C:/Ruby26-x64/lib/ruby/2.6.0/optparse.rb
92 C:/Ruby26-x64/lib/ruby/2.6.0/mutex_m.rb
93 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/parallel.rb
94 C:/Ruby26-x64/lib/ruby/2.6.0/tmpdir.rb
95 C:/Ruby26-x64/lib/ruby/2.6.0/tempfile.rb
96 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/assertions.rb
97 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/unit.rb
98 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/test.rb
99 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest.rb
100 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/expectations.rb
101 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/spec.rb
102 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/mock.rb
103 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/autorun.rb
104 E:/code/KYSY-3153/Source/test/minitest_wrapper.rb
105 E:/code/KYSY-3153/Source/test/kysy_minitest.rb
106 E:/code/KYSY-3153/Source/test/test_helper.rb
107 E:/code/KYSY-3153/Source/test/unit/ruby/Misc/DoNotPackage/configure_environment_password.rb
108 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-5.8.3/lib/minitest/pride_plugin.rb
109 C:/Ruby26-x64/lib/ruby/2.6.0/cgi/core.rb
110 C:/Ruby26-x64/lib/ruby/2.6.0/x64-mingw32/cgi/escape.so
111 C:/Ruby26-x64/lib/ruby/2.6.0/cgi/util.rb
112 C:/Ruby26-x64/lib/ruby/2.6.0/cgi/cookie.rb
113 C:/Ruby26-x64/lib/ruby/2.6.0/cgi.rb
114 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-ci-3.0.3/lib/minitest/ci.rb
115 C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/minitest-ci-3.0.3/lib/minitest/ci_plugin.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://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.
Updated by satishdewangan (Satish Dwangan) over 4 years ago
It works fine in Ruby 2.5.6 version
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
It looks like Kysy is still installed and active according to the C level backtrace:
C:\Windows\SYSTEM32\ntdll.dll(RtlCaptureContext+0x3c3) [0x00007ff9c23c9bd3]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::PCIAddress::pnbNodeNumber+0xb1) [0x00007ff990fa7891]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::ProgressCallback::ProgressCallback+0x421) [0x00007ff990fbab71]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::add+0x208) [0x00007ff990fbb2e8]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::BARAccessLogic::name+0x294) [0x00007ff990fb9784]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::ProgressCallback::ProgressCallback+0x376) [0x00007ff990fbaac6]
[0x00007ff9b4301030]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x12bf) [0x00007ff9b430358f]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_C_specific_handler+0x444) [0x00007ff9b430bc94]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0xd09) [0x00007ff9b4302fd9]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_CxxFrameHandler3+0x6d) [0x00007ff9b430c15d]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x19d) [0x00007ff9c23ca60d]
C:\Windows\SYSTEM32\ntdll.dll(RtlUnwindEx+0x38a) [0x00007ff9c23606ba]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_C_specific_handler+0x785) [0x00007ff9b430bfd5]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x404) [0x00007ff9b43026d4]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0x6fb) [0x00007ff9b43029cb]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(is_exception_typeof+0xe0f) [0x00007ff9b43030df]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(_CxxFrameHandler3+0x6d) [0x00007ff9b430c15d]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007ff9c23ca58d]
C:\Windows\SYSTEM32\ntdll.dll(RtlImageNtHeaderEx+0x483) [0x00007ff9c235fd23]
C:\Windows\SYSTEM32\ntdll.dll(RtlRaiseException+0x2d9) [0x00007ff9c2361a39]
C:\Windows\System32\KERNELBASE.dll(RaiseException+0x68) [0x00007ff9bf154c48]
C:\Windows\SYSTEM32\VCRUNTIME140.dll(CxxThrowException+0xad) [0x00007ff9b430485d]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::PPRCommon::findFirstEnabledPhysical+0x99b) [0x00007ff99114597b]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::CoreData::logicalIdentifier+0x14a) [0x00007ff99115902a]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::CoreAffinitizedPlatformAction::toString+0x21e) [0x00007ff99111aefe]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::CPUIDAction::toString+0xef) [0x00007ff990fea6cf]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::Test::StubPlatformActionBatch::executeCPUIDAction+0x42) [0x00007ff991120f12]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::PlatformActionBatch_common::execute+0xca) [0x00007ff991120baa]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::Details::ActionBatch::execute+0xbf) [0x00007ff99112033f]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::executeMain+0x373) [0x00007ff990fbbed3]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::BatchAccess::execute+0x283) [0x00007ff990fbb583]
E:\code\KYSY-3153\Source\x64\Release\bin\KysyCore.dll(Kysy::PlatformBatch::execute+0x15b) [0x00007ff99112533b]
[0x00007ff9918a2de1]
C:\Ruby26-x64\bin\x64-msvcrt-ruby260.dll(rb_error_arity+0x125) [0x000000006a5dd415]
Can you try to reproduce this issue on a different system that doesn't have Kysy installed?
Updated by satishdewangan (Satish Dwangan) over 4 years ago
Kysy is not installed in the machine .
The above call stack is from my development environment which has Kysy codebase but not Kysy library installed
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
As KysyCore.dll is included in the backtrace, that is likely to be the cause of the problem. Is it possible for you to test on a system that doesn't have Kysy loaded when running the tests?
Updated by satishdewangan (Satish Dwangan) over 4 years ago
Loading Kysy dll is required in order to run my test cases .
Updated by nobu (Nobuyoshi Nakada) over 4 years ago
- File bug-16135.txt bug-16135.txt added
- Description updated (diff)
- Status changed from Feedback to Third Party's Issue
It occurs in KysyCore.dll and the extension library calling that DLL.
Have you asked the author?
Updated by satishdewangan (Satish Dwangan) over 4 years ago
It works in Ruby 2.2.x and Ruby 2.5.x .
Updated by satishdewangan (Satish Dwangan) over 4 years ago
We have a Ruby swig interface through which we are calling Kysy dll (written in C++) .I have upgraded swig interface from Ruby 2.2.6 to Ruby 2.6.1 .The same testcases are fine in Ruby 2.2.6 .I even tried with Ruby 2.5.6 versions and it works .
Updated by satishdewangan (Satish Dwangan) over 4 years ago
Is there any update on this ?