Bug 65711 - Take snapshots crashes the profiled JVM
Take snapshots crashes the profiled JVM
Status: CLOSED DUPLICATE of bug 62919
Product: profiler
Classification: Unclassified
Component: Base
5.x
All Windows XP
: P2 (vote)
: 5.x
Assigned To: iformanek
issues@profiler
M10
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-03 13:52 UTC by sevenm
Modified: 2007-02-20 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
JVM crash dump (11.19 KB, text/plain)
2005-10-03 13:54 UTC, sevenm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sevenm 2005-10-03 13:52:58 UTC
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9b6603, pid=3456, tid=4256
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b51 mixed mode)
# Problematic frame:
# V  [jvm.dll+0xe6603]
#

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

Current thread (0x08c6f600):  JavaThread "*** Profiler Agent Communication
Thread ***" daemon [_thread_in_vm, id=4256]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000004c

Registers:
EAX=0x0000002c, EBX=0x09267e70, ECX=0x0000002c, EDX=0x6da98a78
ESP=0x08f1f914, EBP=0x0000196d, ESI=0x08c6f600, EDI=0x0000002c
EIP=0x6d9b6603, EFLAGS=0x00010202

Top of Stack: (sp=0x08f1f914)
0x08f1f914:   00038660 6d9b669c 08dfc759 6d9d4e1b
0x08f1f924:   08dfc759 09763d62 08dfc759 08c6f600
0x08f1f934:   100022b4 00038660 08dfc759 08f1f978
0x08f1f944:   08c6f600 04b97c28 08f1f9a4 04b97c28
0x08f1f954:   097b5a78 095f7158 00000ebb 00000000
0x08f1f964:   00000000 092653a8 009b9fdc 08c6f6e4
0x08f1f974:   08f1f9ac 097b8eb4 09763d40 08f1f9b4
0x08f1f984:   08f1f984 00000000 08f1f9bc 04b97e18 

Instructions: (pc=0x6d9b6603)
0x6d9b65f3:   5b 59 c3 cc cc cc cc cc cc cc cc cc cc 57 8b f9
0x6d9b6603:   81 7f 20 4b 43 55 42 74 06 33 c0 5f c2 04 00 8b 


Stack: [0x08ee0000,0x08f20000),  sp=0x08f1f914,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xe6603]

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j 
com.sun.tools.profiler.server.system.Stacks.getMethodNamesForJMethodIds(I[I[I)[B+0
j 
com.sun.tools.profiler.server.ProfilerInterface.getMethodNamesForJMethodIds([I)Lcom/sun/tools/profiler/wireprotocol/MethodNamesResponse;+21
j 
com.sun.tools.profiler.server.ProfilerServer.handleClientCommand(Lcom/sun/tools/profiler/wireprotocol/Command;)V+453
j  com.sun.tools.profiler.server.ProfilerServer.listenToClient()V+47
j  com.sun.tools.profiler.server.ProfilerServer.run()V+19
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x09701700 JavaThread "Thread-30" daemon [_thread_blocked, id=4396]
  0x08d4e200 JavaThread "Thread-23" daemon [_thread_blocked, id=4844]
  0x08d95800 JavaThread "Thread-20" [_thread_blocked, id=2672]
  0x08d9b200 JavaThread "Thread-19" [_thread_blocked, id=6032]
  0x08d92400 JavaThread "Thread-18" [_thread_blocked, id=4160]
  0x08d9e700 JavaThread "Thread-17" [_thread_in_native, id=4276]
  0x09910c00 JavaThread "Thread-16" [_thread_blocked, id=5892]
  0x08cd6e00 JavaThread "TimerQueue" daemon [_thread_blocked, id=3404]
  0x00039800 JavaThread "DestroyJavaVM" [_thread_blocked, id=4672]
  0x08d38e00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked,
id=2920]
  0x09930500 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4184]
  0x09642d00 JavaThread "AWT-Shutdown" [_thread_blocked, id=5672]
  0x099e0100 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1000]
  0x08cfed00 JavaThread "Thread-11" daemon [_thread_blocked, id=4800]
  0x08d9f100 JavaThread "Thread-10" daemon [_thread_blocked, id=2264]
  0x08de8100 JavaThread "Thread-9" daemon [_thread_blocked, id=5012]
  0x098d2d00 JavaThread "Thread-8" daemon [_thread_blocked, id=5996]
  0x099c8d00 JavaThread "Thread-6" daemon [_thread_blocked, id=1700]
  0x09ef5b00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2836]
  0x09e9d000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=3860]
  0x09e9b200 JavaThread "RMI TCP Accept-9000" daemon [_thread_in_native, id=4556]
  0x09e92600 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=4384]
  0x08cc1800 JavaThread "Timer-0" daemon [_thread_blocked, id=3300]
  0x08d0b400 JavaThread "*** Profiler Agent Special Execution Thread ***" daemon
[_thread_blocked, id=3072]
  0x08cccf00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3264]
  0x08cc9a00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4116]
  0x08c91100 JavaThread "*** Profiler Agent Special Execution Thread ***" daemon
[_thread_blocked, id=4520]
  0x08c7f700 JavaThread "*** JFluid Monitor thread ***" daemon [_thread_blocked,
id=5840]
=>0x08c6f600 JavaThread "*** Profiler Agent Communication Thread ***" daemon
[_thread_in_vm, id=4256]
  0x08c6b200 JavaThread "Attach Listener" daemon [_thread_blocked, id=5112]
  0x08c6a700 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2792]
  0x08b8d500 JavaThread "Finalizer" daemon [_thread_blocked, id=5880]
  0x08b86800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4432]

Other Threads:
  0x08b82300 VMThread [id=4292]
  0x09e59300 WatcherThread [id=5864]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 2304K, used 2K [0x02a30000, 0x02ca0000, 0x02ca0000)
  eden space 2112K,   0% used [0x02a30000, 0x02a30800, 0x02c40000)
  from space 192K,   0% used [0x02c40000, 0x02c40000, 0x02c70000)
  to   space 192K,   0% used [0x02c70000, 0x02c70000, 0x02ca0000)
 tenured generation   total 30196K, used 16395K [0x02ca0000, 0x04a1d000, 0x04a30000)
   the space 30196K,  54% used [0x02ca0000, 0x03ca2de8, 0x03ca2e00, 0x04a1d000)
 compacting perm gen  total 19968K, used 19827K [0x04a30000, 0x05db0000, 0x08a30000)
   the space 19968K,  99% used [0x04a30000, 0x05d8ce00, 0x05d8ce00, 0x05db0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00415000 	C:\jdk1.6.0\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
0x6d5e0000 - 0x6d636000 	C:\jdk1.6.0\jre\bin\MSVCR71.dll
0x6d8d0000 - 0x6daec000 	C:\jdk1.6.0\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
0x6d560000 - 0x6d5db000 	C:\jdk1.6.0\jre\bin\MSVCP71.dll
0x629c0000 - 0x629c9000 	C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 	C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\msvcrt.dll
0x6bd00000 - 0x6bd0d000 	C:\WINDOWS\system32\SYNCOR11.DLL
0x6d360000 - 0x6d368000 	C:\jdk1.6.0\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x10000000 - 0x10011000 
C:\programs\netbeans-5.0beta\profiler1\lib\deployed\jdk15\windows\profilerinterface.dll
0x6d880000 - 0x6d88c000 	C:\jdk1.6.0\jre\bin\verify.dll
0x6d3e0000 - 0x6d400000 	C:\jdk1.6.0\jre\bin\java.dll
0x6d8c0000 - 0x6d8cf000 	C:\jdk1.6.0\jre\bin\zip.dll
0x6d640000 - 0x6d653000 	C:\jdk1.6.0\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 	C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 	C:\WINDOWS\System32\wshtcpip.dll
0x6d550000 - 0x6d559000 	C:\jdk1.6.0\jre\bin\management.dll
0x6d660000 - 0x6d669000 	C:\jdk1.6.0\jre\bin\nio.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
0x0ffd0000 - 0x0fff8000 	C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 	C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 	C:\WINDOWS\system32\netapi32.dll
0x6d000000 - 0x6d1b3000 	C:\jdk1.6.0\jre\bin\awt.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 	C:\WINDOWS\system32\ole32.dll
0x73760000 - 0x737a9000 	C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 	C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 	C:\WINDOWS\system32\D3DIM700.DLL
0x74720000 - 0x7476b000 	C:\WINDOWS\system32\MSCTF.dll
0x7c9c0000 - 0x7d1d4000 	C:\WINDOWS\system32\shell32.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5d090000 - 0x5d127000 	C:\WINDOWS\system32\comctl32.dll
0x6d310000 - 0x6d360000 	C:\jdk1.6.0\jre\bin\fontmanager.dll
0x6d510000 - 0x6d534000 	C:\jdk1.6.0\jre\bin\jsound.dll
0x6d540000 - 0x6d547000 	C:\jdk1.6.0\jre\bin\jsoundds.dll
0x73f10000 - 0x73f6c000 	C:\WINDOWS\system32\DSOUND.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x76c30000 - 0x76c5e000 	C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b14000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 	C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000 	C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 	C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 	C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 	C:\WINDOWS\system32\midimap.dll
0x6d210000 - 0x6d233000 	C:\jdk1.6.0\jre\bin\dcpr.dll
0x60300000 - 0x60307000 	C:\Program Files\Yahoo!\Messenger\idle.dll
0x77120000 - 0x771ac000 	C:\WINDOWS\system32\OLEAUT32.DLL

VM Arguments:
jvm_args:
-agentpath:C:\programs\netbeans-5.0beta\profiler1\lib\deployed\jdk15\windows\profilerinterface.dll=C:\programs\netbeans-5.0beta\profiler1\lib,5140
-Xmx32M -Dcom.sun.management.config.file=management.cfg -Dswing.aatext=true
-Dawt.useSystemAAFontSettings=on -Dswing.metalTheme=steel
-Djavax.net.ssl.trustStore=c:\jprojects\xterminal\keys.test
-Duser.dir=c:\jprojects\xterminal
java_command: ro.arena.xterminal.Application arena.properties
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\jdk1.5.0
CLASSPATH=.;C:\Programs\IBM\SQLLIB\java\db2java.zip;C:\Programs\IBM\SQLLIB\java\db2jcc.jar;C:\Programs\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\Programs\IBM\SQLLIB\bin;C:\Programs\IBM\SQLLIB\tools\db2XTrigger.jar;C:\Programs\IBM\SQLLIB\java\common.jar;C:\downloads\derby\lib\derby.jar;C:\downloads\derby\lib\derbytools.jar;C:\downloads\derby\lib\derbynet.jar
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Downloaded
Program Files;C:\IBMTOOLS\Python22;C:\Program Files\PC-Doctor for
Windows\services;C:\Programs\IBM\SQLLIB\BIN;C:\Programs\IBM\SQLLIB\FUNCTION;C:\Programs\IBM\SQLLIB\SAMPLES\REPL;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1;C:\programs\ant\bin;C:\cygwin\bin;C:\j2sdk1.4.2_06\bin;C:\downloads\groovy-1.0-jsr-03\bin;C:\Program
Files\Common
Files\GTK\2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\programs\maven-1.0.2\bin;C:\Program
Files\JProbe Profiler 5.2.1\bin;C:\JET\bin;C:\Program Files\JProbe Profiler
5.2.1\bin;C:\programs\YourKitJavaProfiler4.0EAPbuild516\bin\win32
USERNAME=horia
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

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

Memory: 4k page, physical 1563116k(202456k free), swap 2187292k(773304k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b51) for windows-x86, built on Sep
 8 2005 00:35:41 by "java_re" with unknown MS VC++:1310
Comment 1 sevenm 2005-10-03 13:54:27 UTC
Created attachment 25451 [details]
JVM crash dump
Comment 2 sevenm 2005-10-03 14:02:22 UTC
Sorry for pasting the crash dump in here, I didn't know the issue system permits
file attachements.

So, here is the description of the problem: I am trying to profile an
application  using Netbeans 5.0 Beta and Profile M9. The is configured as fallows:
Profiling Type: Memory
Enable Threads Monitoring: NO
Object Tracking: Record the entire object lifecycle (Track every 10 object
allocations)
Stack Samplings: Limit stack to 10 frames
Run GC when getting memory results( YES )

From time to time, when I am trying to take a snapshot, I get an error message
(sometging like : Could not take the snapshot, the profiled application
terminated) and the profiled JVM crashes with the attached crash log.

Regards
Horia Muntean
Comment 3 iformanek 2005-10-03 17:09:35 UTC
Thanks for the bugreport!
Self assign for M10, adjusting the priority.
Comment 4 iformanek 2005-10-25 11:34:37 UTC

*** This issue has been marked as a duplicate of 62919 ***
Comment 5 ehucka 2006-10-09 12:10:01 UTC
Verification of old issues.
Comment 6 Alexander Kouznetsov 2007-02-20 10:24:52 UTC
Closing old issues
Comment 7 Alexander Kouznetsov 2007-02-20 18:09:22 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo