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.
This was using M8 v3: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1000422a, pid=2668, tid=2616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode) # Problematic frame: # C [profilerinterface.dll+0x422a] # --------------- T H R E A D --------------- Current thread (0x00b23a98): JavaThread "*** JFluid Monitor thread ***" [_thread_in_native, id=2616] siginfo: ExceptionCode=0xc0000005, reading address 0x6f766e49 Registers: EAX=0x06eb2050, EBX=0x003b0678, ECX=0x06eb6214, EDX=0x6f766e49 ESP=0x0309fc00, EBP=0x0309fc20, ESI=0x0001ffff, EDI=0x00000037 EIP=0x1000422a, EFLAGS=0x00010286 Top of Stack: (sp=0x0309fc00) 0x0309fc00: 170c86e8 000000f4 0000003d 6d6ba9ab 0x0309fc10: 00000100 06eb6214 ffffffff 00000020 0x0309fc20: 0309fc80 10003030 003b0678 00b23b54 0x0309fc30: 10003001 000000f4 10002fee 000000f4 0x0309fc40: 00000000 10001f38 000000f4 170c86e8 0x0309fc50: 170c87e8 0309fc80 00b23a98 0309fc80 0x0309fc60: 00b23a98 00db091c 00b23b54 0309fc7c 0x0309fc70: 0309fc8c 0309fc88 0309fc88 50121c28 Instructions: (pc=0x1000422a) 0x1000421a: 85 c9 7c 05 d1 e1 47 eb f7 8b 4d f4 8b 54 f9 04 0x1000422a: 8b 0a 2b 4d f0 8b f1 89 4d f8 c1 fe 04 4e 83 fe Stack: [0x03060000,0x030a0000), sp=0x0309fc00, free space=255k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [profilerinterface.dll+0x422a] C [profilerinterface.dll+0x3030] J com.sun.tools.profiler.server.Monitors$SurvGenAndThreadsMonitor.updateThreadsData()V J com.sun.tools.profiler.server.Monitors$SurvGenAndThreadsMonitor.run()V v ~OSRAdapter v ~StubRoutines::call_stub V [jvm.dll+0x82696] V [jvm.dll+0xd6fd9] V [jvm.dll+0x82567] V [jvm.dll+0x822c4] V [jvm.dll+0x9d216] V [jvm.dll+0x101489] V [jvm.dll+0x101457] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J com.sun.tools.profiler.server.system.Threads.getThreadsStatus([Ljava/lang/Thread;[I)V J com.sun.tools.profiler.server.Monitors$SurvGenAndThreadsMonitor.updateThreadsData()V J com.sun.tools.profiler.server.Monitors$SurvGenAndThreadsMonitor.run()V v ~OSRAdapter v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x6dda0188 JavaThread "*** Profiler Agent Special Execution Thread ***" [_thread_blocked, id=2300] 0x05be34b0 JavaThread "TP-Monitor" daemon [_thread_blocked, id=2736] 0x035aac48 JavaThread "TP-Processor4" daemon [_thread_in_native, id=1484] 0x05e52340 JavaThread "TP-Processor3" daemon [_thread_blocked, id=2760] 0x05de7a90 JavaThread "TP-Processor2" daemon [_thread_blocked, id=3888] 0x033d5eb0 JavaThread "TP-Processor1" daemon [_thread_blocked, id=3468] 0x05bd46f0 JavaThread "http-0.0.0.0-9778-Monitor" [_thread_blocked, id=3380] 0x03614790 JavaThread "http-0.0.0.0-9778-Processor8" daemon [_thread_in_native, id=2040] 0x05bcd010 JavaThread "http-0.0.0.0-9778-Processor7" daemon [_thread_blocked, id=3084] 0x04028008 JavaThread "http-0.0.0.0-9778-Processor6" daemon [_thread_blocked, id=3280] 0x05ca6530 JavaThread "http-0.0.0.0-9778-Processor5" daemon [_thread_blocked, id=2080] 0x05bcf4e8 JavaThread "http-0.0.0.0-9778-Processor4" daemon [_thread_blocked, id=2584] 0x05c79170 JavaThread "http-0.0.0.0-9778-Processor3" daemon [_thread_blocked, id=412] 0x03e3b740 JavaThread "http-0.0.0.0-9778-Processor2" daemon [_thread_blocked, id=420] 0x05bea340 JavaThread "http-0.0.0.0-9778-Processor1" daemon [_thread_blocked, id=3984] 0x05beb480 JavaThread "JBossLifeThread" [_thread_blocked, id=404] 0x0366c968 JavaThread "SolutionRepositoryEventGeneratorThread" [_thread_blocked, id=1496] 0x03f82f68 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=324] 0x03cade58 JavaThread "Timer-4" [_thread_blocked, id=2284] 0x040e5d00 JavaThread "Timer-3" [_thread_blocked, id=364] 0x032deb70 JavaThread "AppDefRepositoryEventGeneratorThread" [_thread_blocked, id=560] 0x032ded20 JavaThread "RSMScheduler_QuartzSchedulerThread" [_thread_blocked, id=752] 0x03d29e98 JavaThread "RSMScheduler_Worker-19" [_thread_blocked, id=504] 0x03d293e8 JavaThread "RSMScheduler_Worker-18" [_thread_blocked, id=1096] 0x035cc818 JavaThread "RSMScheduler_Worker-17" [_thread_blocked, id=1428] 0x03f8a7d0 JavaThread "RSMScheduler_Worker-16" [_thread_blocked, id=1732] 0x03f980e0 JavaThread "RSMScheduler_Worker-15" [_thread_blocked, id=800] 0x03fa8ee0 JavaThread "RSMScheduler_Worker-14" [_thread_blocked, id=1476] 0x03d96c18 JavaThread "RSMScheduler_Worker-13" [_thread_blocked, id=4020] 0x03f8b478 JavaThread "RSMScheduler_Worker-12" [_thread_blocked, id=3584] 0x032dfbd0 JavaThread "RSMScheduler_Worker-11" [_thread_blocked, id=2436] 0x032dfa50 JavaThread "RSMScheduler_Worker-10" [_thread_blocked, id=4060] 0x00b3b1e8 JavaThread "RSMScheduler_Worker-9" [_thread_blocked, id=3208] 0x036a4880 JavaThread "RSMScheduler_Worker-8" [_thread_blocked, id=2620] 0x035c35f8 JavaThread "RSMScheduler_Worker-7" [_thread_blocked, id=3068] 0x04037d00 JavaThread "RSMScheduler_Worker-6" [_thread_blocked, id=2536] 0x03d55db8 JavaThread "RSMScheduler_Worker-5" [_thread_blocked, id=3008] 0x03f9b5a8 JavaThread "RSMScheduler_Worker-4" [_thread_blocked, id=1232] 0x03213418 JavaThread "RSMScheduler_Worker-3" [_thread_blocked, id=2740] 0x03d2a3f0 JavaThread "RSMScheduler_Worker-2" [_thread_blocked, id=2120] 0x03fd3288 JavaThread "RSMScheduler_Worker-1" [_thread_blocked, id=1880] 0x03561080 JavaThread "RSMScheduler_Worker-0" [_thread_in_native, id=2600] 0x0354ba00 JavaThread "Timer-2" daemon [_thread_blocked, id=3972] 0x03cacdd8 JavaThread "PooledInvokerAcceptor#0-9784" [_thread_in_native, id=644] 0x03237d68 JavaThread "RMI TCP Accept-9786" daemon [_thread_in_native, id=1372] 0x033a6e28 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=3928] 0x033af008 JavaThread "GC Daemon" daemon [_thread_blocked, id=1124] 0x03cb55f0 JavaThread "RMI Reaper" [_thread_blocked, id=1780] 0x03cb5470 JavaThread "Timer-1" daemon [_thread_blocked, id=3820] 0x00b1a738 JavaThread "RMI TCP Accept-9785" daemon [_thread_in_native, id=1524] 0x03375e80 JavaThread "ScannerThread" daemon [_thread_blocked, id=1612] 0x0336e410 JavaThread "Timer-0" daemon [_thread_blocked, id=2524] 0x00037ce0 JavaThread "DestroyJavaVM" [_thread_blocked, id=1628] 0x00b2a6b8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3340] 0x00b29460 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2708] 0x00b28560 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2672] 0x00b247c8 JavaThread "*** Profiler Agent Special Execution Thread ***" [_thread_blocked, id=3332] =>0x00b23a98 JavaThread "*** JFluid Monitor thread ***" [_thread_in_native, id=2616] 0x00b15c98 JavaThread "*** Profiler Agent Communication Thread ***" [_thread_in_native, id=1960] 0x00b09da8 JavaThread "Finalizer" daemon [_thread_blocked, id=3052] 0x00b08950 JavaThread "Reference Handler" daemon [_thread_blocked, id=1656] Other Threads: 0x00b06c20 VMThread [id=992] 0x00b3cde0 WatcherThread [id=3712] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 36480K, used 9401K [0x10010000, 0x127a0000, 0x14ed0000) eden space 32448K, 28% used [0x10010000, 0x1093e5b8, 0x11fc0000) from space 4032K, 0% used [0x123b0000, 0x123b0000, 0x127a0000) to space 4032K, 0% used [0x11fc0000, 0x11fc0000, 0x123b0000) tenured generation total 483968K, used 180769K [0x14ed0000, 0x32770000, 0x50010000) the space 483968K, 37% used [0x14ed0000, 0x1ff58760, 0x1ff58800, 0x32770000) compacting perm gen total 36096K, used 36001K [0x50010000, 0x52350000, 0x54010000) the space 36096K, 99% used [0x50010000, 0x52338508, 0x52338600, 0x52350000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040c000 C:\Program Files\Java\jdk1.5.0_04\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 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll 0x6d6b0000 - 0x6d839000 C:\Program Files\Java\jdk1.5.0_04\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 0x6d2f0000 - 0x6d2f8000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\hpi.dll 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL 0x10000000 - 0x1000f000 C:\Program Files\Java\profiler-server-m8v3-windows-15\lib\deployed\jdk15\windows\profilerinterface.dll 0x6d680000 - 0x6d68c000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\verify.dll 0x6d370000 - 0x6d38d000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\java.dll 0x6d6a0000 - 0x6d6af000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\zip.dll 0x6d530000 - 0x6d543000 C:\Program Files\Java\jdk1.5.0_04\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 0x6d520000 - 0x6d528000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\management.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 0x6d550000 - 0x6d559000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\nio.dll VM Arguments: jvm_args: -Duser.timezone=UTC -Duser.language=en -Duser.region=US -Dprogram.name=profile.bat -Duser.timezone=UTC -Duser.language=en -Duser.region=US -Xms512m -Xmx1024m -agentpath:C:\Program Files\Java\profiler-server-m8v3-windows-15\lib\deployed\jdk15\windows\profilerinterface.dll="C:\Program Files\Java\profiler-server-m8v3-windows-15\lib",5140 java_command: org.jboss.Main -c rsm Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04 CLASSPATH=.;C:\DB2V8\java\db2java.zip;C:\DB2V8\java\db2jcc.jar;C:\DB2V8\java\sqlj.zip;C:\DB2V8\bin;C:\DB2V8\java\common.jar;C:\DB2V8\java\db2jcc_license_cisuz.jar;C:\DB2V8\java\db2jcc_license_cu.jar PATH=C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem USERNAME=jchristi 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, sse, sse2, ht Memory: 4k page, physical 1047548k(107812k free), swap 2520724k(914832k 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
This seems to be a concurrency issue in profiler native code, may be related to the fact that the machine has 2 CPUs. Jon, can you provide more details about what you were doing when this happened? Did it happen more than once and is it reproducible?
Its not often reproducable... I believe I've hit it twice this past week. I haven't been doing any CPU profiling, just memory. I believe both times this occurred was when I asked for a new memory snapshot. It feels like if the JBoss app server is actually actively processing, the chances of this occurring is greater, but I its just a gut feeling. The machine that had this happen only has one physical CPU, but has two logical CPU's due to hyperthreading in the newer Intel CPU's.... this shouldn't be much of an odd situation, more likely than not more and more of your users will be running on such hardware. -JC
*** Issue 61966 has been marked as a duplicate of this issue. ***
Jon, I walked through the code line by line and there is absolutely nothing suspicious there. Is this still happening to you?
I dont believe I've seen this in quite some time. Feel free to close and I'll open up a new one if it happens with the more recent builds. -JC
Closing as irreproducible, thanks.
Verification of old issues.
Closing old issues
Reverting to original Target Milestone value changed by mistake. Sorry for inconvenience.