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 33152 - IDE hangs while checking out a source
Summary: IDE hangs while checking out a source
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2003-04-23 08:43 UTC by tboerkel
Modified: 2003-07-08 14:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump. (16.07 KB, text/plain)
2003-04-23 08:44 UTC, tboerkel
Details
The binary patch, that fix this problem. To apply put the jar into <NB-install>/modules/autoload/patches/org-netbeans-modules-vcscore/ folder. (48.96 KB, application/octet-stream)
2003-04-23 09:38 UTC, Martin Entlicher
Details
Thread dump taken while IDE was freezed. (15.56 KB, text/plain)
2003-04-23 09:42 UTC, Jiri Kovalsky
Details
The contextual diff of the fix. (11.44 KB, patch)
2003-04-23 12:03 UTC, Martin Entlicher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2003-04-23 08:43:47 UTC
Using JDK 1.4.1_01, NetBeans 3.5 Beta, VSS 6.0c.
Source was checked in. Started typing, VCS ask
requester ("check out?) popped up, answer with
"yes" and immediatly continued typing. -> IDE
hangs. Attaching thread dump.
Comment 1 tboerkel 2003-04-23 08:44:54 UTC
Created attachment 10097 [details]
Thread dump.
Comment 2 Martin Entlicher 2003-04-23 09:17:30 UTC
This is a deadlock :-(
It's relatively easy to fix it.

Comment 3 Martin Entlicher 2003-04-23 09:18:59 UTC
Starting to work on a fix. I guess, this could be P1. Is it
reproducible?
I think this deserves to be fixed into NB 3.5.
Comment 4 Martin Entlicher 2003-04-23 09:32:20 UTC
The problem should be fixed in the main trunk:
/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.225; previous revision: 1.224
Comment 5 Martin Entlicher 2003-04-23 09:38:07 UTC
Created attachment 10098 [details]
The binary patch, that fix this problem. To apply put the jar into <NB-install>/modules/autoload/patches/org-netbeans-modules-vcscore/ folder.
Comment 6 Martin Entlicher 2003-04-23 09:40:53 UTC
The binary patch for NB 3.5 attached. Thomas, please can you verify
that the patch fix this problem? (Please verify that the patch was
applied in ide.log). Thanks.
Comment 7 Jiri Kovalsky 2003-04-23 09:41:53 UTC
Wow, it's reproducible ! I am attaching another thread dump and
raising priority. This must be fixed in release35 branch.
Comment 8 Jiri Kovalsky 2003-04-23 09:42:29 UTC
Created attachment 10099 [details]
Thread dump taken while IDE was freezed.
Comment 9 Martin Entlicher 2003-04-23 09:47:55 UTC
The second thread dump is apparently caused by the same problem.
Comment 10 Jiri Kovalsky 2003-04-23 10:28:22 UTC
Hm, it works fine with the attached patch. Can you Thomas reproduce it
now ? Tested with NetBeans 3.5 build #200304142350.
Comment 11 Martin Entlicher 2003-04-23 12:03:12 UTC
Created attachment 10104 [details]
The contextual diff of the fix.
Comment 12 Richard Gregor 2003-04-23 15:49:26 UTC
Diff reviewed without objections.
Comment 13 _ ttran 2003-04-23 16:48:46 UTC
approved for 3.5
Comment 14 Martin Entlicher 2003-04-24 07:37:44 UTC
Thanks for the review, verification and approval. The problem is fixed
in release35 branch:

/shared/data/helm/cvs/repository/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.207.2.13; previous revision: 1.207.2.12
Comment 15 tboerkel 2003-04-24 08:29:44 UTC
I cannot reproduce the problem anymore after applying the patch.
Thanks for the quick fix.
Comment 16 Jiri Kovalsky 2003-07-08 14:31:35 UTC
Okay, verifying on behalf of Thomas based on his last comment. It
works fine in Sun ONE Studio 5.0 Standard Edition build #030528 too.