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 65227

Summary: [50cat] Starvation on Find in Toolkit.getSystemSelection
Product: platform Reporter: Unknown <non_migrated_user>
Component: -- Other --Assignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: blocker CC: jchalupa, mmirilovic, pnejedly
Priority: P3 Keywords: THREAD
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump
Another thread dump (if helpful)

Description Unknown 2005-09-27 21:38:33 UTC
[ BUILD # : 200509251800 ]
[ JDK VERSION : 1.6 ]

3 times I've had a deadlock situation on Linux (Debian sarge)
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b53)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b53, mixed mode, sharing)
The first was after clicking on a result after Find Usages.  The last two were executing a Find in the current document.
I'll post the thread dump.
Comment 1 Unknown 2005-09-27 21:39:14 UTC
Created attachment 25241 [details]
Thread dump
Comment 2 Jan Chalupa 2005-09-28 10:17:49 UTC
Clipboard?
Comment 3 Unknown 2005-09-28 21:32:23 UTC
Created attachment 25271 [details]
Another thread dump (if helpful)
Comment 4 Jaroslav Tulach 2005-09-29 10:26:42 UTC
Not exactly clipboard, but system selection - we hacked clipboard to prevent  
deadlocks and time out, but we did nothing for system selection.  
  
I see nothing we can do to workaround the problem. Moreover I suspect there is  
something wrong in JDK as none of our threads are really participating in this  
starvation.  
 
I've reported a JDK bug 6330416 to track the problem.