# Re: EXCEPTION\_ACCESS\_VIOLATION since 1.1.3

**URL:** <https://www.ruby-forum.com/t/re-exception-access-violation-since-1-1-3/144245>\
**Category:** JRuby\
**Created:** [July 27, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/re-exception-access-violation-since-1-1-3/144245 "2008-07-27T13:21:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![P\_Heemskerk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@P\_Heemskerk](https://www.ruby-forum.com/u/P_Heemskerk)\
**Post date:** [July 27, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/re-exception-access-violation-since-1-1-3/144245/1 "2008-07-27T13:21:35Z")

</div>

I’m still experiencing the problem after all. JRuby 1.1.3 does give me  
the EXCEPTION\_ACCESS\_VIOLATION as I described in the first post, even  
after  
removing json-jruby-1.1.2-universal-java-1.6. No problems with JRuby  
1.1.2.

----- Original Message ----  
From: P Heemskerk [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Sent: Sunday, July 27, 2008 10:46:58 AM  
Subject: Re: [jruby-user] EXCEPTION\_ACCESS\_VIOLATION since 1.1.3

I was using json-jruby-1.1.2-universal-java-1.6. Removing it solved the  
problem. Excuse me for the noise.

----- Original Message ----  
From: P Heemskerk [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Sent: Sunday, July 27, 2008 9:24:28 AM  
Subject: [jruby-user] EXCEPTION\_ACCESS\_VIOLATION since 1.1.3

Hi,

The update to 1.1.3 breaks my application:

# 

# An unexpected error has been detected by Java Runtime Environment:

# 

# EXCEPTION\_ACCESS\_VIOLATION (0xc0000005) at pc=0x6d8a1392, pid=5132,

tid=5492

# 

# Java VM: Java HotSpot™ Client VM (10.0-b23 mixed mode, sharing

windows-x86)

# Problematic frame:

# V [jvm.dll+0x31392]

# 

and I see this is in hs\_err\_pid5132:

Current CompileTask:  
C1:2867  
!  
ruby.jit.ruby.C\_3a\_.jruby\_minus\_1\_dot\_1\_dot\_3.lib.ruby.$1\_dot\_8.rexml.parsers.streamparser.parse30311837\_10994782.rescue\_1$RUBY$ **rescue** (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;  
(1957 bytes)

Java version is 1.6.0 update 7 on Vista x86. This problem doesn’t occur  
with 1.1.2 or older releases. Any suggestions?

Thanks!

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![P\_Heemskerk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@P\_Heemskerk](https://www.ruby-forum.com/u/P_Heemskerk)\
**Post date:** [July 27, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/re-exception-access-violation-since-1-1-3/144245/2 "2008-07-27T21:06:11Z")

</div>

Very interesting! It looks like we can narrow this down to a specific  
method in rexml that’s blowing up. Two things you should do:

1. File a bug for this with all information you have.
2. Specify jruby.jit.exclude=parse and see if you can reproduce it.

It shouldn’t be hard to hunt down. Ultimately it’s going to be a bug in  
the JVM…no piece of bytecode should ever be able to crash the  
JVM…but if we can reproduce it here we’ll handle talking to the  
HotSpot engineers and finding a workaround in the compiler.

Thanks for the report!

P Heemskerk wrote:

> Subject: Re: [jruby-user] EXCEPTION\_ACCESS\_VIOLATION since 1.1.3
> 
> ## (1957 bytes)

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```
