Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 230066 - UI freeze detaching from profiled app
UI freeze detaching from profiled app
Status: NEW
Product: profiler
Classification: Unclassified
Component: Ide
PC Linux
: P3 (vote)
Assigned To: Tomas Hurka
Depends on:
  Show dependency treegraph
Reported: 2013-05-21 20:08 UTC by Jesse Glick
Modified: 2013-06-06 01:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT

Thread dump (23.25 KB, text/plain)
2013-05-21 20:08 UTC, Jesse Glick
Thread dump for the detach failure (8.91 KB, text/plain)
2013-06-04 15:13 UTC, Jiri Sedlacek

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2013-05-21 20:08:41 UTC
Created attachment 134697 [details]
Thread dump

20130506-77c7571a74e2. Attached profiler to a remote app in sampling mode, watched results for a while, decided I needed instrumented mode instead, so clicked the Detach button. Was asked whether I wanted to terminate the profiled app; I said no. Nothing seemed to change. Selected Profile » Attach and was again asked to detach the current session and agreed. Nothing. Finally selected Profile » Detach. Now the UI froze; thread dump attached.
Comment 1 Jiri Sedlacek 2013-06-04 15:12:22 UTC
Changes to not invoke the blocking code from EDT:

Note that this doesn't fix the main problem with randomly broken detach (even for the sampling session). See the attached thread dump from the profiled application.
Comment 2 Jiri Sedlacek 2013-06-04 15:13:03 UTC
Created attachment 135336 [details]
Thread dump for the detach failure
Comment 3 Jiri Sedlacek 2013-06-04 15:15:56 UTC
Might also be related to Bug 205363.
Comment 4 Quality Engineering 2013-06-06 01:50:54 UTC
Integrated into 'main-golden', will be available in build *201306052301* on (upload may still be in progress)
User: Jiri Sedlacek <>
Log: Part of #230066 - do not invoke NetBeansProfiler.detachFromApp in EDT

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo