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 20179

Summary: Deadlock in xtest - org.openide.loaders.DataFolderMoveTest.
Product: platform Reporter: Jan Zajicek <jzajicek>
Component: Data SystemsAssignee: David Strupl <dstrupl>
Status: CLOSED INVALID    
Severity: blocker Keywords: THREAD
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 8705    
Attachments: ftd
Thread dump

Description Jan Zajicek 2002-02-05 17:37:58 UTC
Deadlock in DataFolderMoveTest. This deadlock seems to be reproducible on my
mashine so markin P2 - feel free to lower. See thread dump in the attachment
(second dump).
Comment 1 Jan Zajicek 2002-02-05 17:38:28 UTC
This can be related to issue #8705.
Comment 2 Jan Zajicek 2002-02-05 17:38:59 UTC
Created attachment 4580 [details]
ftd
Comment 3 phamernik 2002-02-14 10:12:21 UTC
The problem is that the main thread of calling some method that should
be called from AWT thread. This is the problem of this test only and
does not affect users.

The DataFolderMoveTest is currently in the "always failing tests"
section in openide unit tests anyway.

I am going improve the test.
Changing the priority -> P4.
Comment 4 phamernik 2002-03-11 17:18:37 UTC
Closing as WORKSFORME.

1) I am running tests very often and without this deadlock. I have
never reproduced it.
2) The thread dump is strange and doesn't show a real deadlock - main
thread is waiting in constructor of Mutex$ThreadInfo, FolderRecognizer
is waiting in HashMap (which is not synchronized).



Comment 5 Petr Nejedly 2002-03-14 10:17:37 UTC
The deadlock still happens quite frequently, at least on Solaris.
I'll attach a thread dump as soon as it will happen to me again.
Comment 6 L Martinek 2002-04-19 10:45:40 UTC
Happens to me often on Solaris8.
Please remove this test from stable tests because this 
test blocks qa lab machine.
Comment 7 L Martinek 2002-04-19 10:46:33 UTC
Created attachment 5480 [details]
Thread dump
Comment 8 Jan Zajicek 2002-04-19 15:12:05 UTC
Test excluded from trunk stable test execution.
Comment 9 Marek Grummich 2002-07-22 11:17:36 UTC
Set target milestone to TBD
Comment 10 Marek Grummich 2002-07-22 11:20:38 UTC
Set target milestone to TBD
Comment 11 David Strupl 2003-02-23 23:32:17 UTC
I need more info for this to be resolved:
  1. JDK version (exact)
  2. does it still happen (FolderChildren has been changed 
recently)?
Marking as invalid (bug report) for now. Feel free to 
reopen after adding the required info.
Comment 12 Marian Mirilovic 2003-07-23 17:09:25 UTC
Without new informations for long time - so verifying, closing.