Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV in hardware emulation mode on Alveo u50 card #8477

Open
tishden opened this issue Oct 1, 2024 · 0 comments
Open

SIGSEGV in hardware emulation mode on Alveo u50 card #8477

tishden opened this issue Oct 1, 2024 · 0 comments

Comments

@tishden
Copy link

tishden commented Oct 1, 2024

Hello,

Getting SIGSEGV when trying to run an application in hardware emulation mode for Alveo u50 card from Vitis 2024.1.2 on Almalinux 9.1

Code sample from https://github.com/Xilinx/Vitis_Accel_Examples/tree/main/host_xrt/host_memory_simple_xrt

Running executable
Open the device0
Load the xclbin /home/denis/alveo_sample/vadd/build/hw_emu/hw_link/binary_container_1.xclbin
[New LWP 4916]
INFO: [HW-EMU 05] Path of the simulation directory : /home/denis/alveo_sample/vadd_host/build/.run/4907/hw_emu/device0/binary_0/behav_waveform/xsim
[New LWP 4976]
[New LWP 4977]
INFO: [HW-EMU 01] Hardware emulation runs simulation underneath. Using a large data set will result in long simulation times. It is recommended that a small dataset is used for faster execution. The flow uses approximate models for Global memories and interconnect and hence the performance data generated is approximate.
[New LWP 4980]
Thread 
1 "vadd_host" received signal SIGSEGV, Segmentation fault.
0x00007ffff764eb40 in xdp::PLDeviceIntf::getNumMonitors(xdp::MonitorType) () from /opt/xilinx/xrt/lib/xrt/module/../../libxdp_core.so.2

#0  0x00007ffff764eb40 in xdp::PLDeviceIntf::getNumMonitors(xdp::MonitorType) () from /opt/xilinx/xrt/lib/xrt/module/../../libxdp_core.so.2
#1  0x00007ffff7067fbe in xdp::PLDeviceOffloadPlugin::configureDataflow(unsigned long, xdp::PLDeviceIntf*) () from /opt/xilinx/xrt/lib/xrt/module/libxdp_hw_emu_device_offload_plugin.so
#2  0x00007ffff706c2d7 in xdp::HWEmuDeviceOffloadPlugin::updateDevice(void*) () from /opt/xilinx/xrt/lib/xrt/module/libxdp_hw_emu_device_offload_plugin.so
#3  0x00007ffff74a7712 in xdp::hw_emu::update_device(void*) () from /opt/xilinx/xrt/lib/libxrt_hwemu.so.2
#4  0x00007ffff749a532 in xclLoadXclBin () from /opt/xilinx/xrt/lib/libxrt_hwemu.so.2
#5  0x00007ffff7495a7c in xrt_core::shim::load_axlf(axlf const*) () from /opt/xilinx/xrt/lib/libxrt_hwemu.so.2
#6  0x00007ffff7b01884 in xrt_core::device::load_xclbin(xrt::xclbin const&) () from /opt/xilinx/xrt/lib/libxrt_coreutil.so.2
#7  0x00007ffff7bc3b21 in xrt::device::load_xclbin(std::__cxx11::basic_string, std::allocator > const&) () from /opt/xilinx/xrt/lib/libxrt_coreutil.so.2
#8  0x0000000000402430 in main (argc=2, argv=0x7fffffffd378) at /home/denis/alveo_sample/vadd_host/vadd.cpp:42
xilinx-cmc-u50.noarch                            1.0.40-3398385                   @@commandline
xilinx-sc-fw-u50.noarch                          5.2.20-1.6d4a0da                 @@commandline
xilinx-u50-gen3x16-xdma-base.noarch              5-3499627                        @@commandline
xilinx-u50-gen3x16-xdma-validate.noarch          5-3499627                        @@commandline
xrt.x86_64                                       2.18.0-1                         @@commandline

uname -r
5.14.0-162.6.1.el9_1.x86_64

cat /etc/os-release 
NAME="AlmaLinux"
VERSION="9.1 (Lime Lynx)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.1 (Lime Lynx)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.1"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.1"

vitis --version
****** Vitis Development Environment
****** Vitis v2024.1.2 (64-bit)
  **** SW Build 5096458 on 2024-09-05-07:07:11
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant