totalcross
totalcross copied to clipboard
Packaged binaries crashes on startup in some of Linux distros
Issue Title
Packaged binaries crashes on startup in some of Linux distros.
Describe the bug
On some of Linux disteros the output binaries of Totalcross project carshes immediatly on binary (App) startup then report segmentation fault. As initial debugs, It looks like be happen on SDL initialization phase.
To Reproduce
The easies way to meet the issue is running the TotalCross app on some Fedora version like 31, 32 (maybe other Redhat distros too) but It apeared on some custom embedded linuxes (yocto builds) with x11 display server too.
Steps to reproduce the error:
- Go to ${PROJECT_DIR}
- Run
mvn package
- Go to the produced binary directory
cd target/install/linux
- run
./${APP_NAME}
Expected behavior
No crashes at all ! :))
Screenshots or videos
If applicable, add some screenshots and/or videos to help to explain your problem.
Devices:
- Device: PC, IMX6
- OS: Fedora(Redhat distros), Yocto
- OS Version: Fedora 32,31, Yocto Sumo(2.5)
- TotalCross Version: 6.1.1
Additional context
Add any other context about the problem here.