Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.7.0.RC1
-
Component/s: Windows
-
Labels:None
-
Environment:jruby 1.7.0.dev (ruby-1.8.7-p357) (2012-04-10 36a6987) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java]
-
Testcase included:yes
-
Number of attachments :
Description
>> require 'win32/registry'
=> true
irb(main):006:0> @screen_reg = Win32::Registry::HKEY_CURRENT_USER.create "Software
os_screen_capture" # LODO .keys fails?
=> #<Win32::Registry key="HKEY_CURRENT_USER\\Software
os_screen_capture">
irb(main):007:0> @screen_reg['width']
#
- A fatal error has been detected by the Java Runtime Environment:
# - EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0028a9b7, pid=3912, tid=5548
# - JRE version: 6.0_26-b03
- Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )
- Problematic frame:
- C 0x0028a9b7
# - An error report file with more information is saved as:
- c:\dev\ruby\pomodoro-timer\lib\jruby-swing-helpers\hs_err_pid3912.log
# - If you would like to submit a bug report, please visit:
- http://java.sun.com/webapps/bugreport/crash.jsp
- The crash happened outside the Java Virtual Machine in native code.
- See problematic frame for where to report the bug.
#
Seems to work fine with 1.6.7 though.
If this is happening in 1.7 but not 1.6.7 it is a regression and an important one since win32ole depends on registry working (and obviously is also important if you want to use registry itself
).