TotalCross / TotalCross/totalcross
Segmentation Fault when trying to run linux_arm64 on IMX8QXP module
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 227
- Forks
- 42
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
Describe the bug
From the embedded samples I compiled the simplie HelloWorld application for linux_arm64. When I execute the binary on a IMX8QXP module I get the following message:
Testing video drivers...
SDL_VIDEODRIVER available: x11 wayland dummy
SDL_VIDEODRIVER selected : x11
SDL_DisplayMode #0: current display mode is 800x480x0
SDL_RENDER_DRIVER available: opengl opengles2 software
SDL_RENDER_DRIVER selected : software
SDL_PIXEL_FORMAT: SDL_PIXELFORMAT_RGB888
Segmentation fault
Devices:
Please complete the following information:
- System OS -> Custom Yocto Linux
- TotalCross Version: 7.10
- TotalCross backend: [e.g. TotalCross binary
- Architecture: ARM64
- Device description: Colibri Evaluation Board + IMX8QXP Module
To Reproduce
- Download the HelloWorld Embedded Sample.
- Compile the for linux_arm64
- scp linux_arm64 folder to IMX8QXP
- Navigate to the scp location from previous step and execute ./HelloWorld
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.
Research direction
Start by reproducing the HelloWorld Embedded Sample on the stated Colibri Evaluation Board with the IMX8QXP module, using the ./HelloWorld entry point. Check the reported video-driver, display-mode, render-driver, and pixel-format output before the segmentation fault. Done means the linux_arm64 HelloWorld binary runs without crashing on this device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, linux
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100