This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64770 - EXCEPTION_ACCESS_VIOLATION when taking snapshot of memory profiling with allocation stack traces on
Summary: EXCEPTION_ACCESS_VIOLATION when taking snapshot of memory profiling with allo...
Status: CLOSED DUPLICATE of bug 62919
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 19:32 UTC by iformanek
Modified: 2007-02-20 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2005-09-20 19:32:59 UTC
Reported by David Freels:

I am trying to profile an application for a memory leak. I created a custom 
profile without stack allocation data and everything works. Snapshots can be 
saved and viewed with no problem. Whenever I turn on stack allocation with a 
fixed level of 5, taking a snapshot kills the application JVM. I am including 
the JVM crash data in-line. Is this a known bug? I am using Netbeans 4.1 with 
profiler M8. 

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7480df, pid=1800, tid=1372
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# V  [jvm.dll+0x980df]
#

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

Current thread (0x01e6a778):  JavaThread "*** Profiler Agent Communication 
Thread ***" [_thread_in_vm, id=1372]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000022

Registers:
EAX=0x00000002, EBX=0x04b9848c, ECX=0x00000002, EDX=0x043efa90
ESP=0x043efa2c, EBP=0x00000f1b, ESI=0x00000002, EDI=0x01e6a778
EIP=0x6d7480df, EFLAGS=0x00010202

Top of Stack: (sp=0x043efa2c)
0x043efa2c:   01e6a778 000381d8 6d7480da 04a5106c
0x043efa3c:   6d75eda5 04a5106c 04a5106c 049e0cb2
0x043efa4c:   10002264 000381e0 04a5106c 043efa90
0x043efa5c:   01e6a778 5010a478 043efab8 5010a478
0x043efa6c:   04a8af78 0512edd0 00000190 00000000
0x043efa7c:   00000000 04b94e60 01ea826f 01e6a834
0x043efa8c:   043efac0 055dd980 049e0ca0 043efac8
0x043efa9c:   043efa9c 00000000 043efad0 5010a630

Instructions: (pc=0x6d7480df)
0x6d7480cf:   ff 74 24 04 8b c8 e8 01 00 00 00 c3 56 8b f1 57
0x6d7480df:   81 7e 20 4b 43 55 42 75 64 8b 46 1c 83 f8 02 75


Stack: [0x043b0000,0x043f0000),  sp=0x043efa2c,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x980df]

[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+437
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 )
 0x04cd0160 JavaThread "TimerQueue" daemon [_thread_blocked, id=1948]
 0x04cb8920 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=260]
 0x04e71e60 JavaThread "AWT-Shutdown" [_thread_blocked, id=2712]
 0x049845c8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2820]
 0x0554d1f0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2164]
 0x05068138 JavaThread "*** Profiler Agent Special Execution Thread ***" 
[_thread_blocked, id=2800]
 0x01e844c0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=732]
 0x01e83068 JavaThread "CompilerThread0" daemon [_thread_blocked, id=464]
 0x01e81a20 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2240]
 0x01e791a0 JavaThread "*** Profiler Agent Special Execution Thread ***" 
[_thread_blocked, id=2488]
 0x01e785a8 JavaThread "*** JFluid Monitor thread ***" [_thread_blocked, 
id=2648]
=>0x01e6a778 JavaThread "*** Profiler Agent Communication Thread ***" 
[_thread_in_vm, id=1372]
 0x01e5e690 JavaThread "Finalizer" daemon [_thread_blocked, id=2692]
 0x01e5d1f8 JavaThread "Reference Handler" daemon [_thread_blocked, id=716]
 0x0003c688 JavaThread "main" [_thread_in_vm, id=1712]

Other Threads:
 0x01e5a968 VMThread [id=384]
 0x01e673b8 WatcherThread [id=1972]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 16192K, used 296K [0x10010000, 0x111a0000, 
0x14ed0000)
 eden space 14400K,   2% used [0x10010000, 0x1005a1b8, 0x10e20000)
 from space 1792K,   0% used [0x10e20000, 0x10e20000, 0x10fe0000)
 to   space 1792K,   0% used [0x10fe0000, 0x10fe0000, 0x111a0000)
tenured generation   total 215264K, used 120603K [0x14ed0000, 0x22108000, 
0x50010000)
  the space 215264K,  56% used [0x14ed0000, 0x1c496c18, 0x1c496e00, 0x22108000)
compacting perm gen  total 13056K, used 13047K [0x50010000, 0x50cd0000, 
0x54010000)
  the space 13056K,  99% used [0x50010000, 0x50ccdd68, 0x50ccde00, 0x50cd0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000     C:\Program Files (x86)\Java\jdk1.5.0_04\bin\java.exe
0x7d600000 - 0x7d6f0000     C:\WINDOWS\system32\ntdll.dll
0x7d4c0000 - 0x7d5f0000     C:\WINDOWS\syswow64\kernel32.dll
0x77f50000 - 0x77fec000     C:\WINDOWS\syswow64\ADVAPI32.dll
0x7da20000 - 0x7db00000     C:\WINDOWS\syswow64\RPCRT4.dll
0x77ba0000 - 0x77bfa000     C:\WINDOWS\syswow64\MSVCRT.dll
0x71c20000 - 0x71c32000     C:\WINDOWS\system32\tsappcmp.dll
0x6d6b0000 - 0x6d839000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\client\jvm.dll
0x7d930000 - 0x7da00000     C:\WINDOWS\syswow64\USER32.dll
0x7d800000 - 0x7d890000     C:\WINDOWS\syswow64\GDI32.dll
0x76aa0000 - 0x76acd000     C:\WINDOWS\system32\WINMM.dll
0x71bc0000 - 0x71bc8000     C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000     C:\WINDOWS\system32\WINSTA.dll
0x71c40000 - 0x71c98000     C:\WINDOWS\syswow64\NETAPI32.dll
0x76b70000 - 0x76b7b000     C:\WINDOWS\system32\PSAPI.DLL
0x6d2f0000 - 0x6d2f8000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\hpi.dll
0x10000000 - 0x1000f000     C:\devworkspace\netbeans\profiler1
\lib\deployed\jdk15\windows\profilerinterface.dll
0x6d680000 - 0x6d68c000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\verify.dll
0x6d370000 - 0x6d38d000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\java.dll
0x6d6a0000 - 0x6d6af000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\zip.dll
0x6d530000 - 0x6d543000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\net.dll
0x71c00000 - 0x71c17000     C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000     C:\WINDOWS\system32\WS2HELP.dll
0x7db30000 - 0x7dbb0000     C:\WINDOWS\system32\mswsock.dll
0x5f270000 - 0x5f2c9000     C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000     C:\WINDOWS\System32\wshtcpip.dll
0x6d520000 - 0x6d528000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\management.dll
0x6d550000 - 0x6d559000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\nio.dll
0x6d070000 - 0x6d1d7000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\awt.dll
0x73070000 - 0x73097000     C:\WINDOWS\system32\WINSPOOL.DRV
0x7dee0000 - 0x7df40000     C:\WINDOWS\system32\IMM32.dll
0x77670000 - 0x777a4000     C:\WINDOWS\syswow64\ole32.dll
0x73860000 - 0x738ac000     C:\WINDOWS\system32\ddraw.dll
0x73b30000 - 0x73b36000     C:\WINDOWS\system32\DCIMAN32.dll
0x6d2b0000 - 0x6d2ed000     C:\Program Files (x86)\Java\jdk1.5.0_04
\jre\bin\fontmanager.dll
0x7c8d0000 - 0x7d0d3000     C:\WINDOWS\syswow64\shell32.dll
0x77da0000 - 0x77df2000     C:\WINDOWS\syswow64\SHLWAPI.dll
0x7dbd0000 - 0x7dcd3000     C:\WINDOWS\WinSxS\WOW64_Microsoft.Windows.Common-
Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_0213CDC8\comctl32.dll
0x77530000 - 0x775c7000     C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-
Controls_6595b64144ccf1df_5.82.3790.1830_x-ww_1B6F474A\comctl32.dll
0x71bd0000 - 0x71be1000     C:\WINDOWS\syswow64\MPR.dll
0x75e90000 - 0x75e97000     C:\WINDOWS\System32\drprov.dll
0x5f120000 - 0x5f12e000     C:\WINDOWS\System32\ntlanman.dll
0x5f8a0000 - 0x5f8b6000     C:\WINDOWS\System32\NETUI0.dll
0x5f860000 - 0x5f891000     C:\WINDOWS\System32\NETUI1.dll
0x5ccf0000 - 0x5ccff000     C:\WINDOWS\System32\SAMLIB.dll
0x75ea0000 - 0x75ea9000     C:\WINDOWS\System32\davclnt.dll
0x770e0000 - 0x771ea000     C:\WINDOWS\system32\SETUPAPI.dll
0x75e60000 - 0x75e87000     C:\WINDOWS\system32\apphelp.dll
0x777b0000 - 0x77833000     C:\WINDOWS\system32\CLBCatQ.DLL
0x77010000 - 0x770d6000     C:\WINDOWS\system32\COMRes.dll
0x77d00000 - 0x77d8c000     C:\WINDOWS\syswow64\OLEAUT32.dll
0x77b90000 - 0x77b98000     C:\WINDOWS\syswow64\VERSION.dll
0x768e0000 - 0x768e8000     C:\WINDOWS\system32\LINKINFO.dll
0x768f0000 - 0x76915000     C:\WINDOWS\system32\ntshrui.dll
0x76920000 - 0x769e4000     C:\WINDOWS\system32\USERENV.dll

VM Arguments:
jvm_args: -
agentpath:C:/devworkspace/netbeans/profiler1/lib/deployed/jdk15/windows/profiler
interface.dll="C:\devworkspace\netbeans\profiler1\lib",5140 -
Dcom.digitalreasoning.interceptor.home=C:/devworkspace/interceptor20 -Xmx1024M
java_command: com.digitalreasoning.jython.JythonInterpreter

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04
CLASSPATH=C:\junit3.8.1\junit.jar
PATH=C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32
\Wbem;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Program Files (x86)
\Subversion\bin;C:\Program Files (x86)\MySQL\MySQL Server 4.1\bin;C:\Program 
Files (x86)\IDM Computer Solutions\UltraEdit-32;C:\apache-ant-1.6.5\bin
USERNAME=developer
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 15 Model 5 Stepping 10, AuthenticAMD



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

OS: Windows Server 2003 family Build 3790 Service Pack 1

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

Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k 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
Comment 1 iformanek 2005-10-25 11:34:27 UTC

*** This issue has been marked as a duplicate of 62919 ***
Comment 2 ehucka 2006-10-09 12:10:02 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:25:51 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:09:32 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.