Bug 240322 - [MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParallel since Visual Studio 2022 v17.2.0
Summary: [MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParalle...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 192295
  Show dependency treegraph
 
Reported: 2022-05-11 16:59 PDT by Fujii Hironori
Modified: 2022-07-13 17:59 PDT (History)
2 users (show)

See Also:


Attachments
repro.cpp (1.18 KB, text/plain)
2022-05-11 18:26 PDT, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-05-11 16:59:06 PDT
[MSVC] INTERNAL COMPILER ERROR in JSC::IsoCellSet::forEachMarkedCellInParallel since Visual Studio 2022 v17.2.0

I upgraded to Visual Studio 2022 v17.2.0 today. It can't compile the latest WebKit.


[1077/5972] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\__\__\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-ee8a7a7a-1.cpp.obj
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-1.cpp.obj 
C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe  [...] -c C:\home\webkit\gb\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-ee8a7a7a-1.cpp
C:\home\webkit\gb\Source\JavaScriptCore\heap\SubspaceInlines.h(102): fatal error C1001: Internal compiler error.
(compiler file 'msc1.cpp', line 1693)
 To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com 
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
C:\home\webkit\gb\Source\JavaScriptCore\heap\Subspace.h(86): note: This diagnostic occurred in the compiler generated function 'WTF::Ref<WTF::SharedTask<void(Visitor &)>,WTF::RawPtrTraits<T>> JSC::Subspace::forEachMarkedCellInParallel(const Func &)'
        with
        [
            T=WTF::SharedTask<void(Visitor &)>
        ]
INTERNAL COMPILER ERROR in 'C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
[1078/5972] Building CXX object Source\ThirdParty\ANGLE\CMakeFiles\ANGLE.dir\src\libANGLE\renderer\d3d\d3d9\StateManager9.cpp.obj
[1079/5972] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\__\__\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-2.cpp.obj
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-2.cpp.obj 
C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe [...] -c C:\home\webkit\gb\WebKitBuild\Debug\JavaScriptCore\DerivedSources\unified-sources\UnifiedSource-f0a787a9-2.cpp
C:\home\webkit\gb\Source\JavaScriptCore\heap\IsoCellSetInlines.h(108): fatal error C1001: Internal compiler error.
(compiler file 'msc1.cpp', line 1693)
 To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com 
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
C:\home\webkit\gb\Source\JavaScriptCore\heap\IsoCellSet.h(66): note: This diagnostic occurred in the compiler generated function 'WTF::Ref<WTF::SharedTask<void(Visitor &)>,WTF::RawPtrTraits<T>> JSC::IsoCellSet::forEachMarkedCellInParallel(const Func &)'
        with
        [
            T=WTF::SharedTask<void(Visitor &)>
        ]
INTERNAL COMPILER ERROR in 'C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
Comment 1 Fujii Hironori 2022-05-11 17:04:57 PDT
Hi, April. Do you know this? Are you still compiling the latest WebKit in MSVC team?
Comment 2 Fujii Hironori 2022-05-11 18:13:39 PDT
Hi April,
This looks like same with bug#238988 comment#9.
Comment 3 Fujii Hironori 2022-05-11 18:26:37 PDT
Created attachment 459197 [details]
repro.cpp
Comment 5 Fujii Hironori 2022-05-11 19:03:02 PDT
Visual Studio 2022 17.3.0 Preview 1.0 also has this problem.
Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31424 for x64
Comment 6 April 2022-05-16 18:34:54 PDT
(In reply to Fujii Hironori from comment #1)
> Hi, April. Do you know this? Are you still compiling the latest WebKit in
> MSVC team?

We are testing the latest Webkit, and we can compile it, maybe you could report a  feedback to our team, we have dedicated developers to deal with these kinds of problems, here is the URL link to our report feedback: https://developercommunity.visualstudio.com/report?space=62&entry=problem.
Comment 7 April 2022-05-16 18:38:37 PDT
(In reply to Fujii Hironori from comment #5)
> Visual Studio 2022 17.3.0 Preview 1.0 also has this problem.
> Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31424 for x64

Yes, we are testing the latest Webkit, our team is reviewing the feedback and will track this.
Comment 8 Radar WebKit Bug Importer 2022-05-18 17:00:25 PDT
<rdar://problem/93537539>
Comment 9 Fujii Hironori 2022-07-13 17:59:10 PDT
I confirmed Visual Studio 2022 version 17.3 Preview 3 can compile WinCairo successfully.