日期:2014-05-20  浏览次数:20780 次

今天写了一个东西,运行的时候控制台提示了jvm有bug,因此散分以表示庆祝
Java code

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

Current thread (0x16bba400):  JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=2760, stack(0x16e90000,0x16ee0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x00000000, EBX=0x16bba400, ECX=0x00000000, EDX=0x00000000
ESP=0x16edfc80, EBP=0x16edfc84, ESI=0x00000010, EDI=0x02a60d48
EIP=0x6d8bd4c2, EFLAGS=0x00010246

Top of Stack: (sp=0x16edfc80)
0x16edfc80:   16bba528 16edfcac 6d933312 02a60d48
0x16edfc90:   6d43e10c 16bba528 6d43e124 16bba400
0x16edfca0:   00000000 16bba528 16edfe80 6d43e94c
0x16edfcb0:   6d4262bd 16bba528 16bc1904 00000000
0x16edfcc0:   16edfce4 16edfe80 6d442b0a 16edfe80
0x16edfcd0:   16bc1904 16edfe50 6d42ba30 16edfe50
0x16edfce0:   16edfcf0 6d43e840 6d2b4014 6d442be0
0x16edfcf0:   16edfd20 0000012c 16edfcfc 00000000 

Instructions: (pc=0x6d8bd4c2)
0x6d8bd4a2:   ec 8b 45 08 8b 0d 0c 27 b1 6d 8b 15 08 27 b1 6d
0x6d8bd4b2:   8b 0c 01 8b 14 02 56 8b 35 04 27 b1 6d 8b 04 06
0x6d8bd4c2:   8b 71 04 8b 76 0c 81 e6 00 ff 00 00 81 fe 00 05
0x6d8bd4d2:   00 00 5e 75 20 85 c0 75 0e 33 c9 50 51 e8 bc 45 


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x16bba400 is a thread
ECX=0x00000000 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x16edfc80 is pointing into the stack for thread: 0x16bba400
EBP=0x16edfc84 is pointing into the stack for thread: 0x16bba400
ESI=0x00000010 is an unknown value
EDI=
[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x16e90000,0x16ee0000],  sp=0x16edfc80,  free space=319k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x1d4c2]
V  [jvm.dll+0x93312]


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

Java Threads: ( => current thread )
  0x16bc3400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4188, stack(0x16fd0000,0x17020000)]
  0x16bc1000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5112, stack(0x16f80000,0x16fd0000)]
  0x16bbe800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3988, stack(0x16f30000,0x16f80000)]
  0x16bbcc00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5588, stack(0x16ee0000,0x16f30000)]
=>0x16bba400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=2760, stack(0x16e90000,0x16ee0000)]
  0x16baa800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3660, stack(0x16d60000,0x16db0000)]
  0x16bc4400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4644, stack(0x16d10000,0x16d60000)]
  0x16b9a000 JavaThread "Finalizer" daemon [_thread_blocked, id=6128, stack(0x16cc0000,0x16d10000)]
  0x16b95800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4220, stack(0x16c70000,0x16cc0000)]
  0x00847000 JavaThread "main" [_thread_blocked, id=6120, stack(0x008e0000,0x00930000)]

Other Threads:
  0x16b91800 VMThread [stack: 0x16c20000,0x16c70000] [id=316]
  0x16bd6000 WatcherThread [stack: 0x17020000,0x17070000] [id=4720]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 674K [0x029e0000, 0x02f30000, 0x07f30000)
  eden space 4416K,  15% used [0x029e0000, 0x02a88870, 0x02e30000)
  from space 512K,   0% used [0x02e30000, 0x02e30000, 0x02eb0000)
  to   space 512K,   0% used [0x02eb0000, 0x02eb0000, 0x02f30000)
 tenured generation   total 10944K, used 0K [0x07f30000, 0x089e0000, 0x129e0000)
   the space 10944K,   0% used [0x07f30000, 0x07f30000, 0x07f30200, 0x089e0000)
 compacting perm gen  total 12288K, used 2830K [0x129e0000, 0x135e0000, 0x169e0000)
   the space 12288K,  23% used [0x129e0000, 0x12ca3ae8, 0x12ca3c00, 0x135e0000)
No shared spaces configured.

Code Cache  [0x00960000, 0x009d8000, 0x02960000)
 total_blobs=135 nmethods=13 adapters=67 free_code_cache=33090816 largest_free_block=0

Dynamic libraries:
0x00400000 - 0x00424000     C:\Program Files\Java\jdk1.6.0_25\bin\javaw.exe
0x7c920000 - 0x7c9b6000     C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91e000     C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000     C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee3000     C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000     C:\WINDOWS\system32\Secur32.dll
0x77d10000 - 0x77da0000     C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000     C:\WINDOWS\system32\GDI32.dll
0x76300000 - 0x7631d000     C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000     C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000     C:\WINDOWS\system32\USP10.dll
0x7c340000 - 0x7c396000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\msvcr71.dll
0x6d8a0000 - 0x6db4f000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\client\jvm.dll
0x76b10000 - 0x76b3a000     C:\WINDOWS\system32\WINMM.dll
0x6d850000 - 0x6d85c000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\verify.dll
0x6d3d0000 - 0x6d3ef000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\java.dll
0x76bc0000 - 0x76bcb000     C:\WINDOWS\system32\PSAPI.DLL
0x6d420000 - 0x6d449000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\jdwp.dll
0x6d740000 - 0x6d746000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\npt.dll
0x6d890000 - 0x6d89f000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\dt_socket.dll
0x71a20000 - 0x71a37000     C:\WINDOWS\system32\WS2_32.dll
0x77be0000 - 0x77c38000     C:\WINDOWS\system32\msvcrt.dll
0x71a10000 - 0x71a18000     C:\WINDOWS\system32\WS2HELP.dll
0x719c0000 - 0x719fe000     C:\WINDOWS\System32\mswsock.dll
0x76ef0000 - 0x76f17000     C:\WINDOWS\system32\DNSAPI.dll
0x76d30000 - 0x76d48000     C:\WINDOWS\system32\iphlpapi.dll
0x76f80000 - 0x76f88000     C:\WINDOWS\System32\winrnr.dll
0x76f30000 - 0x76f5c000     C:\WINDOWS\system32\WLDAP32.dll
0x16e60000 - 0x16e79000     C:\Program Files\Bonjour\mdnsNSP.dll
0x76f90000 - 0x76f96000     C:\WINDOWS\system32\rasadhlp.dll
0x60fd0000 - 0x61025000     C:\WINDOWS\system32\hnetcfg.dll
0x71a00000 - 0x71a08000     C:\WINDOWS\System32\wshtcpip.dll
0x6d6b0000 - 0x6d6c3000     C:\Program Files\Java\jdk1.6.0_25\jre\bin\net.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:2738 -Dfile.encoding=GBK 
java_command: com.glot.client.sst.gx.Client
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
CLASSPATH=.;C:\Program Files\Java\jdk1.6.0_25\lib;C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar
PATH=C:\Program Files\Java\jdk1.6.0_25\jre\bin;C:\apache-archiva-1.3.5\bin;C:\maven\bin;C:\Program Files\JavaFX\javafx-sdk1.2\bin;C:\Program Files\JavaFX\javafx-sdk1.2\emulator\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\IBM\Rational AppScan\;C:\cygwin\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 16 Model 6 Stepping 2, AuthenticAMD



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

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 16 model 6 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnow, 3dnowext, lzcnt, sse4a

Memory: 4k page, physical 1833452k(239784k free), swap 3773436k(2041756k free)

vm_info: Java HotSpot(TM) Client VM (20.0-b11) for windows-x86 JRE (1.6.0_25-b06), built on Apr 14 2011 01:04:32 by "java_re" with MS VC++ 7.1 (VS2003)

time: Fri Sep 30 13:57:53 2011
elapsed time: 18 seconds