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 255733 - 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=228791372
Summary: AssertionError: Key FileEntry{ Name= char$ptr$array{range=[0-4096] /net/evere...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: 81_HR_FIX
: 255732 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-06 12:40 UTC by Vladimir Voskresensky
Modified: 2015-10-26 15:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220383


Attachments
stacktrace (5.92 KB, text/plain)
2015-10-06 12:40 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-10-06 12:40:18 UTC
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)
Comment 1 Vladimir Voskresensky 2015-10-06 12:40:19 UTC
Created attachment 156558 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-10-06 12:43:46 UTC
broken rehashing in DenseMap. It's serious problem. Need to be fixed in 8.1
Comment 3 Vladimir Voskresensky 2015-10-06 12:44:04 UTC
*** Bug 255732 has been marked as a duplicate of this bug. ***
Comment 5 Quality Engineering 2015-10-07 01:25:31 UTC
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
Comment 6 Alexander Simon 2015-10-12 16:38:01 UTC
The issue is not reproduced on file "mysql-5.5.25a/cmd-line-utils/libedit/history.c".
Comment 7 ilia 2015-10-13 13:41:16 UTC
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
Comment 8 soldatov 2015-10-26 15:43:01 UTC
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.