Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
601 Discussions

Intel DCP++ Crash report - priority support

Dan78
Novice
1,106 Views

Dear Intel,

I have encountered a compiler crash and I followed all hints that the compiler gave me to collect information and report to Intel. The link that is provided is pointing to priority support but when I try to create a ticket it gives me an error and says that I am not eligible to submit tickets to get priority support. I am actually doing this to help Intel to find the bug, otherwise I can revert my latest changes so far to avoid the crash. Can anyone from Intel support be kind to help me to submit crash report to Intel?

Regards,

Dan

 

0 Kudos
17 Replies
Vipin_Singh1
Moderator
1,060 Views

Hi Danesh, Could you please share the below details with us?

 

  • Exact name of the Intel® Toolkit or Intel® Compiler with its build version.
  • Is the product installed? If not, then please share the below details:
  • Operating System with its build version.
  • Version of Microsoft Visual Studio installed along with it's build version.
  • Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on the system.
  • Is the installer an online or an offline package? 
  • Screenshot of the error. (if possible)
  • Complete Installation Log files. 
    • The default path for a log file for a oneAPI installation is: C:\Program Files (x86)\Intel\oneAPI\logs 

 

To assist you further, we would require these details.

0 Kudos
Dan78
Novice
1,054 Views

Hi Vipin,

Sure I will provide these info. Do you want me to send you here as a reply to your message or you are going to create a ticket? The error message asks to create a priority support ticket but I am not allowed to create such ticket. It seems that we need a special subscription for priority support.

Regards,

Dan

 

0 Kudos
Vipin_Singh1
Moderator
1,038 Views

Hi Danesh, we have sent you a private message. Kindly check your community inbox.

0 Kudos
Dan78
Novice
1,025 Views

Hi Vipin,

Sorry but there is no message in my inbox. You can also send me message to my email danesh.daroui@gmail.com

I hope I have not violated Intel community's rules by entering my email address in a reply.

Regards,

Danesh

 

0 Kudos
Juhi_B_Intel
Moderator
1,020 Views

@Dan78 If you do not have priority support then you cannot create a ticket, Please reply with the details Vipin requested in this thread for him to support this issue.

Also are you getting this issue during installation or while you use the compiler?

0 Kudos
Dan78
Novice
981 Views

Hi Juhi,

Sure. Here are my answers:

 

  • Exact name of the Intel® Toolkit or Intel® Compiler with its build version.

 

We use oneAPI and MKL and Intel DC++/C++ compiler. Here is the version information of the compiler we build our project:

Intel(R) oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/intel/oneapi/compiler/2024.1/bin/compiler
Configuration file: /opt/intel/oneapi/compiler/2024.1/bin/compiler/../icpx.cfg

 

  • Is the product installed? If not, then please share the below details

 

Yes it is installed.

 

  • Operating System with its build version.

 

Fedora Linux 28

 

  • Version of Microsoft Visual Studio installed along with it's build version.

 

We use vim to edit and cmake/make to build the code.

 

  • Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on the system.

 

Only oneAPI and the verison is v0.2.0-69-gd50aace5c5.

 

  • Is the installer an online or an offline package? 

 

Online and Intel repository is in use. Regular update is working well.

 

  • Screenshot of the error. (if possible)

 

Here is the crash log:

 

PLEASE append the compiler options "-save-temps -v", rebuild the application 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).
Stack dump:
0. Program arguments: /opt/intel/oneapi/compiler/2024.1/bin/compiler/clang -cc1 -triple x86_64-unknown-linux-gnu -S -save-temps=cwd -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name solver.cpp -mrelocation-model static -fveclib=SVML -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -mllvm -x86-enable-unaligned-vector-move=true -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/home/danesh/open/repos/multipeec/build -v -fcoverage-compilation-dir=/home/danesh/open/repos/multipeec/build -fclang-abi-compat=17 -resource-dir /opt/intel/oneapi/compiler/2024.1/lib/clang/18 -O3 -Wunused-variable -std=c++20 -fdeprecated-macro -ferror-limit 19 -fheinous-gnu-extensions -fopenmp-late-outline -fopenmp-threadprivate-legacy -fopenmp -fgnuc-version=4.2.1 -fno-implicit-modules -fcxx-exceptions -fexceptions -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -paropt=31 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -fintel-compatibility -fintel-libirc-allowed -mllvm -disable-hir-generate-mkl-call -mllvm -loopopt=1 -floopopt-pipeline=light -mllvm -intel-abi-compatible=true -o solver.s -x c++-cpp-output solver.ii
1. <eof> parser at end of file
2. Optimizer
#0 0x000055a199f73093 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5064093)
#1 0x000055a199f71380 llvm::sys::RunSignalHandlers() (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5062380)
#2 0x000055a199f73734 SignalHandler(int) Signals.cpp:0:0
#3 0x00007ff391d579a0 __restore_rt (/lib64/libc.so.6+0x3e9a0)
#4 0x000055a19b58fba8 (anonymous namespace)::CGVisitor::getSymbaseAlloca(unsigned int, llvm::Type*, llvm::loopopt::HLRegion*) HIRCodeGen.cpp:0:0
#5 0x000055a19b58f76f (anonymous namespace)::CGVisitor::HIRSCEVExpander::visitUnknown(llvm::SCEVUnknown const*) HIRCodeGen.cpp:0:0
#6 0x000055a19a0740f8 llvm::SCEVExpander::expandCodeFor(llvm::SCEV const*, llvm::Type*, llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void, true>, false, false>) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x51650f8)
#7 0x000055a19b59389f (anonymous namespace)::CGVisitor::getBlobValue(long, unsigned int, llvm::Type*) HIRCodeGen.cpp:0:0
#8 0x000055a19b592cb2 (anonymous namespace)::CGVisitor::visitCanonExpr(llvm::loopopt::CanonExpr*) HIRCodeGen.cpp:0:0
#9 0x000055a19b58b610 llvm::loopopt::HIRVisitor<(anonymous namespace)::CGVisitor, llvm::Value*>::visit(llvm::loopopt::HLNode*) HIRCodeGen.cpp:0:0
#10 0x000055a19b58bee4 llvm::loopopt::HIRVisitor<(anonymous namespace)::CGVisitor, llvm::Value*>::visit(llvm::loopopt::HLNode*) HIRCodeGen.cpp:0:0
#11 0x000055a19b58c583 llvm::loopopt::HIRVisitor<(anonymous namespace)::CGVisitor, llvm::Value*>::visit(llvm::loopopt::HLNode*) HIRCodeGen.cpp:0:0
#12 0x000055a19b58ae96 llvm::loopopt::HIRCodeGenPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x667be96)
#13 0x000055a19b2b5e1d llvm::detail::PassModel<llvm::Function, llvm::loopopt::HIRCodeGenPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) PassBuilder.cpp:0:0
#14 0x000055a199ab8945 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x4ba9945)
#15 0x000055a198fabd9d llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) NVPTXTargetMachine.cpp:0:0
#16 0x000055a199abf77d llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x4bb077d)
#17 0x000055a198fabb0d llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) NVPTXTargetMachine.cpp:0:0
#18 0x000055a199ab7aaa llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x4ba8aaa)
#19 0x000055a19a921e3f (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream>>&, std::__1::unique_ptr<llvm::ToolOutputFile, std::__1::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) BackendUtil.cpp:0:0
#20 0x000055a19a91d36b clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5a0e36b)
#21 0x000055a19a93249f clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5a2349f)
#22 0x000055a19bf81b0a clang::ParseAST(clang::Sema&, bool, bool) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x7072b0a)
#23 0x000055a19a935498 clang::CodeGenAction::ExecuteAction() (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5a26498)
#24 0x000055a19ac4b8ca clang::FrontendAction::Execute() (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5d3c8ca)
#25 0x000055a19abd1c29 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5cc2c29)
#26 0x000055a19acd6d5e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x5dc7d5e)
#27 0x000055a198c4d1c1 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x3d3e1c1)
#28 0x000055a198c4a0c5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#29 0x000055a198c49b61 clang_main(int, char**, llvm::ToolContext const&) (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x3d3ab61)
#30 0x000055a198c5639e main (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x3d4739e)
#31 0x00007ff391d4114a __libc_start_call_main (/lib64/libc.so.6+0x2814a)
#32 0x00007ff391d4120b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x2820b)
#33 0x000055a198c473e9 _start (/opt/intel/oneapi/compiler/2024.1/bin/compiler/clang+0x3d383e9)
icpx: error: unable to execute command: Segmentation fault (core dumped)
icpx: error: clang frontend command failed due to signal (use -v to see invocation)
Intel(R) oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/intel/oneapi/compiler/2024.1/bin/compiler
Configuration file: /opt/intel/oneapi/compiler/2024.1/bin/compiler/../icpx.cfg
icpx: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
icpx: note: diagnostic msg: /tmp/icpx-f9235ae414/solver-c25403.cpp
icpx: note: diagnostic msg: /tmp/icpx-f9235ae414/solver-c25403.sh
icpx: note: diagnostic msg:

********************
make[2]: *** [CMakeFiles/multipeec.dir/build.make:258: CMakeFiles/multipeec.dir/src/solver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/multipeec.dir/all] Error 2
make: *** [Makefile:101: all] Error 2

 

  • Complete Installation Log files. 
    • The default path for a log file for a oneAPI installation is: C:\Program Files (x86)\Intel\oneAPI\logs 

 

Trace files contain the crash log with parts of our source code and unfortunately I cannot share these info here.

Please let me know if there is any assistance that I can do.

 

Regards,

 

Danesh

 

 

0 Kudos
Vipin_Singh1
Moderator
992 Views

Hi Danesh, we have sent you a private message again. Kindly check your community inbox.

0 Kudos
Vipin_Singh1
Moderator
898 Views

Hi Danesh, thank you for sharing the required information. We would like to inform you that we are routing your query to the dedicated team for further assistance.


0 Kudos
Mahan
Moderator
819 Views

Hi Dan

Could you please tell me how are the compiling the application, or the commands and flags that you are using.

Also, does it use any intel specific libraries like oneMKL or Intel MPI?



0 Kudos
Dan78
Novice
776 Views

Hi Mahan,

I will answer your questions in the private message that Vipin had sent if that would be OK with you.

Regards,

Dan

 

0 Kudos
Mahan
Moderator
721 Views

Hi Dan,

Thanks a lot for sharing the details of the compiler and he associated flags.

Would it possible for you to share a small reproducer for the above issue?


0 Kudos
Mahan
Moderator
369 Views

Hi Dan,


Please share if you have any reproducer for this, that is crucial to triage this issue properly.


0 Kudos
Mahan
Moderator
302 Views

Hi Dan,

As there were no response, I am closing this thread.

Please feel free to open a separate thread if you face any issue.


0 Kudos
Dan78
Novice
288 Views

Hi Mahan,

I am sorry but I could not create a small program to reproduce the crash in the compiler. It was due to an OpenMP directive in our code which is disabled now. Our code is very large and complicated with lots of modules and calls to 3rd party packages so I am not sure if it is possible to reproduce the error in a small program. Please let me know if I can assist in any other way.

Regards,

Dan

 

0 Kudos
Mahan
Moderator
199 Views

Hi Dan,

Could you please let me know which OpenMP directive caused this issue.

0 Kudos
Dan78
Novice
153 Views

Hi Mahan,

I have sent the code snippet in the private chat. Please check it out there.

Regards,

Dan

 

0 Kudos
Mahan
Moderator
117 Views

Hi Dan,

This thread is closed.

Please open a new thread and share the code snippet there.

0 Kudos
Reply