[llvm-bugs] [Bug 47688] New: Assertion failed: DeclAccess != AS_none, file C:\b\s\w\ir\cache\builder\emscripten-releases\llvm-project\clang\include\clang/AST/DeclCXX.h, line 1697

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 30 02:33:33 PDT 2020


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

            Bug ID: 47688
           Summary: Assertion failed: DeclAccess != AS_none, file
                    C:\b\s\w\ir\cache\builder\emscripten-releases\llvm-pro
                    ject\clang\include\clang/AST/DeclCXX.h, line 1697
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: esenthel at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 24009
  --> https://bugs.llvm.org/attachment.cgi?id=24009&action=edit
CPP and SH

1>------ Build started: Project: EsenthelEngine, Configuration: Release GL
Emscripten ------
1>Project file contains ToolsVersion="12.0". This toolset may be unknown or
missing, in which case you may be able to resolve this by installing the
appropriate version of MSBuild, or the build may have been forced to a
particular ToolsVersion for policy reasons. Treating the project as if it had
ToolsVersion="4.0". For more information, please see
http://go.microsoft.com/fwlink/?LinkId=291333.
1>  Undo.cpp
1>  Assertion failed: DeclAccess != AS_none, file
C:\b\s\w\ir\cache\builder\emscripten-releases\llvm-project\clang\include\clang/AST/DeclCXX.h,
line 1697
1>  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
1>  Stack dump:
1>  0.  Program arguments: D:/Progs/Emscripten/upstream/bin\clang++.exe -target
wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0
-D__EMSCRIPTEN_tiny__=5 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__
-Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\include\libcxx -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libcxxabi\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\compat
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\include\libc -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libc\musl\arch\emscripten
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\local\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\SSE
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\neon
-Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\compiler-rt\include
-Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libunwind\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\cache\wasm\include
-DEMSCRIPTEN -fignore-exceptions -o Emscripten/Release GL/Undo.o -DDEBUG=0
-D_VC80_UPGRADE=0x0710 -DEMSCRIPTEN -D__STDC__ -MD -MF Emscripten/Release
GL/Undo.d -O2 -Wno-invalid-offsetof -Wno-comment -Wno-parentheses -Wno-switch
-Wno-empty-body -Wno-address-of-temporary -Wno-constant-logical-operand
-Wno-invalid-pp-token -Wno-null-dereference -Wno-int-to-void-pointer-cast
-Wno-return-type-c-linkage -Wno-dynamic-class-memaccess -fms-extensions
-std=c++17 -IC:/Esenthel/Engine/ -IC:/Esenthel/Engine//H/_ -I../ThirdPartyLibs
-I../ThirdPartyLibs/FreeType/lib/include -I../ThirdPartyLibs/DirectX
-I../ThirdPartyLibs/Zlib -I../ThirdPartyLibs/Cg/Win
-I../ThirdPartyLibs/Opus/lib/include -I../ThirdPartyLibs/Opus/file/include
-I../ThirdPartyLibs/Ogg/include -I../ThirdPartyLibs/Theora/include
-I../ThirdPartyLibs/Vorbis/include
-I../ThirdPartyLibs/FDK-AAC/lib/libSYS/include
-I../ThirdPartyLibs/PhysX/PhysX/Include
-I../ThirdPartyLibs/PhysX/PhysX/Include/cloth
-I../ThirdPartyLibs/PhysX/PhysX/Include/common
-I../ThirdPartyLibs/PhysX/PhysX/Include/extensions
-I../ThirdPartyLibs/PhysX/PhysX/Include/geometry
-I../ThirdPartyLibs/PhysX/PhysX/Include/vehicle
-I../ThirdPartyLibs/PhysX/PhysX/Source/Common/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/GeomUtils/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXExtensions/src/serialization/Xml
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXMetaData/core/include
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXMetaData/extensions/include
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXVehicle/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXVehicle/src/PhysXMetaData/include
-I../ThirdPartyLibs/PhysX/PxShared/include
-I../ThirdPartyLibs/PhysX/PxShared/src/foundation/include
-I../ThirdPartyLibs/PhysX/PxShared/src/pvd/include -I../ThirdPartyLibs/FBX
-I../ThirdPartyLibs/Bullet/lib/src
-I../ThirdPartyLibs/VP/libvpx/third_party/libwebm -x c++ Source/Edit/Undo.cpp
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\SDL -c
-o C:\Users\esent\AppData\Local\Temp\emscripten_temp_g7lyq7bx\Undo_0.o -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr 
1>  C:\Esenthel\Engine\H\_\inline.h(1833): '1.  C' 119: current parser token
'('
1>  C:\Esenthel\Engine\H\Memory\Memory.h(147): '2.      C' 1: parsing namespace
'EE'
1>  C:\Esenthel\Engine\H\_\inline.h(1833): '3.  C' 80: parsing function body
'EE::ThreadSafeMap::dataInMapToKey'
1>  C:\Esenthel\Engine\H\_\inline.h(1833): '4.  C' 80: in compound statement
('{}')
1>   #0 0x00007ff75208c476
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x112c476)
1>   #1 0x00007ff98fc01891 (C:\WINDOWS\System32\ucrtbase.dll+0x71891)
1>   #2 0x00007ff98fc02861 (C:\WINDOWS\System32\ucrtbase.dll+0x72861)
1>   #3 0x00007ff98fc041c5 (C:\WINDOWS\System32\ucrtbase.dll+0x741c5)
1>   #4 0x00007ff98fc04501 (C:\WINDOWS\System32\ucrtbase.dll+0x74501)
1>   #5 0x00007ff753fbe70b
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x305e70b)
1>   #6 0x00007ff753e9f213
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2f3f213)
1>   #7 0x00007ff753a828f4
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b228f4)
1>   #8 0x00007ff753a8404c
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b2404c)
1>   #9 0x00007ff753a71980
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b11980)
1>  #10 0x00007ff753a70554
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b10554)
1>  #11 0x00007ff753a7628c
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b1628c)
1>  #12 0x00007ff753a70ff8
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b10ff8)
1>  #13 0x00007ff753a6968c
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b0968c)
1>  #14 0x00007ff753a69585
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b09585)
1>  #15 0x00007ff753a5e2fe
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2afe2fe)
1>  #16 0x00007ff753a56c69
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2af6c69)
1>  #17 0x00007ff753a5627f
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2af627f)
1>  #18 0x00007ff753a606c0
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b006c0)
1>  #19 0x00007ff753a61644
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2b01644)
1>  #20 0x00007ff7539b98fa
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a598fa)
1>  #21 0x00007ff7539d574d
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a7574d)
1>  #22 0x00007ff7539d34c1
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a734c1)
1>  #23 0x00007ff7539d2c3b
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a72c3b)
1>  #24 0x00007ff753a06727
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2aa6727)
1>  #25 0x00007ff7539b6321
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a56321)
1>  #26 0x00007ff7539e3776
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a83776)
1>  #27 0x00007ff7539e31aa
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a831aa)
1>  #28 0x00007ff753a06798
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2aa6798)
1>  #29 0x00007ff7539b6321
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a56321)
1>  #30 0x00007ff7539b4b26
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a54b26)
1>  #31 0x00007ff7539afe1e
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x2a4fe1e)
1>  #32 0x00007ff75296e5f5
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x1a0e5f5)
1>  #33 0x00007ff75292bc7b
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x19cbc7b)
1>  #34 0x00007ff7529e38bd
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x1a838bd)
1>  #35 0x00007ff750f6761a
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x761a)
1>  #36 0x00007ff750f64934
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x4934)
1>  #37 0x00007ff7528bc836
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x195c836)
1>  #38 0x00007ff7520750f3
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x11150f3)
1>  #39 0x00007ff7528bc07d
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x195c07d)
1>  #40 0x00007ff7527b7125
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x1857125)
1>  #41 0x00007ff7527b74cb
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x18574cb)
1>  #42 0x00007ff7527a31b7
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x18431b7)
1>  #43 0x00007ff750f642f5
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x42f5)
1>  #44 0x00007ff754d26470
(D:\Progs\Emscripten\upstream\bin\clang++.exe+0x3dc6470)
1>  #45 0x00007ff9913d6fd4 (C:\WINDOWS\System32\KERNEL32.DLL+0x16fd4)
1>  #46 0x00007ff991c7cec1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x4cec1)
1>clang++ : error : clang frontend command failed due to signal (use -v to see
invocation)
1>  clang version 12.0.0
(C:swircachegitchromium.googlesource.com-external-github.com-llvm-llvm--project
5dbf80cad9556e222c4383960007fc0b27ea9541)
1>  Target: wasm32-unknown-emscripten
1>  Thread model: posix
1>  InstalledDir: D:/Progs/Emscripten/upstream/bin
1>  clang++: note: diagnostic msg: 
1>  ********************
1>  
1>  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>  Preprocessed source(s) and associated run script(s) are located at:
1>  clang++: note: diagnostic msg:
C:\Users\esent\AppData\Local\Temp\Undo-bdd1c4.cpp
1>  clang++: note: diagnostic msg:
C:\Users\esent\AppData\Local\Temp\Undo-bdd1c4.sh
1>  clang++: note: diagnostic msg: 
1>  
1>  ********************
1>emcc : error : 'D:/Progs/Emscripten/upstream/bin\clang++.exe -target
wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0
-D__EMSCRIPTEN_tiny__=5 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__
-Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\include\libcxx -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libcxxabi\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\compat
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\include\libc -Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libc\musl\arch\emscripten
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\local\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\SSE
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\neon
-Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\compiler-rt\include
-Xclang
-isystemD:\Progs\Emscripten\upstream\emscripten\system\lib\libunwind\include
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\cache\wasm\include
-DEMSCRIPTEN -fignore-exceptions -o "Emscripten/Release GL/Undo.o" -DDEBUG=0
-D_VC80_UPGRADE=0x0710 -DEMSCRIPTEN -D__STDC__ -MD -MF "Emscripten/Release
GL/Undo.d" -O2 -Wno-invalid-offsetof -Wno-comment -Wno-parentheses -Wno-switch
-Wno-empty-body -Wno-address-of-temporary -Wno-constant-logical-operand
-Wno-invalid-pp-token -Wno-null-dereference -Wno-int-to-void-pointer-cast
-Wno-return-type-c-linkage -Wno-dynamic-class-memaccess -fms-extensions
-std=c++17 -IC:/Esenthel/Engine/ -IC:/Esenthel/Engine//H/_ -I../ThirdPartyLibs
-I../ThirdPartyLibs/FreeType/lib/include -I../ThirdPartyLibs/DirectX
-I../ThirdPartyLibs/Zlib -I../ThirdPartyLibs/Cg/Win
-I../ThirdPartyLibs/Opus/lib/include -I../ThirdPartyLibs/Opus/file/include
-I../ThirdPartyLibs/Ogg/include -I../ThirdPartyLibs/Theora/include
-I../ThirdPartyLibs/Vorbis/include
-I../ThirdPartyLibs/FDK-AAC/lib/libSYS/include
-I../ThirdPartyLibs/PhysX/PhysX/Include
-I../ThirdPartyLibs/PhysX/PhysX/Include/cloth
-I../ThirdPartyLibs/PhysX/PhysX/Include/common
-I../ThirdPartyLibs/PhysX/PhysX/Include/extensions
-I../ThirdPartyLibs/PhysX/PhysX/Include/geometry
-I../ThirdPartyLibs/PhysX/PhysX/Include/vehicle
-I../ThirdPartyLibs/PhysX/PhysX/Source/Common/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/GeomUtils/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXExtensions/src/serialization/Xml
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXMetaData/core/include
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXMetaData/extensions/include
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXVehicle/src
-I../ThirdPartyLibs/PhysX/PhysX/Source/PhysXVehicle/src/PhysXMetaData/include
-I../ThirdPartyLibs/PhysX/PxShared/include
-I../ThirdPartyLibs/PhysX/PxShared/src/foundation/include
-I../ThirdPartyLibs/PhysX/PxShared/src/pvd/include -I../ThirdPartyLibs/FBX
-I../ThirdPartyLibs/Bullet/lib/src
-I../ThirdPartyLibs/VP/libvpx/third_party/libwebm -x c++ Source/Edit/Undo.cpp
-Xclang -isystemD:\Progs\Emscripten\upstream\emscripten\system\include\SDL -c
-o C:\Users\esent\AppData\Local\Temp\emscripten_temp_g7lyq7bx\Undo_0.o -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr' failed (1)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

-- 
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/20200930/6def7fed/attachment-0001.html>


More information about the llvm-bugs mailing list