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 - Profiled application hangs during shutdown after detach
Summary: Profiled application hangs during shutdown after detach
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2007-10-29 17:07 UTC by Jiri Sedlacek
Modified: 2015-04-22 15:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (6.35 KB, text/plain)
2007-10-29 17:08 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
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