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 - Deadlock in xtest - org.openide.loaders.DataFolderMoveTest.
Summary: Deadlock in xtest - org.openide.loaders.DataFolderMoveTest.
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords: THREAD
Depends on:
Blocks: 8705
  Show dependency tree
 
Reported: 2002-02-05 17:37 UTC by Jan Zajicek
Modified: 2008-12-22 17:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ftd (11.07 KB, text/plain)
2002-02-05 17:38 UTC, Jan Zajicek
Details
Thread dump (6.64 KB, text/plain)
2002-04-19 10:46 UTC, L Martinek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.