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 71234 - Sun VM 1.5.0_06-b05 crash
Summary: Sun VM 1.5.0_06-b05 crash
Status: CLOSED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows ME/2000
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 13:19 UTC by attodorov
Modified: 2007-03-14 10: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 attodorov 2006-01-10 13:19:15 UTC
Hi,

I'm trying to run the NetBeans profiler on a SAP WebAS Application Server (using
Sun's JVM 1.5.0_06-b05). Once i attach the profiler and bootup the server, the
JVM crashes with the following logs (below). Without the profiler attached, the
server boots up properly. Thanks.

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0115136b, pid=8008, tid=7516
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C  [profilerinterface.dll+0x136b]
#

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

Current thread (0x003cbe40):  JavaThread "main" [_thread_in_native, id=7516]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x101bc388, ECX=0x03758d50, EDX=0x011f3ddc
ESP=0x618bfab0, EBP=0x618bfae4, ESI=0x101bc388, EDI=0x003cbe40
EIP=0x0115136b, EFLAGS=0x00010287

Top of Stack: (sp=0x618bfab0)
0x618bfab0:   00000000 00000038 00000000 0128864c
0x618bfac0:   003cbf00 618bfaec 618bfac8 101bc388
0x618bfad0:   618bfaf0 101bc8b8 00000000 101bc388
0x618bfae0:   618bfaf4 618bfb10 01282993 101bc848
0x618bfaf0:   012864f9 618bfaf4 101b75a8 618bfb14
0x618bfb00:   101ba390 00000000 101b75c0 618bfb18
0x618bfb10:   618bfb34 01282993 618bfb18 100bdf8f
0x618bfb20:   618bfb3c 100c1aa0 00000000 100be040 

Instructions: (pc=0x0115136b)
0x0115135b:   90 90 90 90 90 a1 2c e0 15 01 6a 00 6a 38 6a 00
0x0115136b:   8b 08 50 ff 51 04 83 c4 10 85 c0 74 17 68 9d 00 


Stack: [0x61880000,0x618c0000),  sp=0x618bfab0,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [profilerinterface.dll+0x136b]
j  com.sun.tools.profiler.server.ProfilerInterface.disableProfilerHooks()V+0
j  com.sun.tools.profiler.server.ProfilerServer.doActivate(I)V+7
j  com.sun.tools.profiler.server.ProfilerServer.activate(Ljava/lang/String;III)V+38
v  ~StubRoutines::call_stub
V  [jvm.dll+0xf7040]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.tools.profiler.server.system.Classes.disableClassLoadHook()V+0
j  com.sun.tools.profiler.server.ProfilerInterface.disableProfilerHooks()V+0
j  com.sun.tools.profiler.server.ProfilerServer.doActivate(I)V+7
j  com.sun.tools.profiler.server.ProfilerServer.activate(Ljava/lang/String;III)V+38
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x0127b970 JavaThread "Finalizer" daemon [_thread_blocked, id=6028]
  0x03759bb8 JavaThread "Reference Handler" daemon [_thread_blocked, id=7920]
=>0x003cbe40 JavaThread "main" [_thread_in_native, id=7516]

Other Threads:
  0x037589d8 VMThread [id=7872]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 114688K, used 3932K [0x58020000, 0x60020000, 0x60020000)
  eden space 98304K, 4% used [0x58020000,0x583f70c0,0x5e020000)
  from space 16384K, 0% used [0x5f020000,0x5f020000,0x60020000)
  to   space 16384K, 0% used [0x5e020000,0x5e020000,0x5f020000)
 PSOldGen        total 917504K, used 0K [0x20020000, 0x58020000, 0x58020000)
  object space 917504K, 0% used [0x20020000,0x20020000,0x58020000)
 PSPermGen       total 262144K, used 1650K [0x10020000, 0x20020000, 0x20020000)
  object space 262144K, 0% used [0x10020000,0x101bc948,0x20020000)

Dynamic libraries:
0x00400000 - 0x00dcf000 	C:\usr\sap\ABC\SYS\exe\run\jlaunch.EXE
0x7c800000 - 0x7c8c0000 	C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 	C:\WINDOWS\system32\kernel32.dll
0x77380000 - 0x77412000 	C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 	C:\WINDOWS\system32\GDI32.dll
0x77f50000 - 0x77fec000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 	C:\WINDOWS\system32\RPCRT4.dll
0x77b90000 - 0x77b98000 	C:\WINDOWS\system32\VERSION.dll
0x77ba0000 - 0x77bfa000 	C:\WINDOWS\system32\msvcrt.dll
0x7c340000 - 0x7c396000 	C:\WINDOWS\system32\MSVCR71.dll
0x71c00000 - 0x71c17000 	C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000 	C:\WINDOWS\system32\WS2HELP.dll
0x75010000 - 0x750a3000 	C:\usr\sap\ABC\SYS\exe\run\icuuc30.dll
0x75210000 - 0x75a3d000 	C:\usr\sap\ABC\SYS\exe\run\icudt30.dll
0x75b10000 - 0x75bb9000 	C:\usr\sap\ABC\SYS\exe\run\icuin30.dll
0x71b20000 - 0x71b61000 	C:\WINDOWS\System32\mswsock.dll
0x76ed0000 - 0x76ef9000 	C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f77000 	C:\WINDOWS\System32\winrnr.dll
0x76f10000 - 0x76f3e000 	C:\WINDOWS\system32\WLDAP32.dll
0x71c40000 - 0x71c98000 	C:\WINDOWS\system32\netapi32.dll
0x74000000 - 0x7401a000 	C:\usr\sap\ABC\SYS\exe\run\libsapu16vc71.dll
0x76cf0000 - 0x76d0a000 	C:\WINDOWS\system32\iphlpapi.dll
0x76b70000 - 0x76b7b000 	C:\WINDOWS\system32\PSAPI.DLL
0x77840000 - 0x77883000 	C:\WINDOWS\system32\netman.dll
0x76cd0000 - 0x76ce9000 	C:\WINDOWS\system32\MPRAPI.dll
0x76df0000 - 0x76e23000 	C:\WINDOWS\system32\ACTIVEDS.dll
0x76dc0000 - 0x76de7000 	C:\WINDOWS\system32\adsldpc.dll
0x76b80000 - 0x76bae000 	C:\WINDOWS\system32\credui.dll
0x7c8d0000 - 0x7d0d3000 	C:\WINDOWS\system32\SHELL32.dll
0x77da0000 - 0x77df2000 	C:\WINDOWS\system32\SHLWAPI.dll
0x76a80000 - 0x76a98000 	C:\WINDOWS\system32\ATL.DLL
0x77670000 - 0x777a4000 	C:\WINDOWS\system32\ole32.dll
0x77d00000 - 0x77d8c000 	C:\WINDOWS\system32\OLEAUT32.dll
0x76e30000 - 0x76e3c000 	C:\WINDOWS\system32\rtutils.dll
0x61280000 - 0x6128f000 	C:\WINDOWS\system32\SAMLIB.dll
0x770e0000 - 0x771ea000 	C:\WINDOWS\system32\SETUPAPI.dll
0x76300000 - 0x764c1000 	C:\WINDOWS\system32\netshell.dll
0x74de0000 - 0x74df2000 	C:\WINDOWS\system32\CLUSAPI.dll
0x76e90000 - 0x76ecf000 	C:\WINDOWS\system32\RASAPI32.dll
0x761b0000 - 0x76243000 	C:\WINDOWS\system32\CRYPT32.dll
0x76190000 - 0x761a2000 	C:\WINDOWS\system32\MSASN1.dll
0x76e40000 - 0x76e52000 	C:\WINDOWS\system32\rasman.dll
0x76e60000 - 0x76e8f000 	C:\WINDOWS\system32\TAPI32.dll
0x76aa0000 - 0x76acd000 	C:\WINDOWS\system32\WINMM.dll
0x76f50000 - 0x76f63000 	C:\WINDOWS\system32\Secur32.dll
0x77210000 - 0x772b8000 	C:\WINDOWS\system32\WININET.dll
0x730a0000 - 0x730ad000 	C:\WINDOWS\system32\WZCSAPI.DLL
0x77890000 - 0x77901000 	C:\WINDOWS\system32\WZCSvc.DLL
0x76cc0000 - 0x76cc5000 	C:\WINDOWS\system32\WMI.dll
0x76d10000 - 0x76d2f000 	C:\WINDOWS\system32\DHCPCSVC.DLL
0x76f00000 - 0x76f08000 	C:\WINDOWS\system32\WTSAPI32.dll
0x771f0000 - 0x77201000 	C:\WINDOWS\system32\WINSTA.dll
0x69750000 - 0x69855000 	C:\WINDOWS\system32\ESENT.dll
0x77420000 - 0x77523000 
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\comctl32.dll
0x77e00000 - 0x77e22000 	C:\WINDOWS\system32\NTMARTA.DLL
0x76f80000 - 0x76f85000 	C:\WINDOWS\system32\rasadhlp.dll
0x6d880000 - 0x6dc31000 	C:\Program Files\Java\jdk1.5.0_06\jre\bin\server\jvm.dll
0x6d2f0000 - 0x6d2f8000 	C:\Program Files\Java\jdk1.5.0_06\jre\bin\hpi.dll
0x10000000 - 0x10011000 	C:\usr\sap\ABC\JC10\j2ee\os_libs\profilerinterface.dll
0x6d6b0000 - 0x6d6bc000 	C:\Program Files\Java\jdk1.5.0_06\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 	C:\Program Files\Java\jdk1.5.0_06\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 	C:\Program Files\Java\jdk1.5.0_06\jre\bin\zip.dll
0x01150000 - 0x01161000 
D:\angel\profilers\profiler-server-m11-windows-15\lib\deployed\jdk15\windows\profilerinterface.dll

VM Arguments:
jvm_args: exit abort vfprintf -XX:MaxNewSize=128m -XX:PermSize=256m
-XX:NewSize=128m -XX:MaxPermSize=256m
-Drdbms.driverLocation=C:\usr\sap\ABC\JC10\j2ee\jdbc\base.jar;C:\usr\sap\ABC\JC10\j2ee\jdbc\spy.jar;C:\usr\sap\ABC\JC10\j2ee\jdbc\sqlserver.jar;C:\usr\sap\ABC\JC10\j2ee\jdbc\util.jar
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-Djava.security.policy=./java.policy -Djco.jarm=1
-Djava.util.prefs.PreferencesFactory=com.sap.engine.system.preferences.StartupPreferencesFactory
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Djava.security.egd=file:/dev/random -Djmx.invoke.getters=true
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Djava.io.tmpdir=./temp
-Dsys.global.dir=C:\usr\sap\ABC\SYS\global -XX:+DisableExplicitGC
-agentpath:C:\usr\sap\ABC\JC10\j2ee\os_libs\profilerinterface.dll=D:\angel\profilers\profiler-server-m11-windows-15\lib,5140
-Dsys.global.dir=C:\usr\sap\ABC\SYS\global
-Dapplication.home=C:\usr\sap\ABC\SYS\exe\run -Djava.library.path=C:\Program
Files\Java\jdk1.5.0_06\jre\bin\server;C:\Program
Files\Java\jdk1.5.0_06\jre\bin;C:\Program
Files\Java\jdk1.5.0_06\bin;C:\usr\sap\ABC\JC10\j2ee\os_libs;C:\Program
Files\Java\jdk1.5.0_06\jre\bin\server;C:\Program
Files\Java\jdk1.5.0_06\jre\bin;C:\Program
Files\Java\jdk1.5.0_06\bin;C:\usr\sap\ABC\JC10\j2ee\os_libs;D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\JProbe Suite
6.0.1\bin;"C:\Program Files\YourKit Java Profiler 5.0.8\bin\win32"
-Dmemory.manager=1024M -Xmx1024M -Xms1024M -DLoadBalanceRestricted=no
-Djstartup.mode=JCONTROL -Djstartup.ownProcessId=8008
-Djstartup.ownHardwareId=C1054249562 -Djstartup.whoami=server
-Djstartup.debuggable=yes -DSAPINFO=ABC_10_server -DSAPSTARTUP=1 -DSAPSYSTEM=10
-DSAPSYSTEMNAME=ABC -DSAPMYNAME=QAKPIDIALOG2_ABC_10 -DSAPDBHOST=
-Dj2ee.dbhost=QAKPIDIALOG2
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06
PATH=C:\Program Files\Java\jdk1.5.0_06\jre\bin\server;C:\Program
Files\Java\jdk1.5.0_06\jre\bin;C:\Program
Files\Java\jdk1.5.0_06\bin;C:\usr\sap\ABC\JC10\j2ee\os_libs;C:\Program
Files\Java\jdk1.5.0_06\jre\bin\server;C:\Program
Files\Java\jdk1.5.0_06\jre\bin;C:\Program
Files\Java\jdk1.5.0_06\bin;C:\usr\sap\ABC\JC10\j2ee\os_libs;D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\JProbe Suite
6.0.1\bin;"C:\Program Files\YourKit Java Profiler 5.0.8\bin\win32"
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel



---------------  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, ht

Memory: 4k page, physical 3669252k(2602684k free), swap 4194303k(3147020k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for windows-x86, built on Nov
10 2005 10:53:00 by "java_re" with MS VC++ 6.0
Comment 1 iformanek 2006-01-10 14:45:37 UTC
We have analyzed the issue and it seems to be caused by a misconfigured 
profiler agent. The error cannot happen under regular circumstances.

I suggest you install a clean profiler (either unzip the remote pack or install 
the profiler add-on into your NB IDE), and then use the libraries from the 
standard location - for instructions on how to do this, use the Attach Wizard, 
which will give you the exact "-agentpath:..." arguments to use.

Please try this and update the issue. Thanks.
Comment 2 Tomas Hurka 2006-01-10 15:32:31 UTC
profilerinterface.dlll is loaded twice in your JVM.
1) 0x10000000 - 0x10011000 	C:\usr\sap\ABC\JC10\j2ee\os_libs\profilerinterface.dll
2) 0x01150000 - 0x01161000         D:\angel\profilers\profiler-server-m11-windows-15\lib\deployed
\jdk15\windows\profilerinterface.dll
Comment 3 Tomas Hurka 2006-01-16 16:13:45 UTC
This VM crash is probably caused by incorrectly configured profiler agent. Please reopen if can reproduce 
it with correct configuration. Thanks.
Comment 4 Alexander Kouznetsov 2007-03-14 10:09:34 UTC
Closing old issues
Comment 5 Alexander Kouznetsov 2007-03-14 10:09:37 UTC
Closing old issues