intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.25k stars 738 forks source link

icpx Compiler Frontend Crashes (2024.03.14.) #13031

Open krasznaa opened 8 months ago

krasznaa commented 8 months ago

Describe the bug

While compiling a specific source file, I made icpx (from oneAPI 2024.0.1) crash. Using clang++ from the same oneAPI installation instead, allowed the compilation to succeed. :thinking:

The project producing the issue is: https://github.com/acts-project/detray

The issue happens while building this source file: https://github.com/acts-project/detray/blob/main/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp

While it is a "CUDA related" file in our project, it doesn't even include any of the CUDA headers itself. :thinking: The crash produced the following output:

[build] [114/1234   7% :: 14.559] Building CXX object tests/benchmarks/cuda/CMakeFiles/detray_benchmark_cuda_array.dir/benchmark_propagator_cuda.cpp.o
[build] FAILED: tests/benchmarks/cuda/CMakeFiles/detray_benchmark_cuda_array.dir/benchmark_propagator_cuda.cpp.o 
[build] /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/icpx -DCOVFIE_QUIET -DDETRAY_ALGEBRA_ARRAY -DDETRAY_CUSTOM_SCALARTYPE=double -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DVECMEM_DEBUG_MSG_LVL=0 -DVECMEM_HAVE_PMR_MEMORY_RESOURCE -DVECMEM_HAVE_SYCL_ATOMIC_REF -DVECMEM_SOURCE_DIR_LENGTH=44 -DVECMEM_SYCL_PRINTF_FUNCTION=cl::sycl::ext::oneapi::experimental::printf -Darray=array -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/benchmark-src/include -I/home/krasznaa/ATLAS/projects/detray/detray/core/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/core/CMakeFiles -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/vecmem-build/core/CMakeFiles -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/vecmem-src/core/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/thrust-src/dependencies/cub -I/home/krasznaa/ATLAS/projects/detray/detray/tests/include -I/home/krasznaa/ATLAS/projects/detray/detray/plugins/algebra/array/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/algebraplugins-src/frontend/array_cmath/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/algebraplugins-src/common/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/algebraplugins-src/storage/array/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/algebraplugins-src/math/cmath/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/algebraplugins-src/math/common/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/vecmem-build/cuda/CMakeFiles -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/vecmem-src/cuda/include -I/home/krasznaa/ATLAS/projects/detray/detray/utils/include -I/home/krasznaa/ATLAS/projects/detray/detray/io/include -I/home/krasznaa/ATLAS/projects/detray/detray/build/_deps/nlohmann_json-src/include -isystem /home/krasznaa/ATLAS/projects/detray/detray/build/_deps/covfie-src/lib/core -isystem /home/krasznaa/ATLAS/projects/detray/detray/build/_deps/thrust-src -fhonor-infinities -Wall -Wextra -Wshadow -Wunused-local-typedefs -O2 -g -DNDEBUG -std=c++17 -fiopenmp -MD -MT tests/benchmarks/cuda/CMakeFiles/detray_benchmark_cuda_array.dir/benchmark_propagator_cuda.cpp.o -MF tests/benchmarks/cuda/CMakeFiles/detray_benchmark_cuda_array.dir/benchmark_propagator_cuda.cpp.o.d -o tests/benchmarks/cuda/CMakeFiles/detray_benchmark_cuda_array.dir/benchmark_propagator_cuda.cpp.o -c /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp
[build] PLEASE append the compiler options "-save-temps -v", rebuild the application to to get the full command which is failing and submit a bug report to https://software.intel.com/en-us/support/priority-support which includes the failing command, input files for the command and the crash backtrace (if any).
[build] Stack dump:
[build] 0.  Program arguments: /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang++ @/tmp/icpx12366298432tR9rn/icpxarguszDnv
[build] 1.  /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp:85:67: current parser token ')'
[build] 2.  /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp:46:56: parsing function body 'BM_PROPAGATOR_CPU'
[build] 3.  /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp:46:56: in compound statement ('{}')
[build] 4.  /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp:60:26: in compound statement ('{}')
[build] 5.  /home/krasznaa/ATLAS/projects/detray/detray/tests/benchmarks/cuda/benchmark_propagator_cuda.cpp:75:36: in compound statement ('{}')
[build]  #0 0x000061acebd5c773 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5144773)
[build]  #1 0x000061acebd5ac60 llvm::sys::RunSignalHandlers() (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5142c60)
[build]  #2 0x000061acebd5bbef llvm::sys::CleanupOnSignal(unsigned long) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5143bef)
[build]  #3 0x000061acebcf0e65 (anonymous namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) CrashRecoveryContext.cpp:0:0
[build]  #4 0x000061acebcf10a9 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
[build]  #5 0x00007bd0f4a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
[build]  #6 0x000061acee27386d getCanonicalDecl(clang::ValueDecl const*) SemaOpenMP.cpp:0:0
[build]  #7 0x000061acee271086 (anonymous namespace)::DSAStackTy::hasDSA(clang::ValueDecl*, llvm::function_ref<bool (llvm::omp::Clause, bool, (anonymous namespace)::DefaultDataSharingAttributes)>, llvm::function_ref<bool (llvm::omp::Directive)>, bool) const SemaOpenMP.cpp:0:0
[build]  #8 0x000061acee272e6a clang::Sema::isOpenMPPrivateDecl(clang::ValueDecl*, unsigned int, unsigned int) const (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x765ae6a)
[build]  #9 0x000061acee084725 clang::Sema::BuildDeclarationNameExpr(clang::CXXScopeSpec const&, clang::DeclarationNameInfo const&, clang::NamedDecl*, clang::NamedDecl*, clang::TemplateArgumentListInfo const*, bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x746c725)
[build] #10 0x000061acee0719c2 clang::Sema::ActOnIdExpression(clang::Scope*, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool, clang::CorrectionCandidateCallback*, bool, clang::Token*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x74599c2)
[build] #11 0x000061acedcb9ed7 clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70a1ed7)
[build] #12 0x000061acedcc284e clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70aa84e)
[build] #13 0x000061acedcf93c0 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70e13c0)
[build] #14 0x000061acedcf70c3 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70df0c3)
[build] #15 0x000061acedcf6603 clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70de603)
[build] #16 0x000061acedcf6072 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70de072)
[build] #17 0x000061acedd17750 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff750)
[build] #18 0x000061acedd1dfff clang::Parser::ParseCompoundStatementBody(bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7105fff)
[build] #19 0x000061acedd177d6 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff7d6)
[build] #20 0x000061acedd17152 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff152)
[build] #21 0x000061acedd1b8a1 clang::Parser::ParseForStatement(clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x71038a1)
[build] #22 0x000061acedd17839 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff839)
[build] #23 0x000061acedd17152 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff152)
[build] #24 0x000061acedd16ff4 clang::Parser::ParseStatement(clang::SourceLocation*, clang::Parser::ParsedStmtContext) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70feff4)
[build] #25 0x000061acedd30285 clang::Parser::ParseOpenMPDeclarativeOrExecutableDirective(clang::Parser::ParsedStmtContext, bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7118285)
[build] #26 0x000061acedd18288 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7100288)
[build] #27 0x000061acedd1dfff clang::Parser::ParseCompoundStatementBody(bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7105fff)
[build] #28 0x000061acedd177d6 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff7d6)
[build] #29 0x000061acedd17152 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff152)
[build] #30 0x000061acedd1b8a1 clang::Parser::ParseForStatement(clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x71038a1)
[build] #31 0x000061acedd17839 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ff839)
[build] #32 0x000061acedd1dfff clang::Parser::ParseCompoundStatementBody(bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7105fff)
[build] #33 0x000061acedd1f681 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7107681)
[build] #34 0x000061acedc9dc4a clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7085c4a)
[build] #35 0x000061acedd45ac6 clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x712dac6)
[build] #36 0x000061acedd44833 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x712c833)
[build] #37 0x000061acedd4400e clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x712c00e)
[build] #38 0x000061acedcf5ec0 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70ddec0)
[build] #39 0x000061acedc9b747 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x7083747)
[build] #40 0x000061acedc9a5c3 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x70825c3)
[build] #41 0x000061acedc9621f clang::ParseAST(clang::Sema&, bool, bool) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x707e21f)
[build] #42 0x000061acecb37fe8 clang::CodeGenAction::ExecuteAction() (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5f1ffe8)
[build] #43 0x000061acecaa97ba clang::FrontendAction::Execute() (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5e917ba)
[build] #44 0x000061aceca38112 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5e20112)
[build] #45 0x000061acecb3497f clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5f1c97f)
[build] #46 0x000061aceaad4431 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x3ebc431)
[build] #47 0x000061aceaad0753 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
[build] #48 0x000061acec926459 void llvm::function_ref<void()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) Job.cpp:0:0
[build] #49 0x000061acebcf0dfe llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x50d8dfe)
[build] #50 0x000061acec925539 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5d0d539)
[build] #51 0x000061acec8c78f0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5caf8f0)
[build] #52 0x000061acec8c7d62 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5cafd62)
[build] #53 0x000061acec8eb32c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x5cd332c)
[build] #54 0x000061aceaacea05 clang_main(int, char**, llvm::ToolContext const&) (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x3eb6a05)
[build] #55 0x000061aceaadddde main (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x3ec5dde)
[build] #56 0x00007bd0f4a29d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
[build] #57 0x00007bd0f4a29e40 call_init ./csu/../csu/libc-start.c:128:20
[build] #58 0x00007bd0f4a29e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
[build] #59 0x000061aceaacd5a9 _start (/home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/clang+++0x3eb55a9)
[build] icpx: error: clang frontend command failed with exit code 139 (use -v to see invocation)
[build] Intel(R) oneAPI DPC++/C++ Compiler 2024.0.2 (2024.0.2.20231213)
[build] Target: x86_64-unknown-linux-gnu
[build] Thread model: posix
[build] InstalledDir: /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler
[build] Configuration file: /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/../icpx.cfg
[build] icpx: note: diagnostic msg: 
[build] ********************
[build] 
[build] PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
[build] Preprocessed source(s) and associated run script(s) are located at:
[build] icpx: note: diagnostic msg: /tmp/icpx-b76c009e18/benchmark_propagator_cuda-b1b2db.cpp
[build] icpx: note: diagnostic msg: /tmp/icpx-b76c009e18/benchmark_propagator_cuda-b1b2db.sh
[build] icpx: note: diagnostic msg: 
[build] 
[build] ********************

To reproduce

I've put the two files generated by the above described crash, here:

Environment

Intel(R) oneAPI DPC++/C++ Compiler 2024.0.2 (2024.0.2.20231213)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler
Configuration file: /home/krasznaa/software/intel/oneapi-2024.0.1/compiler/2024.0/bin/compiler/../icpx.cfg
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64

Additional context

At first I thought that this may be related to #13010, but it's probably not. :thinking: Hence the separate issue.

bader commented 8 months ago

PLEASE append the compiler options "-save-temps -v", rebuild the application to to get the full command which is failing and submit a bug report to https://software.intel.com/en-us/support/priority-support which includes the failing command, input files for the command and the crash backtrace (if any).

@krasznaa, I would recommend using intel forum to report bugs which can be reproduced with the open source version of DPC++ compiler. NOTE: This repository doesn't have icpx driver, so we can't address it here.

Intel Forums are monitored by a dedicated support team, which will help with reporting the bug to the right team.

krasznaa commented 8 months ago

Hi Alexey,

I tried. For the Nth time already. But that link just takes me to "priority support". Which I don't currently have. Which makes me always very surprised that apparently only paying customers are encouraged to open bug reports.

To clarify, by "Intel forum" did you mean https://community.intel.com? Unfortunately with a quick look on https://community.intel.com/t5/Intel-C-Compiler/bd-p/c-compiler I only see the "simple support questions" getting much attention. The more technical threads seem to be all unanswered. :frowning:

Let me tag @ivorobts here. Once he comes back from his holidays, hopefully he'll be able to advise on how I should best report such issues in the future... :thinking:

Best, Attila

ashadrina commented 8 months ago

Hi @bader @krasznaa, as a support engineer, I will create a ticket and we will continue working via email \ support portal.

bader commented 8 months ago

@ashadrina, thank you!