EXCEPTION_ACCESS_VIOLATION
--------------------------

                 Key: JRUBY-3049
                 URL: http://jira.codehaus.org/browse/JRUBY-3049
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.4
         Environment: Windows XP Pro SP3, Java 1.6.0_07-b06, HotSpot build 
10.0-b23, mixed mode, sharing), AMD X2 5600, 2GB RAM
            Reporter: William Gannon
            Assignee: Thomas E Enebo
            Priority: Blocker
         Attachments: hs_err_pid2912.log

This code causes an EXCEPTION_ACCESS_VIOLATION

c = 1

while (true)
  flag = 0
  (1..20).each do |e|
    flag += (c % e)
  end
  break if (flag == 0)
  c += 1
end
c

Below is the message:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8a0242, pid=2912, tid=2772
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x30242]
#
# An error report file with more information is saved as hs_err_pid2912.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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


Reply via email to