OpenCV cascade detector causes Segmentation fault on KR260
@chvamshi-xilinx is already working on this.
Since Nov 17, 2022.
- Dominant language
- C++
- Stars
- 686
- Forks
- 549
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 70
Description
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 :
- Why is XRT used on just OpenCv program?
- 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,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.