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 120378

Summary: Profiled application hangs during shutdown after detach
Product: profiler Reporter: Jiri Sedlacek <jis>
Component: BaseAssignee: issues@profiler <issues>
Status: NEW ---    
Severity: blocker Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description Jiri Sedlacek 2007-10-29 17:07:50 UTC
Product Version: NetBeans IDE Dev (Build 071024)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b18
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: E:\Dev\userdirdev


Steps:

1/ Start AnagramGame using the Run action
2/ Dynamically attach the profiler for Memory profiling, display Live results and generate some data
3/ Invoke Detach action from Control Panel, keep the AnagramGame running
4/ Immediately close the AnagramGame application - it's process keeps running and never stops

This happens when the application is closed before/during deinstrumentation. It's quite dangerous since the user isn't
aware that deinstrumentation is performed after the profiler detaches and profiler agent which keeps running in the app
blocking comm port for any other profiling sessions.
Comment 1 Jiri Sedlacek 2007-10-29 17:08:34 UTC
Created attachment 51919 [details]
Thread dump
Comment 2 Tomas Hurka 2007-11-07 10:35:38 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 3 J Bachorik 2008-03-29 11:37:29 UTC
changing milestone
Comment 4 J Bachorik 2012-08-01 08:33:58 UTC
changing owner