[Openmp-commits] [openmp] [Libomptarget] Rework Record & Replay to be a plugin member (#88928) (PR #89097)

Jan Patrick Lehr via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 17 12:56:11 PDT 2024


jplehr wrote:

I ran the tests locally and the segmentation fault reproduces. I randomly picked the `complex_reduction.cpp` test case to run in isolation and it appears to be a segmentation fault in the `deinit`. For reference: This machine has no CUDA installed, in case that makes a difference.

```
Thread 1 "complex_reducti" received signal SIGSEGV, Segmentation fault.
0x00007ffff103ebf9 in llvm::omp::target::plugin::GenericPluginTy::deinit() () from /path/bot-tester-builds/openmp/./lib/libomptarget.rtl.cuda.so
(gdb) bt
#0  0x00007ffff103ebf9 in llvm::omp::target::plugin::GenericPluginTy::deinit() () from /path/bot-tester-builds/openmp/./lib/libomptarget.rtl.cuda.so
#1  0x00007ffff1047982 in llvm::omp::target::plugin::PluginTy::deinit() () from /path/bot-tester-builds/openmp/./lib/libomptarget.rtl.cuda.so
#2  0x00007ffff104780d in llvm::omp::target::plugin::PluginTy::~PluginTy() () from /path/bot-tester-builds/openmp/./lib/libomptarget.rtl.cuda.so
```

https://github.com/llvm/llvm-project/pull/89097


More information about the Openmp-commits mailing list