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 - Deadlock in projects build
Summary: Deadlock in projects build
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2003-04-23 10:06 UTC by Petr Nejedly
Modified: 2008-12-22 19:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump (13.48 KB, text/plain)
2003-04-23 10:07 UTC, Petr Nejedly
Details

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