Erro gerado pela Virtual Machine

1 resposta
C

Olá pessoal !
Na pasta onde fica meu sistema .jar (no servidor), esta criando varios arquivos de logs e eu acredito q sejam gerados pela virtual machine.
Meu sistema é desktop, mas está sendo usado em rede, com fat-client, mas todas as estações e o servidor está com a mesma JVM:
JAVA VERSION : 1.5.0_06

nome do arquivo: hs_err_pid1600.log

An unexpected error has been detected by HotSpot Virtual Machine:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d73981b, pid=1528, tid=1576

Java VM: Java HotSpot™ Client VM (1.5.0_06-b05 mixed mode, sharing)

Problematic frame:

V [jvm.dll+0xc981b]

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

Current thread (0x009edd38): VMThread [id=1576]

siginfo: ExceptionCode=0xc0000005, writing address 0x2ad92159

Registers:
EAX=0x682ad921, EBX=0x0000001b, ECX=0x2ad92159, EDX=0x6d79ced4
ESP=0x02aafb9c, EBP=0x02aafc00, ESI=0x2b2a8eb0, EDI=0x2ad92159
EIP=0x6d73981b, EFLAGS=0x00010293

Top of Stack: (sp=0x02aafb9c)
0x02aafb9c: 6d739512 2ad92159 2b2a8f38 2b2a8eb0
0x02aafbac: 6d6d0c87 2b2a8f38 6d7e4988 2b2602e0
0x02aafbbc: 00000000 6d7395b5 2b2a8eb0 6d739579
0x02aafbcc: 6d7e4988 6d7397d9 6d7e8e8c 6d78118b
0x02aafbdc: 6d7e8e8c 6d7e4988 009c71c8 6d6debe1
0x02aafbec: 6d7e4988 00000000 00000001 009c71c8
0x02aafbfc: 00000000 02aafc68 6d6dfe59 00000001
0x02aafc0c: 00000000 00000001 00000002 6d7e4988

Instructions: (pc=0x6d73981b)
0x6d73980b: 83 e0 fc 74 02 89 01 c2 04 00 8b 4c 24 04 8b 01
0x6d73981b: c7 01 03 00 00 00 83 f8 01 74 20 8b d0 83 e2 07

Stack: [0x02a70000,0x02ab0000), sp=0x02aafb9c, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xc981b]
V [jvm.dll+0x6fe59]
V [jvm.dll+0x6fbd8]
V [jvm.dll+0x73241]
V [jvm.dll+0x10876b]
V [jvm.dll+0x6e9d5]
V [jvm.dll+0x5160e]
V [jvm.dll+0x6eb80]
V [jvm.dll+0x1233f7]
V [jvm.dll+0x122ec5]
V [jvm.dll+0x12306e]
V [jvm.dll+0x122dd3]
C [MSVCRT.dll+0x27fb8]
C [kernel32.dll+0x1d28e]

VM_Operation (0x0536f02c): generation collection for allocation, mode: safepoint, requested by thread 0x02cef470

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x02d0e960 JavaThread “Image Fetcher 3” daemon [_thread_blocked, id=1176]
0x02e2fb48 JavaThread “Image Fetcher 2” daemon [_thread_blocked, id=1656]
0x02fb1b40 JavaThread “Image Fetcher 1” daemon [_thread_blocked, id=1976]
0x02e590e0 JavaThread “Image Fetcher 0” daemon [_thread_blocked, id=1544]
0x02ff5758 JavaThread “TimerQueue” daemon [_thread_blocked, id=1672]
0x02d17aa0 JavaThread “Java2D Disposer” daemon [_thread_blocked, id=1648]
0x00354740 JavaThread “DestroyJavaVM” [_thread_blocked, id=1092]
0x02cef470 JavaThread “AWT-EventQueue-0” [_thread_blocked, id=724]
0x02ce49b8 JavaThread “AWT-Windows” daemon [_thread_in_native, id=264]
0x02ca3d00 JavaThread “AWT-Shutdown” [_thread_blocked, id=1636]
0x009f8d38 JavaThread “Low Memory Detector” daemon [_thread_blocked, id=1320]
0x009f79a8 JavaThread “CompilerThread0” daemon [_thread_blocked, id=1940]
0x009f6d50 JavaThread “Signal Dispatcher” daemon [_thread_blocked, id=1604]
0x009f1b00 JavaThread “Finalizer” daemon [_thread_blocked, id=1596]
0x009f0618 JavaThread “Reference Handler” daemon [_thread_blocked, id=1564]

Other Threads:
=>0x009edd38 VMThread [id=1576]
0x009f6850 WatcherThread [id=1600]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00353df8/0x000000e0] Threads_lock - owner thread: 0x009edd38
[0x00353f78/0x0000011c] Heap_lock - owner thread: 0x02cef470

Heap

def new generation   total 576K, used 61K [0x22a60000, 0x22b00000, 0x22f40000)

eden space 512K,   0% used [0x22a60000, 0x22a60000, 0x22ae0000)

from space 64K,  96% used [0x22af0000, 0x22aff6e8, 0x22b00000)

to   space 64K,   0% used [0x22ae0000, 0x22ae0000, 0x22af0000)

tenured generation   total 2364K, used 2245K [0x22f40000, 0x2318f000, 0x26a60000)

the space 2364K,  94% used [0x22f40000, 0x23171708, 0x23171800, 0x2318f000)

compacting perm gen  total 8192K, used 4343K [0x26a60000, 0x27260000, 0x2aa60000)

the space 8192K,  53% used [0x26a60000, 0x26e9ddb8, 0x26e9de00, 0x27260000)

ro space 8192K,  63% used [0x2aa60000, 0x2af6b178, 0x2af6b200, 0x2b260000)

rw space 12288K,  46% used [0x2b260000, 0x2b7f9fa8, 0x2b7fa000, 0x2be60000)

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\javaw.exe
0x77f50000 - 0x77ffb000 C:\WINDOWS\System32\ntdll.dll
0x77e50000 - 0x77f40000 C:\WINDOWS\system32\kernel32.dll
0x77db0000 - 0x77e4d000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll
0x77d20000 - 0x77dad000 C:\WINDOWS\system32\USER32.dll
0x7f000000 - 0x7f042000 C:\WINDOWS\system32\GDI32.dll
0x77bf0000 - 0x77c43000 C:\WINDOWS\system32\MSVCRT.dll
0x6d670000 - 0x6d804000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\client\jvm.dll
0x76b20000 - 0x76b4d000 C:\WINDOWS\System32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\hpi.dll
0x76bd0000 - 0x76bdb000 C:\WINDOWS\System32\PSAPI.DLL
0x6d640000 - 0x6d64c000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\java.dll
0x6d660000 - 0x6d66f000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\zip.dll
0x6d000000 - 0x6d167000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\awt.dll
0x72fb0000 - 0x72fd3000 C:\WINDOWS\System32\WINSPOOL.DRV
0x76360000 - 0x7637c000 C:\WINDOWS\System32\IMM32.dll
0x4fec0000 - 0x4ffe6000 C:\WINDOWS\system32\ole32.dll
0x6d4c0000 - 0x6d4d3000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\net.dll
0x71a70000 - 0x71a84000 C:\WINDOWS\System32\WS2_32.dll
0x71a60000 - 0x71a68000 C:\WINDOWS\System32\WS2HELP.dll
0x71a10000 - 0x71a4c000 C:\WINDOWS\system32\mswsock.dll
0x71a50000 - 0x71a58000 C:\WINDOWS\System32\wshtcpip.dll
0x51000000 - 0x51049000 C:\WINDOWS\System32\ddraw.dll
0x73b70000 - 0x73b76000 C:\WINDOWS\System32\DCIMAN32.dll
0x5c000000 - 0x5c0c8000 C:\WINDOWS\System32\D3DIM700.DLL
0x746e0000 - 0x74724000 C:\WINDOWS\System32\MSCTF.dll
0x6d240000 - 0x6d27d000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\fontmanager.dll
0x7ccc0000 - 0x7d4c2000 C:\WINDOWS\system32\shell32.dll
0x772b0000 - 0x77316000 C:\WINDOWS\system32\SHLWAPI.dll
0x78090000 - 0x78175000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1816_x-ww_7d33ba0e\comctl32.dll
0x77320000 - 0x773ab000 C:\WINDOWS\system32\comctl32.dll
0x6d4e0000 - 0x6d4e9000 C:\Arquivos de programas\Java\jre1.5.0_06\bin\nio.dll

VM Arguments:
java_command: X:\estoque.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas\MySQL\MySQL Server 5.0\bin
USERNAME=Recepcao
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 3 Stepping 1, AuthenticAMD

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

OS: Windows XP Build 2600 Service Pack 1

CPU:total 1 family 6, cmov, cx8, fxsr, mmx

Memory: 4k page, physical 1015280k(739388k free), swap 1661524k(1284840k free)

vm_info: Java HotSpot™ Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by “java_re” with MS VC++ 6.0

ALGUÉM SABE ME DIZER O Q PODE SER?

Obrigado!

1 Resposta

K

E aí Cristian, blz?

Amigo, posse te dizer o seguinte, como o próprio erro diz, isso foi inesperado, sendo assim, a VM nao sabe dizer onde ocorreu o erro, a menos que voce decifre o código hexadecimal.

Quando isso aconteceu comigo, eu tive que verificar todo o código próximo aonde o erro acorreu. Por exemplo, comigo, isso aconteceu quando inverti um método setDate por setString do PreparedStatement, como esse erro só surge durante a execução, e nao eh esperado, causava esse erro na JVM.

Eu até andei dando uma olhada nos forum da Sun e java.net, mas nunca encontrei algo q ajudasse muito. Entao, por enqto, posso te adiantar q vc terá q dar uma boa olhada na regiao do seu código onde ocorreu o erro.

Espero ter te ajudado.
Ah, e se achar o erro, nos conte qual foi.

Criado 20 de julho de 2006
Ultima resposta 21 de jul. de 2006
Respostas 1
Participantes 2