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 205676 - LazyMenu.getMenuComponentCount deadlock
Summary: LazyMenu.getMenuComponentCount deadlock
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
: 205827 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-29 20:49 UTC by Vince Kraemer
Modified: 2011-12-06 12:14 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the message log (37.93 KB, application/octet-stream)
2011-11-29 20:49 UTC, Vince Kraemer
Details
readable log (37.93 KB, text/plain)
2011-11-29 20:51 UTC, Vince Kraemer
Details
a thread dump... (17.03 KB, text/plain)
2011-11-29 20:53 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2011-11-29 20:49:56 UTC
Created attachment 113641 [details]
the message log

I did a clean build of web-main with http://hg.netbeans.org/web-main/rev/4875462d4cd9 as the last available change.

I have no local changes or unpushed commits.

I start the ide with a new userdir '~/nb72ud/nov29b' from a Terminal after the build completes.

There is some output in the terminal and then stuff just stops.  The NB main window does not appear.  The NB process is not using CPU... in fact the CPU is under almost no load at all.
Comment 1 Vince Kraemer 2011-11-29 20:51:39 UTC
Created attachment 113642 [details]
readable log
Comment 2 Vince Kraemer 2011-11-29 20:53:55 UTC
Created attachment 113643 [details]
a thread dump...
Comment 3 Stanislav Aubrecht 2011-11-30 11:25:55 UTC
reproduced in build 111130-25c43017b337
Comment 4 Tomas Hurka 2011-11-30 12:05:40 UTC
It looks like org.netbeans.modules.pdf.LinkProcessor.instanceCreate() invokes swing/awt code outside of AWT thread.
Comment 5 Marian Mirilovic 2011-11-30 14:01:37 UTC
It isn't reproducible with 7.1, is it ?
Comment 6 Stanislav Aubrecht 2011-11-30 14:18:19 UTC
7.1 RC2 starts fine...
Comment 7 Vince Kraemer 2011-12-01 18:14:25 UTC
ping
Comment 8 Jan Becicka 2011-12-02 09:38:24 UTC
*** Bug 205827 has been marked as a duplicate of this bug. ***
Comment 9 Tomas Hurka 2011-12-02 10:54:21 UTC
This is regression caused by #205520.
Comment 10 Jan Becicka 2011-12-02 11:04:48 UTC
something is wrong in the Matrix. How is possible, that this bug, which prevents the IDE from starting, was propagated into all repos?
Comment 11 Tomas Hurka 2011-12-02 11:07:45 UTC
(In reply to comment #10)
> something is wrong in the Matrix. How is possible, that this bug, which
> prevents the IDE from starting, was propagated into all repos?

...because it manifests itself on Mac OS X only.
Comment 12 Jan Becicka 2011-12-02 11:08:30 UTC
OK
Comment 13 Marek Fukala 2011-12-02 14:49:05 UTC
shouldn't the http://hg.netbeans.org/web-main/rev/a3c92e27ed3a be reverted then? Three days old P0 for Mac users with no progress?
Comment 14 Tomas Hurka 2011-12-02 15:00:55 UTC
As a local workaround I reverted openide.loaders/src/org/openide/awt/MenuBar.java to revision b525d36e24be.
Comment 15 Marek Fukala 2011-12-02 18:04:07 UTC
I reverted the whole changeset locally as well but it's quite inconvenient to have local changes you do not want to commit.
Comment 16 Jaroslav Tulach 2011-12-02 21:56:07 UTC
ergonomics#10838b23119c
Comment 17 Quality Engineering 2011-12-06 12:14:50 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/18df32597064
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #205676: Don't try to wait if the caller holds AWTTreeLock