Skip to content

Segmentation Fault When Running YUV2RGBSample on KV260 (Ubuntu 20.04.6 LTS) #10

@ytl0623

Description

@ytl0623

Environment:

  • Hardware: Xilinx Kria KV260 Starter Kit development board
  • OS: Ubuntu 20.04.6 LTS
  • SDK: SDKOpenGLES (based on the project path)

Steps to Reproduce:

  1. Run source run_exports.sh to set up the environment.

export MALI_LIBS=/usr/lib
export MALI_INCLUDE=/usr/include
export ARM_CROSS_COMPILER_PATH=/usr/bin/aarch64-linux-gnu-g++
export ARM_CROSS_COMPILER_PATH_C=/usr/bin/aarch64-linux-gnu-gcc
#export CXXFLAGS=-DENABLE_FBDEV

  1. Run make all to build the project.
  2. Change directory: cd YUV2RGBSample/
  3. Execute the sample: sudo ./YUV2RGBSample
  4. Show error message:

ubuntu@kria:~/SDKOpenGLES/YUV2RGBSample$ ./YUV2RGBSample
Segmentation fault (core dumped)

The YUV2RGB conversion sample should run successfully and display the output without crashing. Any guidance on debugging or fixes would be appreciated! Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions