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 33840 - NB 3.5 RC2 hangs on startup and on project switch
Summary: NB 3.5 RC2 hangs on startup and on project switch
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2003-05-22 18:56 UTC by gthb
Modified: 2008-12-22 23:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump taken from console window (under Win2000) (21.99 KB, text/plain)
2003-05-22 18:57 UTC, gthb
Details
ide.log for the IDE session that is hanging on startup (10.25 KB, text/plain)
2003-05-22 18:58 UTC, gthb
Details
ide.log from previous IDE session, which terminated normally (13.79 KB, text/plain)
2003-05-22 18:58 UTC, gthb
Details
thread dump on second hang, while changing projects (24.43 KB, text/plain)
2003-05-23 02:52 UTC, gthb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gthb 2003-05-22 18:56:30 UTC
I just experienced a hang on startup. Not my first startup,
IDE was working just fine before. Thread dump indicates
that several CVS filesystems are in the middle of updating.

One of my mounted CVS filesystems is rooted at a path on my
drive that is an ancestor of several other CVS filesystems
that I have mounted (code directories within one project
directory) -- just mentioning that in case it might be
found to be conducive to deadlocks on simultaneous updates.

Will attach thread dump, ide.log, and ide.log from the
previous IDE session (which did not experience problems)
Comment 1 gthb 2003-05-22 18:57:33 UTC
Created attachment 10384 [details]
Thread dump taken from console window (under Win2000)
Comment 2 gthb 2003-05-22 18:58:09 UTC
Created attachment 10385 [details]
ide.log for the IDE session that is hanging on startup
Comment 3 gthb 2003-05-22 18:58:52 UTC
Created attachment 10386 [details]
ide.log from previous IDE session, which terminated normally
Comment 4 gthb 2003-05-23 02:52:12 UTC
Created attachment 10389 [details]
thread dump on second hang, while changing projects
Comment 5 gthb 2003-05-23 02:57:43 UTC
I just submitted a second thread dump, taken when NB 3.5 RC2
is hanging a second time. I don't know whether it is for the
same reason, but it seems unlikely that high-resistance mode
would be letting deadlocks like this in by the truckloads,
so I'm guessing this is related (and thus adding it to the
same bug entry). This happened when I was switching between
projects, after having worked successfully on one project in
the same IDE session for quite a while.

As you can see, there is a bunch of RequestProcessor threads
sitting around in Object.wait() on some mutex, and one 
waiting for monitor entry on a mutex.

Changing summary accordingly.
Comment 6 Marian Mirilovic 2003-05-23 09:15:39 UTC
Second problem is reported as issue 33398.

First hang seems like is releated to CVS and handling with mounted cvs
filesystems, so reassigne to vcs for investigation
Comment 7 Martin Entlicher 2003-05-23 09:33:51 UTC
Passing back to core. This has nothing to do with JavaCVS, there's no
deadlock in the thread dump.

If there's some problem, it's a disk access (there're 4 threads
waiting for disk) or a deadlock in
java.awt.KeyboardFocusManager._clearGlobalFocusOwner(Native Method)
Comment 8 Marian Mirilovic 2003-11-10 14:24:23 UTC
Gunnlaugur Thor Briem is it repsoducible in final version 3.5? 
Thanks in advance
Comment 9 gthb 2003-11-10 18:14:14 UTC
At least I do not remember ever getting this in 3.5 final.
Comment 10 Marian Mirilovic 2003-11-11 09:28:02 UTC
Thanks, I am closing as WORKSFORME.
Comment 11 Petr Nejedly 2003-11-11 11:38:25 UTC
I see no deadlock either, only a few busy threads.
It would be interresting to see the thread dump few seconds later.
Anyway, closing as invalid, no deadlock and no apparent problem. If it
really hung, it have to be in JVM...