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 28075 - DEADLOCK when you mount FS containing WEB module
Summary: DEADLOCK when you mount FS containing WEB module
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 28477
  Show dependency tree
 
Reported: 2002-10-17 11:26 UTC by dmladek
Modified: 2007-01-04 17:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
DEADLOCK in automount (FTD) (29.54 KB, text/plain)
2002-10-17 11:28 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2002-10-17 11:26:40 UTC
Product Version       = NetBeans IDE Dev (Build
200210160100)
  IDE Versioning        = IDE/1 spec=3.13
impl=200210160100
  Operating System      = Linux version 2.4.18
running on i386
  Java; VM; Vendor      = 1.4.1; Java HotSpot(TM)
Client VM 1.4.1-b21; Sun Microsystems Inc.
  Java Home             =
/usr/java/j2sdk1.4/sun/jdk1.4.1/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /home.local/danielm;
/DISKS/storage3/forte/NBdev-last/netbeans/bin
  IDE Install; User Dir =
/home.local/danielm/NBdev-last;
/home.local/danielm/.netbeans/dev
====================================================================

There is one "related" issue #28074 (which is
caused by WEB-INF FSview...some kinda
sychronization or whatever)

Well. If you've got already checkouted somewhere
sources containing WEB-INF module (see issue
#28074 for CVSROOT variable if you don't
wan't to create it by yourself), let's go to start
Mounting Wizard.
Complete it and when you press a button "FINISH"
nothing won't happen...ide's just freez:-(

I marking it as P2 'cause I can reproduce it
everytime.
I made a Full Thread Dump....
Comment 1 dmladek 2002-10-17 11:28:00 UTC
Created attachment 7685 [details]
DEADLOCK in automount (FTD)
Comment 2 Martin Entlicher 2002-10-23 17:08:59 UTC
I'm sure this is in 3.4 version as well => changing version to 3.4
since it might be interesting for sustaining.

The problem is at
org.netbeans.modules.cvsclient.versioning.JavaCvsVersioningSystem$JCvsVersAttributes.readAttribute(JavaCvsVersioningSystem.java:849)

Working on a fix...
Comment 3 Martin Entlicher 2002-10-23 18:03:22 UTC
Fixed in the main trunk.

I was not able to reproduce the deadlock, Dan please verify if it's
fixed now. Thanks.

/cvs/javacvs/src/org/netbeans/modules/cvsclient/NbJavaCvsFileSystem.java,v 
<--  NbJavaCvsFileSystem.java
new revision: 1.87; previous revision: 1.86
/cvs/javacvs/src/org/netbeans/modules/cvsclient/versioning/JavaCvsVersioningSystem.java,v 
<--  JavaCvsVersioningSystem.java
new revision: 1.22; previous revision: 1.21
Comment 4 dmladek 2002-10-24 10:08:06 UTC
because of removed/losted functionality of autodetection WEB module
inside other FS, I can't veryfy it on todays #24 build:-(((
Comment 5 dmladek 2002-11-04 14:16:00 UTC
I don't understand well why we have 2 ways how to marks bug to be
fixed in NB3.4.1 (so someone add dependenci on NB3.4.1 ussue)
and I'd rather added a keyword;-)
Comment 6 dmladek 2002-11-04 15:00:49 UTC
Petre,

could you please explain me, whot is correct behaviour, please?
I'd like to verify those 2 issues, but interaction of WEB module with
JavaCVS module especialy embaded FSs are not clear enought to me I
could verify them.

This issue, I could pronanced as VERIFIED 'cause WEB-INF view FS
appears in todays NBdev build #200211040100 quiete immediately:-)
But anyway, this ussue I think is little bit related to #28074
So I want to know your oppenion
thank you very much for your help
Comment 7 dmladek 2002-11-05 12:56:40 UTC
I think it is fixed, (in NB40dev-2002-11-04-0100 autodetection of
embaded WEB-INF FS happens immediately and no DEADLOCK ever occures!!!!)
Comment 8 Jaroslav Tulach 2002-12-03 09:54:56 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 9 Martin Entlicher 2002-12-05 14:21:10 UTC
Merged into release341 branch.
/cvs/javacvs/src/org/netbeans/modules/cvsclient/NbJavaCvsFileSystem.java,v 
<--  NbJavaCvsFileSystem.java
new revision: 1.83.4.1.6.1; previous revision: 1.83.4.1
/cvs/javacvs/src/org/netbeans/modules/cvsclient/versioning/JavaCvsVersioningSystem.java,v 
<--  JavaCvsVersioningSystem.java
new revision: 1.19.6.1.4.1; previous revision: 1.19.6.1
Comment 10 Quality Engineering 2003-07-01 12:48:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.