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 31371 - Race condition in Options
Summary: Race condition in Options
Status: CLOSED DUPLICATE of bug 32436
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-22 21:29 UTC by dnoyeB
Modified: 2008-12-22 23:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump1 (7.98 KB, text/plain)
2003-02-22 21:34 UTC, dnoyeB
Details
thread dump2 (6.71 KB, text/plain)
2003-02-22 21:35 UTC, dnoyeB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dnoyeB 2003-02-22 21:29:46 UTC
1. Open Options ->Debugging and
Executing->Execution Types->Debugger Execution:
touch external process, then identifying name.
(their values, not labels)
2. Close options
3. do step 1 again.
4. Close options.
5. Open options and watch the metrics. CPU usage,
memory usage, garbage collector bar in NB.
Destruction is immenent.

Its fast, but on my computer I can get some slight
painting in other windows and stuff, but its
dying... I got several thread dumps but I don't
know how to read em.  I'd appreciate any tips.


>System Info: 
  Product Version       = NetBeans IDE Dev (Build
200302190100)
  IDE Versioning        = IDE/1 spec=3.38
impl=200302190100
  Operating System      = Windows 2000 version 5.0
running on x86
  Java; VM; Vendor      = 1.3.1_07; Java
HotSpot(TM) Client VM 1.3.1_07-b02; Sun
Microsystems Inc.
  Java Home             = c:\jdk1.3.1_07\jre
  System Locale; Encod. = en_US; Cp1252
  Home Dir; Current Dir = C:\Documents and
Settings\Administrator.THELONIUS; C:\Program
Files\NetBeansIDE-dev\bin
  IDE Install; User Dir = C:\Program
Files\NetBeansIDE-dev; C:\Documents and
Settings\Administrator.THELONIUS\.netbeans\dev
  CLASSPATH             = C:\Program
Files\NetBeansIDE-dev\lib\ext\boot.jar;C:\Program
Files\NetBeansIDE-dev\lib\ext\crimson-1.1.3.jar;C:\Program
Files\NetBeansIDE-dev\lib\ext\regexp-1.2.jar;C:\Program
Files\NetBeansIDE-dev\lib\ext\rmi-ext.jar;C:\Program
Files\NetBeansIDE-dev\lib\ext\xerces-2.0.2.jar;C:\Program
Files\NetBeansIDE-dev\lib\ext\xml-apis-1.0b2.jar;c:\jdk1.3.1_07\lib\dt.jar;c:\jdk1.3.1_07\lib\tools.jar
  Boot & ext classpath  =
c:\jdk1.3.1_07\jre\lib\rt.jar;c:\jdk1.3.1_07\jre\lib\i18n.jar;c:\jdk1.3.1_07\jre\lib\sunrsasign.jar;c:\jdk1.3.1_07\jre\classes
  Dynamic classpath     = C:\Program
Files\NetBeansIDE-dev\lib\core-windows.jar;C:\Program
Files\NetBeansIDE-dev\lib\core.jar;C:\Program
Files\NetBeansIDE-dev\lib\openide.jar

WindowsLookAndFeel, XP1800+ 512MB Ram, Microsoft
IntelliMouse...
Comment 1 dnoyeB 2003-02-22 21:34:43 UTC
Created attachment 9097 [details]
thread dump1
Comment 2 dnoyeB 2003-02-22 21:35:11 UTC
Created attachment 9098 [details]
thread dump2
Comment 3 dnoyeB 2003-02-22 21:36:27 UTC
BTW, this was the Q build from the 19th.
Comment 4 dnoyeB 2003-02-22 22:43:48 UTC
No need to touch anything.  Just open and close Options and eventually
it will start racing away.
Comment 5 Jiri Rechtacek 2003-02-24 09:50:02 UTC
Sorry, I don't see where exactly is a problem, I don't see usage of
CPU like you write. The thread dumps didn't help me to see any
problem. I decrease the priority to P3, because this issue doesn't
block any usability of IDE nor block work of other teams. Pls. by more
carefully with specify the priority (see
http://qa.netbeans.org/processes/bug_priority_guidelines.html). Thanks
...
Hanzi, could you look on it? Help me, pls. identify where is a problem
and optionally assign back. Thanks
Comment 6 Jan Jancura 2003-02-24 10:10:40 UTC
Can not reproduce. It looks like problem is somewhere else.
Can you try to reproduce it with clean NetBeans? (without any settings
and just after start of NetBeans). I think that some VCS operation is
executing on the background...
Comment 7 dnoyeB 2003-02-24 14:24:43 UTC
I don't know what in my description lead you to believe the IDE was
still useable in this state!?

I don't  know what to look for in thread dumps.  I have been asking
for some tips so perhaps I could only submit ones that contain
valuable info.
Comment 8 dnoyeB 2003-02-24 14:35:29 UTC
I have the same problem in 200302210100 as well.

Just open and close Options dialog a few times, then the IDE starts
racing.  It is not useable.

I used the default project which has no VCS connections.  This still
happend.  Why should opening and closing Options inspire VCS actions?

Perhaps I need to show my list of modules?

	org.openide/1 [3.39 200302210100]
	org.netbeans.libs.xalan/1 [1.1 2.3.1]
	org.netbeans.libs.jaxp/1 [1.1 1.1.2]
	org.netbeans.api.xml/1 [1.1 200302210100]
	org.netbeans.core/1 [1.12 200302210100]
	org.netbeans.modules.javahelp/1 [1.2 200302210100]
	org.openide.io [1.0 200302210100]
	org.openide.execution [1.0 200302210100]
	org.openide.compiler [1.0 200302210100]
	org.netbeans.lib.terminalemulator [1.0 200302210100]
	org.netbeans.core.output/1 [1.0 200302210100]
	org.netbeans.core.execution/1 [1.2 200302210100]
	org.netbeans.core.compiler/1 [1.3 200302210100]
	org.netbeans.modules.classfile/1 [1.7 200302210100]
	org.openide.src [1.0 200302210100]
	org.openide.debugger [1.0 200302210100]
	org.netbeans.modules.clazz/1 [1.12 200302210100]
	org.netbeans.modules.schema2beans/1 [1.4 200302210100]
	org.netbeans.modules.servletapi/1 [1.2 200302210100]
	org.netbeans.modules.httpserver/1 [1.12 200302210100]
	org.netbeans.modules.web.monitor/1 [1.8 200302210100]
	org.netbeans.modules.properties/1 [1.10 200302210100]
	org.netbeans.modules.editor/1 [1.13 200302210100]
	org.netbeans.modules.diff/1 [1.6 200302210100]
	org.openidex.util/2 [2.6 200302210100]
	org.netbeans.modules.vcscore/1 [1.8 200302210100]
	org.netbeans.modules.vcs.advanced/1 [1.8 200302210100]
	org.openide.deprecated [1.2 200302210100]
	org.netbeans.core.deprecated [1.2 200302210100]
	org.netbeans.modules.debugger.core/3 [2.7 200302210100]
	org.netbeans.modules.debugger.jpda/1 [1.14 200302210100]
	org.netbeans.modules.properties.syntax/1 [1.10 200302210100]
	org.netbeans.modules.html/1 [1.11 200302210100]
	org.netbeans.api.java/1 [1.2 200302210100]
	org.netbeans.modules.java/1 [1.14 200302210100]
	org.netbeans.modules.jarpackager/2 [1.13 200302210100]
	org.netbeans.modules.projects/1 [1.12 200302210100]
	org.netbeans.modules.j2eeserver/2 [1.7 200302210100]
	org.netbeans.modules.web.core/1 [1.16 200302210100]
	org.netbeans.modules.settings/1 [1.3]
	org.netbeans.modules.utilities/1 [1.12 200302210100]
	org.netbeans.modules.xml.core/1 [0.8 200302210100]
	org.netbeans.modules.web.taglibed/1 [1.11 200302210100]
	org.netbeans.modules.servletapi23/1 [1.3 200302210100]
	org.netbeans.modules.web.jspparser/1 [1.5 200302210100]
	org.netbeans.modules.web.tomcat.tomcat40/1 [1.8 200302210100]
	org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 [1.5 200302210100]
	org.netbeans.modules.xml.catalog/1 [0.9 200302210100]
	org.netbeans.modules.applet/1 [1.12 200302210100]
	org.netbeans.modules.web.ie/1 [1.15 200302210100]
	org.netbeans.modules.text/1 [1.11 200302210100]
	org.netbeans.modules.xml.text/1 [0.8 200302210100]
	org.netbeans.core.windows/1 [1.1 200302210100]
	org.netbeans.modules.xml.schema/1 [0.8 200302210100]
	org.netbeans.modules.group/1 [0.1 200302210100]
	org.netbeans.core.ui/1 [1.1 200302210100]
	org.netbeans.modules.xsl/1 [0.8 200302210100]
	org.netbeans.modules.xml.tax/1 [0.8 200302210100]
	org.netbeans.modules.xml.tools/1 [0.8 200302210100]
	org.netbeans.modules.web.core.syntax/1 [1.12 200302210100]
	org.netbeans.modules.usersguide/1 [1.12 200302210100]
	org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.2 200302210100]
	org.netbeans.modules.web.debug/1 [1.8 200302210100]
	org.netbeans.modules.javadoc/1 [1.10 200302210100]
	org.netbeans.modules.web.tomcat.bundled/1 [1.3 200302210100]
	org.apache.tools.ant.module/2 [2.16 200302210100]
	org.netbeans.modules.xml.tree/1 [0.8 200302210100]
	org.netbeans.modules.autoupdate/1 [2.7 200302210100]
	org.netbeans.modules.vcs.cmdline.compat/1 [1.2 200302210100]
	org.netbeans.modules.db/1 [1.7 200302210100]
	org.netbeans.core.ide/1 [1.2 200302210100]
	org.netbeans.modules.image/1 [1.10 200302210100]
	pmd [0.70.2]

I have lots of modules turned off.  Like most web stuff because I am
not doing web stuff right now.
Comment 9 dnoyeB 2003-02-24 14:44:23 UTC
I installed the Q build on my computer at work.  I did not import the
settings from my other install.  I opened and closed options 3 times.
 The 3rd time it started racing.

This was a clean install with no imported projects.

1.3.1_07
WindowsLookAndFeel

-J-Dnetbeans.logger.console=true 
-J-Dsun.java2d.noddraw=true 
-J-Xverify:none 
-J-Xms24m 
-J-Xmx128m
Comment 10 dnoyeB 2003-02-24 15:31:20 UTC
I am not experiencing the problem in today's build.
Product Version       = NetBeans IDE Dev (Build 200302240100)
Comment 11 dnoyeB 2003-02-25 01:10:00 UTC
I think the build from the 19th was just cursed.  Closing the issue.
Comment 12 dnoyeB 2003-03-28 18:04:22 UTC
Opening to mark as duplicate of 32436, since this issue just came back
in recent build.
Comment 13 dnoyeB 2003-03-28 18:04:43 UTC

*** This issue has been marked as a duplicate of 32436 ***
Comment 14 Marian Mirilovic 2003-07-22 16:46:10 UTC
verified, closed - it's duplicate.