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 230066 - UI freeze detaching from profiled app
Summary: UI freeze detaching from profiled app
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: THREAD
Depends on:
Blocks:
 
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
Exception Reporter:


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

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: http://hg.netbeans.org/profiler-main/rev/db883a01e5d4.

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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/db883a01e5d4
User: Jiri Sedlacek <jis@netbeans.org>
Log: Part of #230066 - do not invoke NetBeansProfiler.detachFromApp in EDT