Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker 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 :
      2

      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']
      #

      1. A fatal error has been detected by the Java Runtime Environment:
        #
      2. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0028a9b7, pid=3912, tid=5548
        #
      3. JRE version: 6.0_26-b03
      4. Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )
      5. Problematic frame:
      6. C 0x0028a9b7
        #
      7. An error report file with more information is saved as:
      8. c:\dev\ruby\pomodoro-timer\lib\jruby-swing-helpers\hs_err_pid3912.log
        #
      9. If you would like to submit a bug report, please visit:
      10. http://java.sun.com/webapps/bugreport/crash.jsp
      11. The crash happened outside the Java Virtual Machine in native code.
      12. See problematic frame for where to report the bug.
        #

      Seems to work fine with 1.6.7 though.

      1. hs_err_pid8056.log
        49 kB
        Roger Pack
      2. reg.reg
        0.6 kB
        Roger Pack

        Activity

        Hide
        Thomas E Enebo added a comment -

        Hmm, I am not seeing this error at all, but I am using Win 7 64 bit with 64 bit VM. I wonder if it is a mixed address issue of some kind?

        Show
        Thomas E Enebo added a comment - Hmm, I am not seeing this error at all, but I am using Win 7 64 bit with 64 bit VM. I wonder if it is a mixed address issue of some kind?
        Hide
        Roger Pack added a comment -

        It does seem to work fine with 64 bit VM here, as well.

        Show
        Roger Pack added a comment - It does seem to work fine with 64 bit VM here, as well.
        Hide
        Roger Pack added a comment -

        still present with jruby 1.7.0.preview2.dev (ruby-1.9.3-p203) (2012-07-09 b836c0f) (Java HotSpot(TM) Client VM 1.6.0_33) [Windows 7-x86-java]

        if you install VLC for instance (or just create any registry key, then attempt to read it).
        Win32::Registry::HKEY_LOCAL_MACHINE.open('Software\Wow6432Node\\VideoLAN
        VLC')['installDir']

        causes the seg fault.

        Show
        Roger Pack added a comment - still present with jruby 1.7.0.preview2.dev (ruby-1.9.3-p203) (2012-07-09 b836c0f) (Java HotSpot(TM) Client VM 1.6.0_33) [Windows 7-x86-java] if you install VLC for instance (or just create any registry key, then attempt to read it). Win32::Registry::HKEY_LOCAL_MACHINE.open('Software\Wow6432Node\\VideoLAN VLC') ['installDir'] causes the seg fault.
        Hide
        Charles Oliver Nutter added a comment -

        This is fixed by a recent update of jffi.

        Show
        Charles Oliver Nutter added a comment - This is fixed by a recent update of jffi.
        Hide
        Roger Pack added a comment -

        awesomeness thank you

        Show
        Roger Pack added a comment - awesomeness thank you

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Roger Pack
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: