Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » EXCEPTION_ACCESS_VIOLATION - when using TPTP in Eclipse and Hibernate
EXCEPTION_ACCESS_VIOLATION - when using TPTP in Eclipse and Hibernate [message #101136] Mon, 18 June 2007 17:30 Go to next message
Eclipse UserFriend
Originally posted by: jamie.shanley.nospam.com

Hi

I'm repeatedly getting a jvm crash when attempting to run a junit test which
involves hibernate calls. Using a small number of hibernate mappings works
ok but when loading a larger number of classes the crash occurs. Has anyone
else come across this?

Full error log below:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1001b709, pid=2008,
tid=928
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# C
#

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

Current thread (0x0003c6e0): JavaThread "main"

siginfo: ExceptionCode=0xc0000005, writing address 0x0095a000

Registers:
EAX=0x00003903, EBX=0x00000034, ECX=0x0095a000, EDX=0x00000004
ESP=0x0007ee5c, EBP=0x0007ee68, ESI=0x00003903, EDI=0x00959fff
EIP=0x1001b709, EFLAGS=0x00010202

Top of Stack: (sp=0x0007ee5c)
0x0007ee5c: 00959fff 000007b5 0097e258 0007ee80
0x0007ee6c: 1001b6c3 0016455c 00959fff 0000000a
0x0007ee7c: 00000000 0095984a 10013a37 0016455c
0x0007ee8c: 00959fff 0000000a 0007efa0 0da15e50
0x0007ee9c: 0dcad578 00000000 100096d0 0dcad578
0x0007eeac: 0da15e50 3616dd14 00069e61 0097e258
0x0007eebc: 00000004 0007efa0 0003c79c 00000001
0x0007eecc: 00000000 1000afc9 0007efa0 0097e258

Instructions: (pc=0x1001b709)
0x1001b6f9: 10 83 fb 09 8b f0 76 05 80 c3 57 eb 03 80 c3 30
0x1001b709: 88 19 41 85 f6 77 da 80 21 00 49 8a 17 8a 01 88


Stack:
C

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~RuntimeStub::fast_new_instance Runtime1 stub
J
net.sf.cglib.asm.ClassWriter.newNameType(Ljava/lang/String;L java/lang/String;)I
J
net.sf.cglib.asm.ClassWriter.newMethodItem(Ljava/lang/String ;Ljava/lang/String;Ljava/lang/String;Z)Lnet/sf/cglib/asm/Ite m;
J
net.sf.cglib.asm.CodeWriter.visitMethodInsn(ILjava/lang/Stri ng;Ljava/lang/String;Ljava/lang/String;)V
J
net.sf.cglib.core.CodeEmitter.emit_invoke(ILnet/sf/cglib/asm /Type;Lnet/sf/cglib/core/Signature;)V
J
net.sf.cglib.core.CodeEmitter.invoke_static(Lnet/sf/cglib/as m/Type;Lnet/sf/cglib/core/Signature;)V
J
net.sf.cglib.core.EmitUtils.load_class_helper(Lnet/sf/cglib/ core/CodeEmitter;Lnet/sf/cglib/asm/Type;)V
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j
net.sf.cglib.core.EmitUtils.load_class_this(Lnet/sf/cglib/co re/CodeEmitter;)V+8
J
net.sf.cglib.proxy.MethodInterceptorGenerator.generateStatic (Lnet/sf/cglib/core/CodeEmitter;Lnet/sf/cglib/proxy/Callback Generator$Context;Ljava/util/List;)V
J
net.sf.cglib.proxy.Enhancer.emitMethods(Lnet/sf/cglib/core/C lassEmitter;Ljava/util/List;Ljava/util/List;)V
j
net.sf.cglib.proxy.Enhancer.generateClass(Lnet/sf/cglib/asm/ ClassVisitor;)V+353
j
net.sf.cglib.core.DefaultGeneratorStrategy.generate(Lnet/sf/ cglib/core/ClassGenerator;)
0x00a4b078 JavaThread "Low Memory Detector" daemon
0x00a49d98 JavaThread "CompilerThread0" daemon
0x00a59780 JavaThread "Signal Dispatcher" daemon
0x00a40400 JavaThread "Finalizer" daemon
0x00a3ef70 JavaThread "Reference Handler" daemon
=>0x0003c6e0 JavaThread "main"

Other Threads:
0x00a3c5a0 VMThread [id=3824]
0x00a49058 WatcherThread [id=3988]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 768K, used 768K [0x02b10000, 0x02be0000,
0x02ff0000)
eden space 704K, 100% used [0x02b10000, 0x02bc0000, 0x02bc0000)
from space 64K, 100% used [0x02bc0000, 0x02bd0000, 0x02bd0000)
to space 64K, 0% used [0x02bd0000, 0x02bd0000, 0x02be0000)
tenured generation total 9484K, used 7500K [0x02ff0000, 0x03933000,
0x06b10000)
the space 9484K, 79% used [0x02ff0000, 0x03743078, 0x03743200,
0x03933000)
compacting perm gen total 12800K, used 12767K [0x06b10000, 0x07790000,
0x0ab10000)
the space 12800K, 99% used [0x06b10000, 0x07787dc0, 0x07787e00,
0x07790000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 d:\bea_92\jdk150_04\jre\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d6b0000 - 0x6d839000 d:\bea_92\jdk150_04\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x5dac0000 - 0x5dac8000 C:\WINDOWS\system32\rdpsnd.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d2f0000 - 0x6d2f8000 d:\bea_92\jdk150_04\jre\bin\hpi.dll
0x10000000 - 0x1009b000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\piAgent.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x003c0000 - 0x003d3000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcclco.dll
0x003e0000 - 0x003ed000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hccldt.dll
0x008a0000 - 0x008b4000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcclsm.dll
0x003f0000 - 0x00400000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hccls.dll
0x008c0000 - 0x008d1000
D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcbnd.dll
0x6d680000 - 0x6d68c000 d:\bea_92\jdk150_04\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 d:\bea_92\jdk150_04\jre\bin\java.dll
0x6d6a0000 - 0x6d6af000 d:\bea_92\jdk150_04\jre\bin\zip.dll
0x0acb0000 - 0x0acc1000
D:\eclipse\plugins\org.eclipse.hyades.probekit_4.2.100.v2006 09190100\os\win32\x86\ProbeAgentExtension.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x6d530000 - 0x6d543000 D:\bea_92\jdk150_04\jre\bin\net.dll
0x43000000 - 0x43006000 C:\Program Files\Google\Google Desktop
Search\GoogleDesktopNetwork1.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll

VM Arguments:
jvm_args: -Dconsole.encoding=UTF-8 -XrunpiAgent:server=controlled
java_command:
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port
3321 -testLoaderClass
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r -classNames
ros.core.businessfunctions.place.PlaceTest

Environment Variables:
JAVA_HOME=d:\bea_92\jdk150_04
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2088380k(1304732k free), swap 3494652k(2635716k
free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built on
Jun 3 2005 02:10:41 by "java_re" with MS VC++ 6.0




Thanks

Jamie
Re: EXCEPTION_ACCESS_VIOLATION - when using TPTP in Eclipse and Hibernate [message #101412 is a reply to message #101136] Thu, 21 June 2007 14:43 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Jamie,
It appears that you are running a JUnit class using the JDT JUnit test
runner and not a TPTP JUnit test class. I would recommend that you post
your question to the JDT news group.

Paul
"Jamie" <jamie.shanley@nospam.com> wrote in message
news:f56ffr$ej7$1@build.eclipse.org...
> Hi
>
> I'm repeatedly getting a jvm crash when attempting to run a junit test
> which involves hibernate calls. Using a small number of hibernate mappings
> works ok but when loading a larger number of classes the crash occurs. Has
> anyone else come across this?
>
> Full error log below:
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1001b709, pid=2008,
> tid=928
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
> # Problematic frame:
> # C
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x0003c6e0): JavaThread "main"
>
> siginfo: ExceptionCode=0xc0000005, writing address 0x0095a000
>
> Registers:
> EAX=0x00003903, EBX=0x00000034, ECX=0x0095a000, EDX=0x00000004
> ESP=0x0007ee5c, EBP=0x0007ee68, ESI=0x00003903, EDI=0x00959fff
> EIP=0x1001b709, EFLAGS=0x00010202
>
> Top of Stack: (sp=0x0007ee5c)
> 0x0007ee5c: 00959fff 000007b5 0097e258 0007ee80
> 0x0007ee6c: 1001b6c3 0016455c 00959fff 0000000a
> 0x0007ee7c: 00000000 0095984a 10013a37 0016455c
> 0x0007ee8c: 00959fff 0000000a 0007efa0 0da15e50
> 0x0007ee9c: 0dcad578 00000000 100096d0 0dcad578
> 0x0007eeac: 0da15e50 3616dd14 00069e61 0097e258
> 0x0007eebc: 00000004 0007efa0 0003c79c 00000001
> 0x0007eecc: 00000000 1000afc9 0007efa0 0097e258
>
> Instructions: (pc=0x1001b709)
> 0x1001b6f9: 10 83 fb 09 8b f0 76 05 80 c3 57 eb 03 80 c3 30
> 0x1001b709: 88 19 41 85 f6 77 da 80 21 00 49 8a 17 8a 01 88
>
>
> Stack:
> C
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> v ~RuntimeStub::fast_new_instance Runtime1 stub
> J
> net.sf.cglib.asm.ClassWriter.newNameType(Ljava/lang/String;L java/lang/String;)I
> J
> net.sf.cglib.asm.ClassWriter.newMethodItem(Ljava/lang/String ;Ljava/lang/String;Ljava/lang/String;Z)Lnet/sf/cglib/asm/Ite m;
> J
> net.sf.cglib.asm.CodeWriter.visitMethodInsn(ILjava/lang/Stri ng;Ljava/lang/String;Ljava/lang/String;)V
> J
> net.sf.cglib.core.CodeEmitter.emit_invoke(ILnet/sf/cglib/asm /Type;Lnet/sf/cglib/core/Signature;)V
> J
> net.sf.cglib.core.CodeEmitter.invoke_static(Lnet/sf/cglib/as m/Type;Lnet/sf/cglib/core/Signature;)V
> J
> net.sf.cglib.core.EmitUtils.load_class_helper(Lnet/sf/cglib/ core/CodeEmitter;Lnet/sf/cglib/asm/Type;)V
> v ~RuntimeStub::alignment_frame_return Runtime1 stub
> j
> net.sf.cglib.core.EmitUtils.load_class_this(Lnet/sf/cglib/co re/CodeEmitter;)V+8
> J
> net.sf.cglib.proxy.MethodInterceptorGenerator.generateStatic (Lnet/sf/cglib/core/CodeEmitter;Lnet/sf/cglib/proxy/Callback Generator$Context;Ljava/util/List;)V
> J
> net.sf.cglib.proxy.Enhancer.emitMethods(Lnet/sf/cglib/core/C lassEmitter;Ljava/util/List;Ljava/util/List;)V
> j
> net.sf.cglib.proxy.Enhancer.generateClass(Lnet/sf/cglib/asm/ ClassVisitor;)V+353
> j
> net.sf.cglib.core.DefaultGeneratorStrategy.generate(Lnet/sf/ cglib/core/ClassGenerator;)
> 0x00a4b078 JavaThread "Low Memory Detector" daemon
> 0x00a49d98 JavaThread "CompilerThread0" daemon
> 0x00a59780 JavaThread "Signal Dispatcher" daemon
> 0x00a40400 JavaThread "Finalizer" daemon
> 0x00a3ef70 JavaThread "Reference Handler" daemon
> =>0x0003c6e0 JavaThread "main"
>
> Other Threads:
> 0x00a3c5a0 VMThread [id=3824]
> 0x00a49058 WatcherThread [id=3988]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
> def new generation total 768K, used 768K [0x02b10000, 0x02be0000,
> 0x02ff0000)
> eden space 704K, 100% used [0x02b10000, 0x02bc0000, 0x02bc0000)
> from space 64K, 100% used [0x02bc0000, 0x02bd0000, 0x02bd0000)
> to space 64K, 0% used [0x02bd0000, 0x02bd0000, 0x02be0000)
> tenured generation total 9484K, used 7500K [0x02ff0000, 0x03933000,
> 0x06b10000)
> the space 9484K, 79% used [0x02ff0000, 0x03743078, 0x03743200,
> 0x03933000)
> compacting perm gen total 12800K, used 12767K [0x06b10000, 0x07790000,
> 0x0ab10000)
> the space 12800K, 99% used [0x06b10000, 0x07787dc0, 0x07787e00,
> 0x07790000)
> No shared spaces configured.
>
> Dynamic libraries:
> 0x00400000 - 0x0040c000 d:\bea_92\jdk150_04\jre\bin\java.exe
> 0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
> 0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
> 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
> 0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
> 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
> 0x6d6b0000 - 0x6d839000 d:\bea_92\jdk150_04\jre\bin\client\jvm.dll
> 0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
> 0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
> 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
> 0x5dac0000 - 0x5dac8000 C:\WINDOWS\system32\rdpsnd.dll
> 0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
> 0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
> 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
> 0x6d2f0000 - 0x6d2f8000 d:\bea_92\jdk150_04\jre\bin\hpi.dll
> 0x10000000 - 0x1009b000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\piAgent.dll
> 0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
> 0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
> 0x003c0000 - 0x003d3000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcclco.dll
> 0x003e0000 - 0x003ed000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hccldt.dll
> 0x008a0000 - 0x008b4000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcclsm.dll
> 0x003f0000 - 0x00400000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hccls.dll
> 0x008c0000 - 0x008d1000
> D:\eclipse\plugins\org.eclipse.hyades.execution.win32.x86_4. 3.0.v200611140100\hcbnd.dll
> 0x6d680000 - 0x6d68c000 d:\bea_92\jdk150_04\jre\bin\verify.dll
> 0x6d370000 - 0x6d38d000 d:\bea_92\jdk150_04\jre\bin\java.dll
> 0x6d6a0000 - 0x6d6af000 d:\bea_92\jdk150_04\jre\bin\zip.dll
> 0x0acb0000 - 0x0acc1000
> D:\eclipse\plugins\org.eclipse.hyades.probekit_4.2.100.v2006 09190100\os\win32\x86\ProbeAgentExtension.dll
> 0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
> 0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
> 0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
> 0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
> 0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
> 0x6d530000 - 0x6d543000 D:\bea_92\jdk150_04\jre\bin\net.dll
> 0x43000000 - 0x43006000 C:\Program Files\Google\Google Desktop
> Search\GoogleDesktopNetwork1.dll
> 0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
> 0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
> 0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
> 0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
> 0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
>
> VM Arguments:
> jvm_args: -Dconsole.encoding=UTF-8 -XrunpiAgent:server=controlled
> java_command:
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port
> 3321 -testLoaderClass
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r -classNames
> ros.core.businessfunctions.place.PlaceTest
>
> Environment Variables:
> JAVA_HOME=d:\bea_92\jdk150_04
> USERNAME=Administrator
> OS=Windows_NT
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
>
>
>
> --------------- S Y S T E M ---------------
>
> OS: Windows XP Build 2600 Service Pack 2
>
> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
>
> Memory: 4k page, physical 2088380k(1304732k free), swap 3494652k(2635716k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built
> on Jun 3 2005 02:10:41 by "java_re" with MS VC++ 6.0
>
>
>
>
> Thanks
>
> Jamie
>
Previous Topic:[TPTP AGR] Insert Verification Hook NoClassDefFoundError: org/eclipse/ltk/core/refactoring/Change
Next Topic:Replace the Agent Controller with an OSGi based solution
Goto Forum:
  


Current Time: Mon May 06 11:46:25 GMT 2024

Powered by FUDForum. Page generated in 0.02712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top