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 30129 - Startup deadlock
Summary: Startup deadlock
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: RANDOM, THREAD
: 29972 30223 30612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-15 10:56 UTC by Milan Kubec
Modified: 2008-12-22 22:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
deadlock thread dump (15.76 KB, text/plain)
2003-01-15 10:57 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2003-01-15 10:56:08 UTC
[dev-200301150100] IDE deadlocked during startup
and splash was showing message: "Opening project
Default ...". Not reproducible. Default project
wasn't modified at all.
Comment 1 Milan Kubec 2003-01-15 10:57:14 UTC
Created attachment 8581 [details]
deadlock thread dump
Comment 2 pzajac 2003-01-15 13:53:06 UTC
Priority increased. Deadlock in filesystems on initialization openfile
module on startup. 
OpenIDE-request-processor-0
Default RequestProcessor
Folder recognizer 
 are waiting to lock in main thread ....
main is waiting in 
at
org.openide.filesystems.MIMESupport$CachedFileObject.isAnyResolver(MIMESupport.java:138)
Comment 3 rmatous 2003-01-15 15:16:08 UTC
I know, that P.Nejedly showed me the same dumpstack.
I don't see any reason why to wait in
MIMESupport$CachedFileObject.isAnyResolver(MIMESupport.java:138).
Strange dumpstack, I don't understand, then I'm not ready to fix.  

Comment 4 rmatous 2003-01-16 16:15:18 UTC
So, according to previous comment marked as WORKSFORME. If this
problem occures again, then this dumpstack could be send to jdk team
to analyse.
Comment 5 rmatous 2003-01-16 18:06:13 UTC
*** Issue 29972 has been marked as a duplicate of this issue. ***
Comment 6 pzajac 2003-01-20 14:26:17 UTC
*** Issue 30223 has been marked as a duplicate of this issue. ***
Comment 7 pzajac 2003-01-20 14:30:35 UTC
Reopened because this bug recently occured on many platforms
(SOLARIS,LINUX,WIN 2000) last week.  
Comment 8 bht 2003-01-21 05:13:36 UTC
I get this symptoms on Win98, too. Next time I will try to get a stack
dump on Win98. [Ctrl+Break] I guess.
Comment 9 pzajac 2003-01-23 09:20:00 UTC
can you add your jdk version and platform?
It occured on linux :
 jdk 1.4.1-b01, jdk 1.4.1-b21 


Comment 10 rmatous 2003-01-23 09:55:38 UTC
Problem was that main thread waited for clinit of CachedFileObject,
that couldn't be finished because of waiting for lock. The dumpstack
was confusing.

Fixed in trunk.

/cvs/openide/src/org/openide/filesystems/MIMESupport.java,v  <-- 
MIMESupport.java
new revision: 1.23; previous revision: 1.22

Comment 11 pzajac 2003-02-04 08:37:57 UTC
*** Issue 30612 has been marked as a duplicate of this issue. ***
Comment 12 pzajac 2003-02-04 08:39:32 UTC
it seems fine