totalcross icon indicating copy to clipboard operation
totalcross copied to clipboard

Packaged binaries crashes on startup in some of Linux distros

Open Farshid-Monhaseri opened this issue 4 years ago • 0 comments

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:

  1. Go to ${PROJECT_DIR}
  2. Run mvn package
  3. Go to the produced binary directory cd target/install/linux
  4. 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.

Farshid-Monhaseri avatar Nov 16 '20 16:11 Farshid-Monhaseri