Ruby - Bug #16811: [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 cont

jeremyevans0 (Jeremy Evans)
2020-04-23T15:20:55Z

Status changed from Open to Feedback

This appears to happen when loading fiddle:

C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_bug_context+0x6f) [0x0000000067F3B59F]
C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_check_safe_obj+0xd7) [0x00000000680257B7]
[0x00000000004023E0]
C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007FFDAEE03F66]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0xfd) [0x00007FFDAEE1633D]
C:\Windows\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1560) [0x00007FFDAED93C00]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x3a) [0x00007FFDAEE1544A]
C:\metasploit\ruby\bin\libffi-6.dll(ffi_prep_cif+0x23) [0x000000006B741633]
C:\metasploit\ruby\lib\ruby\2.5.0\x64-mingw32\fiddle.so(Init_fiddle+0x963) [0x0000000063D82C03]

Ruby 2.5 is in security maintenance phase, and this doesn't appear to be a security issue. I recommend updating to Ruby 2.5.8 and see if that fixes the issue. If not, try upgrading to a supported version of Ruby (2.6 or 2.7). Please report back whether either of those has fixed the issue.