XRT icon indicating copy to clipboard operation
XRT copied to clipboard

OpenCV cascade detector causes Segmentation fault on KR260

Open Satoski-H opened this issue 3 years ago • 2 comments

Hi all, I was trying OpenCV cascade detector on KR260 and I got Segmentation fault. My environment is as follows Board : KR260 OS : Xilinx certified Ubuntu 22.04.01 LTS. OpenCV version : 4.5.4+dfsg-9ubuntu4 g++ version : 11.3.0

When I ran my program on GDB, I got this message. "" Segmentation fault. 0x0000ffffec549120 in xrt_core::get_os_info(boost::property_tree::basic_ptree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) () from /lib/libxrt_coreutil.so.2 "" It seems that XRT is running, even though I don't use any PL logic. So, my questions are :

  1. Why is XRT used on just OpenCv program?
  2. Is the Segmentation fault I got due to XRT?

I attach my program and GDB log file. opencv_cascade.zip

Any help would be greatly appreciated. Best regards,

Satoski-H avatar Oct 28 '22 06:10 Satoski-H