Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.4
-
Fix Version/s: JRuby 1.1.5
-
Component/s: None
-
Labels:None
-
Environment:Windows XP Pro SP3, Java 1.6.0_07-b06, HotSpot build 10.0-b23, mixed mode, sharing), AMD X2 5600, 2GB RAM
-
Number of attachments :
Description
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
#
I forgot to mention, this is with build 7858