Roger Pack created JRUBY-6595:
---------------------------------
Summary: segfault with win32/registry
Key: JRUBY-6595
URL: https://jira.codehaus.org/browse/JRUBY-6595
Project: JRuby
Issue Type: Bug
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]
Reporter: Roger Pack
Assignee: Thomas E Enebo
>> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email