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.
Build: NetBeans IDE Dev (Build 20151005-52916246abfe) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: SunOS User Comments: vv159170: switch to mysql-5.5.25a/cmd-line-utils/libedit/history.c Stacktrace: java.lang.AssertionError: Key FileEntry{ Name= char$ptr$array{range=[0-4096] /net/everest/export1/sside/alsimon/mysql-5.5.25a/cmd-line-utils/libedit/history.c<EOF>}char$ptr$array , Size=25445, ModTime=2287913722, Dir=DirectoryEntry{Name= char$ptr$array{range=[1423-4096] /net/everest/export1/sside/alsimon/mysql-5.5.25a/cmd-line-utils/libedit/.<EOF>}char$ptr$array }, UID=27, UniqueID=UniqueID{Device=2555505541881, File=1083500}, IsNamedPipe=false, InPCH=false, IsValid=true, File=unique_ptr{destroyed=false, Ptr=null} } already in new map?{FileEntry{ Name= char$ptr$array{range=[0-4096] /net/everest/export1/sside/alsimon/mysql-5.5.25a/cmd-line-utils/libedit/history.c<EOF>}char$ptr$array , Size=25445, ModTime=2287913722, Dir=DirectoryEntry{Name= char$ptr$array{range=[1423-4096] /net/everest/export1/sside/alsimon/mysql-5.5.25a/cmd-line-utils/libedit/.<EOF>}char$ptr$array }, UID=27, UniqueID=UniqueID{Device=2555505541881, File=1083500}, IsNamedPipe=false, InPCH=false, IsValid=true, File=unique_ptr{destroyed=false, Pt at org.llvm.adt.aliases.DenseMapBase.moveFromOldBuckets(DenseMapBase.java:449) at org.llvm.adt.aliases.DenseMap.grow(DenseMap.java:156) at org.llvm.adt.aliases.DenseMapBase.InsertIntoBucketImpl(DenseMapBase.java:677) at org.llvm.adt.aliases.DenseMapBase.InsertIntoBucket(DenseMapBase.java:648) at org.llvm.adt.aliases.DenseMapBase.FindAndConstruct(DenseMapBase.java:309) at org.clang.basic.SourceManager.getOrCreateContentCache(SourceManager.java:4009)
Created attachment 156558 [details] stacktrace
broken rehashing in DenseMap. It's serious problem. Need to be fixed in 8.1
*** Bug 255732 has been marked as a duplicate of this bug. ***
fixed http://hg.netbeans.org/cnd-main/rev/91cdb3de8b49 fixes in library: https://hg.kenai.com/hg/sputnik~main/rev/7e0516671d93 https://hg.kenai.com/hg/sputnik~main/rev/3a0e5c9d1527 https://hg.kenai.com/hg/sputnik~main/rev/b15ae68a9b0e
Integrated into 'main-silver', will be available in build *201510070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/91cdb3de8b49 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #255733 - AssertionError: Key already in new map? - binaries updates
The issue is not reproduced on file "mysql-5.5.25a/cmd-line-utils/libedit/history.c".
Transplanted status: Changesets which modified only binaries-list were skipped except the latest one. Changeset http://hg.netbeans.org/cnd-main/rev/91cdb3de8b49 may be considered as a "transplanted" one
Verified in NetBeans IDE 8.1 (Build 201510222201) In FCS I don't see so much exceptions. And I can't reproduce this exception too. I will mark bug as a VERIFIED.