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 105508 - ThreadsDataManager causes deadlock in AWT
Summary: ThreadsDataManager causes deadlock in AWT
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords: THREAD
: 106821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-03 16:03 UTC by Alexander Kouznetsov
Modified: 2009-03-17 08:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE output with threads dump (88.96 KB, text/plain)
2007-06-03 16:04 UTC, Alexander Kouznetsov
Details
solaris 10 sparc T1000 (jdk 1.6u1) IDE deadlock (33.82 KB, text/plain)
2007-06-13 09:54 UTC, J Bachorik
Details
server.log for domain1 on solaris10 (89.30 KB, text/plain)
2007-06-13 09:56 UTC, J Bachorik
Details
join threads dumps for profiler process solaris 10-sparc (22.83 KB, text/plain)
2007-06-13 09:57 UTC, J Bachorik
Details
join threads dump for server done with jstack (2.36 KB, text/plain)
2007-06-13 09:57 UTC, J Bachorik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-06-03 16:03:59 UTC
Profiler 070515
NetBeans IDE Dev (Build 070516)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Got a deadlock on attempt to perform dynamic attach to FindBugs application.
This attach was performed after another attach when profiled application stopped
responding. So the profiled application was started again and an attempt to
dynamic attach with the same parameters was made.
Comment 1 Alexander Kouznetsov 2007-06-03 16:04:49 UTC
Created attachment 43161 [details]
IDE output with threads dump
Comment 2 J Bachorik 2007-06-13 09:53:33 UTC
comments from nouar38:
NB 6.0 200704061800 & GF v2 Build50, yesterday I get in a similar situation on while profiling a project on
windows xp and solaris 10-sparc. On the windows host could not get the threads dump of the IDE using stacktrace
(the host was very painfully responding - connected with rdesktop - and was obliged to kill the java processes
using the Task Manager).
But on the solaris-sparc it was much easier to get the stack : kill -QUIT
I'm adding the IDE threads-dump in the attachement taken before closing the IDE window (right top x).
Also, I'll try to do the threads-dump of the server.

nouar (I'm helping the serverpluging team in testing nb 6.0).
Comment 3 J Bachorik 2007-06-13 09:54:52 UTC
Created attachment 43601 [details]
solaris 10 sparc T1000  (jdk 1.6u1) IDE deadlock
Comment 4 J Bachorik 2007-06-13 09:56:16 UTC
Created attachment 43602 [details]
server.log for domain1 on solaris10
Comment 5 J Bachorik 2007-06-13 09:57:07 UTC
Created attachment 43603 [details]
join threads dumps for profiler process solaris 10-sparc
Comment 6 J Bachorik 2007-06-13 09:57:48 UTC
Created attachment 43604 [details]
join threads dump for server done with jstack
Comment 7 J Bachorik 2007-06-14 11:33:09 UTC
i believe this should be fixed in trunk. could you perform a thorough verification - i'm not able to reproduce the
behaviour and the fix is based only on the stacktrace analysis
Comment 8 J Bachorik 2007-06-15 15:04:16 UTC
*** Issue 106821 has been marked as a duplicate of this issue. ***
Comment 9 Alexander Kouznetsov 2007-09-08 16:32:28 UTC
Verified with Beta1
Comment 10 Quality Engineering 2009-03-17 08:26:49 UTC
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3c0884776448
User: Tomas Hurka <thurka@netbeans.org>
Log: improved fix for issue #105508, DataManagers have to fire events and reset data in AWT thread