cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
benedetto73
Adventurer
Adventurer
625 Views
Registered: ‎09-30-2019

segfault in xcl::get_xil_devices()

Jump to solution

I have been running this kernel for many many times.
Unexpectedly, yesterday it started crashing during Emulation-SW in xcl::get_xil_devices();

I tried uninstalling and re-installing both XRT and Alveo platforms, with no luck.

I also tried following these steps, with no luck: https://www.xilinx.com/support/answers/72130.html

I am using Alveo U280 with Vitis 
Xilinx Vitis IDE v2019.2 (64-bit)
SW Build 2708876 on Wed Nov 6 21:40:25 MST 2019

 

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff716c0dd in ?? () from /lib/x86_64-linux-gnu/libc.so.6

 

Thread #1 [sortMW] 7096 [core: 1] (Suspended : Signal : SIGSEGV:Segmentation fault)
0x7ffff716bddb
malloc() at 0x7ffff716e0fc
operator new() at 0x7ffff7771258
appdebug::clGetCmdQueues() at appdebug.cpp:885 0x7fffb5d5e03a
<function called from gdb>() at 0x7fffffffb51f
0x7ffff716c0dd
calloc() at 0x7ffff71710b1
0x7ffff7ddfcfa
0x7ffff7de01ef
0x7ffff7de1af9
0x7ffff7dea0bd
_dl_catch_exception() at 0x7ffff723e2df
0x7ffff7de97ca
0x7ffff6c81f96
_dl_catch_exception() at 0x7ffff723e2df
_dl_catch_error() at 0x7ffff723e36f
0x7ffff6c82735
dlopen() at 0x7ffff6c82051
(anonymous namespace)::createHalDevices(std::vector<std::unique_ptr<xrt::hal::device, std::default_delete<xrt::hal::device> >, std::allocator<std::unique_ptr<xrt::hal::device, std::default_delete<xrt::hal::device> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) [clone .constprop.56] at 0x7ffff7b75032
xrt::hal::loadDevices() at 0x7ffff7b76664
std::vector<xrt::device, std::allocator<std::vector> > xrt::loadDevices<xrt::loadDevices()::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}> at 0x7ffff7b559c2
xocl::platform::platform() at 0x7ffff7b53839
xocl::platform::get_shared_platform() at 0x7ffff7b54169
xocl::get_shared_platform() at 0x7ffff7b5447d
xdp::RTSingleton::RTSingleton() at 0x7fffb5df3c0a
xdp::RTSingleton::Instance() at 0x7fffb5df3e3c
initXDPLib() at 0x7fffb60681c6
xrt::hal::load_xdp()::xdp_once_loader::xdp_once_loader() [clone .isra.49] at 0x7ffff7b74a1a
xrt::hal::load_xdp() at 0x7ffff7b74fcd
xocl::profile::function_call_logger::function_call_logger() at 0x7ffff7b1f272
clGetPlatformIDs() at 0x7ffff7af099b
cl::Platform::get() at cl2.hpp:2,475 0x555555557a78
xcl::get_devices() at xcl2.cpp:40 0x555555556b8b
xcl::get_xil_devices() at xcl2.cpp:64 0x555555556e94
main() at host.cpp:170 0x55555555caa9

0 Kudos
Reply
1 Solution

Accepted Solutions
benedetto73
Adventurer
Adventurer
598 Views
Registered: ‎09-30-2019

Simple and horrendous buffer overrun on my crappy code.

 

View solution in original post

0 Kudos
Reply
2 Replies
benedetto73
Adventurer
Adventurer
599 Views
Registered: ‎09-30-2019

Simple and horrendous buffer overrun on my crappy code.

 

View solution in original post

0 Kudos
Reply
oscarkramer
Visitor
Visitor
258 Views
Registered: ‎04-28-2020

Is there a real solution to this?

0 Kudos
Reply