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 257890 - The parsing hangs at some points for minutes at the same state. No code completion, no jumps to definitions, etc
Summary: The parsing hangs at some points for minutes at the same state. No code compl...
Status: RESOLVED DUPLICATE of bug 258298
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-08 13:28 UTC by _ nzero2002
Modified: 2016-04-15 16:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (123.93 KB, text/plain)
2016-02-08 13:28 UTC, _ nzero2002
Details
Full thread dump (78.67 KB, text/plain)
2016-02-12 12:42 UTC, Vladimir Kvashin
Details
One more thread dump from user. This time he complained that build hungs (95.09 KB, text/plain)
2016-02-12 14:13 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ nzero2002 2016-02-08 13:28:13 UTC
The parsing hangs at some points for minutes at the same state. No code completion, no jumps to definitions, etc.

The files on which hang happens are mentioned in the log: pe_dataset.h and pe_analysis.cpp.
It is very inconvenient as there is no productive work can be done in the IDE during the hung.



Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens sometimes, but not always

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops u
Comment 1 _ nzero2002 2016-02-08 13:28:19 UTC
Created attachment 158412 [details]
IDE log
Comment 2 _ nzero2002 2016-02-08 13:31:38 UTC
The hung corresponds to line 951+ in the IDE Log:

INFO [remote.support.logger]: Started remote agent /var/tmp/dlight_c4dev/87210c76/bin/Linux-x86_64/fs_server -t 4 -p -d /var/tmp/dlight_c4dev/87210c76/fs_server_cache  [pid=23699 at c4dev@10.111.73.137] 
INFO [remote.support.logger]: Remote agent version 1.7.2 [c4dev@10.111.73.137] 
WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener from org.netbeans.modules.editor.NbEditorDocument@17a3bfd1, mimeType='text/x-c++', kitClass=null, length=149837, version=427, file=org.netbeans.modules.cnd.source.CCDataObject@73e8e48b[c4dev@10.111.73.137:/home/c4dev/workspace/fast_vp_drm_dev/safe/catmerge/services/atpe/pe/src/pe_analysis.cpp [valid]]
WARNING [null]: Last record repeated again.
INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: MarkOccurrencesHighlighter runner : class org.netbeans.modules.cnd.highlight.semantic.MarkOccurrencesHighlighter ignored cancel for 66 995 ms.
WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener from org.netbeans.modules.editor.NbEditorDocument@17a3bfd1, mimeType='text/x-c++', kitClass=null, length=150165, version=489, file=org.netbeans.modules.cnd.source.CCDataObject@73e8e48b[c4dev@10.111.73.137:/home/c4dev/workspace/fast_vp_drm_dev/safe/catmerge/services/atpe/pe/src/pe_analysis.cpp [valid]]
INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: MarkOccurrencesHighlighter runner : class org.netbeans.modules.cnd.highlight.semantic.MarkOccurrencesHighlighter ignored cancel for 75 220 ms.
WARNING [org.openide.util.Utilities]: findContextMenuImpl, getPopupPresenter returning null for org.openide.util.actions.NodeAction$DelegateAction@2b1f46b6[delegate=org.netbeans.modules.cnd.makeproject.ui.actions.MakeProjectBuildHostAction@7766ccae]
WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener from org.netbeans.modules.editor.NbEditorDocument@3e78b2c7, mimeType='text/x-h', kitClass=null, length=41302, version=447, file=org.netbeans.modules.cnd.source.HDataObject@17a04327[c4dev@10.111.73.137:/home/c4dev/workspace/fast_vp_drm_dev/safe/catmerge/services/atpe/pe/src/pe_dataset.h [valid]]
WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener from org.netbeans.modules.editor.NbEditorDocument@17a3bfd1, mimeType='text/x-c++', kitClass=null, length=150255, version=923, file=org.netbeans.modules.cnd.source.CCDataObject@73e8e48b[c4dev@10.111.73.137:/home/c4dev/workspace/fast_vp_drm_dev/safe/catmerge/services/atpe/pe/src/pe_analysis.cpp [valid]]
WARNING [null]: Last record repeated again.

After that it gets unfrozen and completed.
Comment 3 Alexander Simon 2016-02-11 03:21:09 UTC
Please, attach threads dump or/and profiling snapshot.
See http://wiki.netbeans.org/GenerateThreadDump
Without additional info we cannot understand root cause of the issue.
Comment 4 Vladimir Kvashin 2016-02-12 12:42:46 UTC
Created attachment 158475 [details]
Full thread dump
Comment 5 Vladimir Kvashin 2016-02-12 12:43:26 UTC
So far I see strange things in remote and nothing bad in code model, so I'm reassigning this to remote.
Comment 6 Vladimir Kvashin 2016-02-12 14:13:35 UTC
Created attachment 158477 [details]
One more thread dump from user. This time he complained that build hungs
Comment 7 Quality Engineering 2016-03-11 02:12:32 UTC
Integrated into 'main-silver', will be available in build *201603110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/617291569bc1
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Some trace for #257890 - The parsing hangs at some points for minutes at the same state
Comment 8 Vladimir Kvashin 2016-03-13 14:02:00 UTC
I think the issue 258298 that I filed when trying to reproduce the situation has exactly the same root cause. It is now fixed. So I'm closing this one as "fixed" and the issue 258298 as duplicate.

Change sets are:
http://hg.netbeans.org/cnd-main/rev/98def958fd03
http://hg.netbeans.org/cnd-main/rev/873c46b65b71
http://hg.netbeans.org/cnd-main/rev/0227a5cc934b
http://hg.netbeans.org/cnd-main/rev/cef5c008c5ee
http://hg.netbeans.org/cnd-main/rev/6e6eab9d82ef
http://hg.netbeans.org/cnd-main/rev/c7909ea3eb33
http://hg.netbeans.org/cnd-main/rev/4a1268ef094d
Comment 9 Vladimir Kvashin 2016-03-13 14:02:20 UTC
*** Bug 258298 has been marked as a duplicate of this bug. ***
Comment 10 ilia 2016-03-16 13:16:31 UTC

*** This bug has been marked as a duplicate of bug 258298 ***