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.
Got this immediately on my first attempt to dynamically attach to Jboss running on JDK 6.0. NetBeans IDE Dev (Build 200610231500) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b103 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_INT_DIVIDE_BY_ZERO (0xc0000094) at pc=0x2e662dc8, pid=3976, tid=5716 # # Java VM: Java HotSpot(TM) Server VM (1.6.0-rc-b103 mixed mode) # Problematic frame: # C [profilerinterface.dll+0x2dc8] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x2951c400): JavaThread "*** Profiler Agent Special Execution Thread 2" daemon [_thread_in_native, id=5716] siginfo: ExceptionCode=0xc0000094 Registers: EAX=0x00001095, EBX=0x2951c4e8, ECX=0x0000002b, EDX=0x00000000 ESP=0x2e65fbb4, EBP=0x2e65fc34, ESI=0x2951c4e8, EDI=0x298dcf39 EIP=0x2e662dc8, EFLAGS=0x00010206 Top of Stack: (sp=0x2e65fbb4) 0x2e65fbb4: 298dcf39 2951c850 298dcf66 2951c4e8 0x2e65fbc4: 2e65fc34 2513a5a8 2e6611f9 2951c4e8 0x2e65fbd4: 298dcf39 2951c850 2e65fbf0 2e65fbec 0x2e65fbe4: 2951c400 2513a5a8 2513a5a8 0091a82f 0x2e65fbf4: 2951c850 00000000 0091a92d 2951c4e8 0x2e65fc04: 2e65fc3c 298dcf38 00912ecd 0091bcc6 0x2e65fc14: 2e65fc14 2513a5a8 2e65fc44 2513ac38 0x2e65fc24: 00000000 2513a5a8 00000000 2e65fc44 Instructions: (pc=0x2e662dc8) 0x2e662db8: 8b 54 24 1c 8b 7c 24 18 52 57 e8 e9 fc ff ff 99 0x2e662dc8: f7 3d 40 63 66 2e a1 30 63 66 2e 83 c4 08 8b ea Stack: [0x2e610000,0x2e660000), sp=0x2e65fbb4, free space=318k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [profilerinterface.dll+0x2dc8] j com.sun.tools.profiler.server.ProfilerInterface.sendRootClassLoadedCommand(Z)V+138 j com.sun.tools.profiler.server.ProfilerInterface.access$1000(Z)V+1 j com.sun.tools.profiler.server.ProfilerInterface$InitiateInstThread.run()V+386 v ~StubRoutines::call_stub Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.tools.profiler.server.system.Classes.getCachedClassFileBytes(Ljava/lang/Class;)[B+0 j com.sun.tools.profiler.server.ProfilerInterface.sendRootClassLoadedCommand(Z)V+138 j com.sun.tools.profiler.server.ProfilerInterface.access$1000(Z)V+1 j com.sun.tools.profiler.server.ProfilerInterface$InitiateInstThread.run()V+386 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x2951c400 JavaThread "*** Profiler Agent Special Execution Thread 2" daemon [_thread_in_native, id=5716] 0x287a9000 JavaThread "*** Profiler Agent Special Execution Thread 6" daemon [_thread_blocked, id=5708] 0x283f2800 JavaThread "*** JFluid Monitor thread ***" daemon [_thread_blocked, id=5700] 0x29445c00 JavaThread "*** Profiler Agent Communication Thread" daemon [_thread_in_native, id=5676] 0x27ff1800 JavaThread "http-0.0.0.0-9778-1" daemon [_thread_blocked, id=5116] 0x29577c00 JavaThread "TP-Monitor" daemon [_thread_blocked, id=5112] 0x29577400 JavaThread "TP-Processor4" daemon [_thread_in_native, id=5108] 0x28d5b800 JavaThread "TP-Processor3" daemon [_thread_blocked, id=5104] 0x28d5b400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=5100] 0x28bf5c00 JavaThread "TP-Processor1" daemon [_thread_blocked, id=5096] 0x29e86800 JavaThread "http-0.0.0.0-9778" daemon [_thread_in_native, id=5072] 0x29a7d400 JavaThread "ParamletInputWorker" [_thread_blocked, id=5068] 0x29e7e400 JavaThread "JBossLifeThread" [_thread_blocked, id=5064] 0x2941e400 JavaThread "WorkManager(3)-1" daemon [_thread_blocked, id=4636] 0x28683800 JavaThread "RsmDefaultQueueWorker.jochris-aus-09.bmc.com" [_thread_blocked, id=4568] 0x286dc400 JavaThread "Timer-2" [_thread_blocked, id=4564] 0x28a5a400 JavaThread "SolutionRepositoryEventGeneratorThread" [_thread_blocked, id=4556] 0x28632800 JavaThread "AppDefRepositoryEventGeneratorThread" [_thread_blocked, id=4552] 0x28634c00 JavaThread "PortalCoordinatorJob: jochris-aus-09.bmc.com" [_thread_blocked, id=4504] 0x28399000 JavaThread "RSMScheduler_QuartzSchedulerThread" [_thread_blocked, id=4468]
Yes, this a known problem with dynamic attach. This happen in application, which uses custom classloaders. This will be fixed in some future milestone.
*** Issue 89939 has been marked as a duplicate of this issue. ***
Changed to P1: Reproducible, unavoidable crash or deadlock, User's data are corrupted or lost, Product feature does not work, no workaround exists. When browser is the target of dynamic attach it gets closed loosing all the data that may be entered or being entered in other browser windows.
>Changed to P1: Reproducible, unavoidable crash or deadlock, User's data are >corrupted or lost, Note there there is no crash in NetBeans IDE - profiled application crashed. No data is lost in NetBeans IDE. >Product feature does not work, no workaround exists. Well it depends, the feature works in some situation in other does not work. Moreover I really do not see any reason why it was _now_ changed from P2 to P1. This bug is there for some time and nothing was changed recently.
Please fix ASAP
Fixed in trunk.
Which milestone build will this fix be available in (please say m8, please say m8)
Check 'Target milestone' in the header of the issue. :-)
Verified with Product Version: NetBeans IDE Dev (Build 200710040000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: SunOS version 5.10 running on x86; ISO646-US; en (nb)