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 33155

Summary: Deadlock in projects build
Product: platform Reporter: Petr Nejedly <pnejedly>
Component: FilesystemsAssignee: rmatous <rmatous>
Status: VERIFIED FIXED    
Severity: blocker Keywords: THREAD
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Full thread dump

Description Petr Nejedly 2003-04-23 10:06:37 UTC
Quite reproducible:
Create new package and name it a.b.c.d
If this doesn't yield deadlock, try something
longer (first time it hang with folders a/b, the
next time I had to run all around the keyboard, it
is scheduling sensitive)

I'll attach thread dump.
Comment 1 Petr Nejedly 2003-04-23 10:07:56 UTC
Created attachment 10101 [details]
Full thread dump
Comment 2 Petr Nejedly 2003-04-23 10:17:55 UTC
Note: The UI remained responsive (e.g. kept repainting) for a while,
but the work was not done and first request to FS (e.g. expand folder)
have torn down the UI as well.
Comment 3 Vitezslav Stejskal 2003-04-23 12:28:02 UTC
It's in HostFileObject, its method createFolder holds the lock and
calls deleg.createFolder which fires events. Reassigning to
openide/filesystems.
Comment 4 rmatous 2003-04-24 11:21:27 UTC
Milestone was changed because of project issue.
Comment 5 rmatous 2003-04-24 19:03:48 UTC
The whole HostFileObject must be reviewed to check possible deadlocks,
but this one is fixed in trunk.

/cvs/core/localfs/src/org/netbeans/modules/localfs/HostFileObject.java,v
 <--  HostFileObject.java
new revision: 1.19; previous revision: 1.18

Comment 6 pzajac 2003-11-11 12:43:37 UTC
verified