8 Replies Last post: Apr 5, 2010 7:31 AM by Alex  
Oleg Estekhin Newbie 27 posts since
Nov 10, 2005
Currently Being Moderated

Mar 11, 2010 9:33 AM

regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

I am expierencing regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll at some random moments.

 

The VM crash logs start with the following text with some minor changes from crush to crush:

 

===

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dc87954, pid=11740, tid=11552
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
# Problematic frame:
# V  [jvm.dll+0x3f7954]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

 

---------------  T H R E A D  ---------------

 

Current thread (0x000000000045e800):  GCTaskThread [stack: 0x00000000351f0000,0x00000000352f0000] [id=11552]

 

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000000000d9

===

The address of the problematic frame changes slightely and the siginfo reading address changes but stays close to 0x0.

I have sent these crash logs to the supplied bug report address but it is pretty useless.

 

There were similar problems some years ago (http://www.jetbrains.net/devnet/message/5004875#5004875, http://www.jetbrains.net/devnet/message/5048349#5048349, http://youtrack.jetbrains.net/issue/IDEA-3444) that were related to the JNI calls.

 

Has anybody seen something similar with the 9.0 builds?

 

For the record, i am on Windows 7 x64 and using JDK 1.6.0_18 x64.

Andreas Heydler Newbie 38 posts since
Sep 5, 2002
Currently Being Moderated
Mar 11, 2010 10:41 AM in response to: Oleg Estekhin
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

Haven't checked what the actual crash is caused by however on my W7 x64 workstation I am also having the latest EAP crashing relatively regularly... most disconcerting.

 

Andreas

Dmitry Jemerov JetBrains 11,708 posts since
Aug 19, 2002
Currently Being Moderated
Mar 11, 2010 2:53 PM in response to: Oleg Estekhin
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

Hello Oleg,

 

Please try to add the following to idea.exe.vmoptions:

-XX:-ReduceInitialCardMarks

 

See http://java.sun.com/javase/6/webnotes/6u18.html for more information.

 

I am expierencing regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll at

some random moments.

 

The VM crash logs start with the following text with some minor

changes from crush to crush:

 

===

#

  1. A fatal error has been detected by the Java Runtime Environment:

#

  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dc87954,

pid=11740, tid=11552

#

  1. JRE version: 6.0_18-b07

  2. Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode

windows-amd64 )

  1. Problematic frame:

  2. jvm.dll+0x3f7954

#

  1. If you would like to submit a bug report, please visit:

  2.   http://java.sun.com/webapps/bugreport/crash.jsp

#

---------------  T H R E A D  ---------------

 

Current thread (0x000000000045e800):  GCTaskThread [stack:

0x00000000351f0000,0x00000000352f0000] id=11552

 

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000000000d9

 

===

 

The address of the problematic frame changes slightely and the siginfo

reading address changes but stays close to 0x0.

 

I have sent these crash logs to the supplied bug report address but it

is pretty useless.

 

There were similar problems some years ago

(http://www.jetbrains.net/devnet/message/5004875#5004875,

http://www.jetbrains.net/devnet/message/5048349#5048349,

http://youtrack.jetbrains.net/issue/IDEA-3444) that were related to

the JNI calls.

 

Has anybody seen something similar with the 9.0 builds?

 

For the record, i am on Windows 7 x64 and using JDK 1.6.0_18 x64.

 

---

Original message URL:

http://www.jetbrains.net/devnet/message/5258330#5258330

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

Randall Schulz Apprentice 986 posts since
Nov 17, 2006
Currently Being Moderated
Mar 11, 2010 5:57 PM in response to: Oleg Estekhin
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

I was under the impression this was strictly a 32-bit issue. And heretofore, at least, only seen on Linux.

 

 

Randall Schulz

Guest
Currently Being Moderated
Mar 11, 2010 7:12 PM in response to: Randall Schulz
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

On Thu, 11 Mar 2010 17:57:08 +0000, Randall Schulz wrote:

 

I was under the impression this was strictly a 32-bit issue. And

heretofore, at least, only seen on Linux.

 

-XX:-ReduceInitialCardMarks certainly seems to have cured the problem I

was seeing on my 64-bit Linux box.  I've had no crashes at all in the

three weeks since I added it to my idea.vmoptions file.  They'd been

frustratingly common before that.

 

I meant to post a follow-up thanking you for suggesting it (it was you,

right?)...  So thank you

 

--

Mark Scott

mark@codebrewer.com

 

Randall Schulz Apprentice 986 posts since
Nov 17, 2006
Currently Being Moderated
Mar 11, 2010 11:28 PM in response to: Mark Scott
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

I may have been the first to suggest it here (in the IDEA forums), but I myself was put onto the problem and its solution by a person who frequents #scala and who keeps a close eye on HotSpot internals.

 

 

Randall Schulz

Alex  Apprentice 1,017 posts since
May 19, 2003
Currently Being Moderated
Apr 5, 2010 7:25 AM in response to: Oleg Estekhin
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

I just recently switched from Ubuntu Linux 09.10 64-bit to Windows 2008 R2 64-bit to run IntelliJ 9 since IntelliJ was crashing within 30-60 seconds on startup in Ubuntu.

Windows is working better, but it is crashing about once per hour with what looks like the same error mentioned in this thread.

I will will try the -XX:-ReduceInitialCardMarks and see if it fixes the problem.

Thanks -Alex

 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dc87a7f, pid=4624, tid=4884
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
# Problematic frame:
# V  [jvm.dll+0x3f7a7f]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

 

---------------  T H R E A D  ---------------

 

Current thread (0x0000000000384000):  GCTaskThread [stack: 0x0000000006290000,0x0000000006390000] [id=4884]

 

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000018

Alex  Apprentice 1,017 posts since
May 19, 2003
Currently Being Moderated
Apr 5, 2010 7:48 AM in response to: Alex
Re: regular EXCEPTION_ACCESS_VIOLATIONs in jvm.dll

I read the bug (http://bugs.sun.com/view_bug.do?bug_id=6896647) and it has a linked bug (http://bugs.sun.com/view_bug.do?bug_id=2186975) for java 6 update 19 which says it was fixed in 6u19(b02). Since released 6u19 says build b04, it should be fixed.

 

But I checked java 6 update 19 release notes, and I don't see the bugfix mentioned there.

 

http://java.sun.com/javase/6/webnotes/6u19.html

 

I will try java 6 update 19 first to see if that fixes the problem, and if that doesn't work I'll use the workaround.

 

Thanks,

-Alex

More Like This

  • Retrieving data ...