[llvm-bugs] [Bug 35261] New: ASSERT "Dropping more elements than exist" while linking with lld-link

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 9 03:28:48 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35261

            Bug ID: 35261
           Summary: ASSERT "Dropping more elements than exist" while
                    linking with lld-link
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andor.patho at dlubal.cz
                CC: llvm-bugs at lists.llvm.org

Created attachment 19391
  --> https://bugs.llvm.org/attachment.cgi?id=19391&action=edit
Crash dump

Assertion failure while linking code compiled with cl.exe:

lld-link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DEBUG /DLL
/SUBSYSTEM:WINDOWS /MANIFEST:embed /OUT:..\..\bin_debug_win64_msvc\Base.dll
@C:\Users\PathoA\AppData\Local\Temp\Base.dll.9344.20281.jom
Assertion failed: size() >= N && "Dropping more elements than exist", file
C:\src\llvm\llvm_package_316086\llvm\include\llvm/ADT/ArrayRef.h, line 189
Wrote crash dump file
"C:\Users\PathoA\AppData\Local\Temp\lld-link.exe-c234c5.dmp"
0x00007FF62A052F46 (0x00007FF62C1FDC01 0x0000000000000000 0x0000000000000000
0x00007FFF0E6DAF41)
0x00007FFF0E7327F7 (0x0000000000000001 0x00007FF600000000 0x0000000000000000
0x000000EA4858D350), raise() + 0x1E7 bytes(s)
0x00007FFF0E7334F1 (0x00007FFF00000003 0x00007FFF00000003 0x00007FF62C1FC7DA
0x00007FF62C1FDCE8), abort() + 0x31 bytes(s)
0x00007FFF0E73519D (0x00000000000000BD 0x00007FF62C1FC7DA 0x000000EA4858E4A8
0x000000EA4858D580), _get_wpgmptr() + 0x1BED bytes(s)
0x00007FFF0E73548F (0x0000000000000009 0xFFFFFFFFFFFFFFFC 0x00000000000000A1
0x000000EA4858D528), _wassert() + 0x3F bytes(s)
0x00007FF62B501C75 (0x0000000000000000 0x0000000000000000 0x000002E9D129655C
0x000002E9D008DE80)
0x00007FF62B50233C (0x0000000000000222 0x0000000000000000 0x0000001AFFFFBF2B
0x00007FFF1171B88A)
0x00007FF62B5073B9 (0x0000000000000000 0x0000000000000000 0x00009FB44FF60360
0x000000EA4858D8A0)
0x00007FF62B50702A (0x0000000000000000 0x000002E9CF93C9E0 0x0000000000000000
0x0000000000000000)
0x00007FF62B506E5B (0x000000EA4858DA64 0x00007FFF11711188 0x000002E9CA8C0000
0x0000000000000002)
0x00007FF62A0F088D (0x007200630069004D 0x0066006F0073006F 0x0074005300200074
0x0067006E006F0072)
0x00007FF62A0ECF5B (0x000002E9D00D3278 0x0000000000000000 0x000002E9CA986020
0x0000000000000000)
0x00007FF62A0D8972 (0x00000000000010F3 0x00007FF62A0D3CF6 0x0000000000008798
0x000002E908010801)
0x00007FF62A0D4E5B (0x0000000000000003 0x0000000000000000 0x00000000000000AC
0x0000000000000000)
0x00007FF62A0AC49D (0x0000000000000002 0x0000000000000000 0x0000000000000000
0x00007FF62D4054C8)
0x00007FF62A0A52DA (0x000000000000000B 0x00007FFF0E7A6CA0 0x000000EA4858FD30
0x00007FF62D3E2A3F)
0x00007FF62A0513EB (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF62C1F96A1 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FFF10D82774 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FFF11760D51 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171109/1c611023/attachment.html>


More information about the llvm-bugs mailing list