Qt libc.so.6 SIGSEGV (Toradex Easy Instaler - Qt 5.14 Image)

I have some troubles with Qt Image installed by Toradex Easy Installer (Qt 5.14). The Demo application preinstalled in image working perfectly (no crashes on startup or runtime) but when i try to run our own application or even Qt Demos like qmlsurfacelayers etc. its always crash with SIGSEGV on libc.so.6 (trace log below). I try to build image and SDK by my own and its started and working but with the same problems preinstalled apps works, cross compiled ones - no. Could you help me with finding solution or i have to ask Qt Support about it?

Its looks like something went wrong on GPU driver level but I`am not sure.

Application works on Desktop and other SOMs.

Trace log (application name and source file location hidden):

Thread 1 "App-Name" received signal SIGSEGV, Segmentation fault.
0x0000ffffbd6b5888 in ?? () from /lib/libc.so.6
(gdb) bt full
#0  0x0000ffffbd6b5888 in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0x0000ffffba138c10 in gbm_viv_bo_write (_bo=<optimized out>, buf=<optimized out>, count=<optimized out>)
    at /usr/src/debug/gpu-viv-wl/git-r0/git/driver/driver/gbm/backends/viv/gbm_viv.c:327
        bo = <optimized out>
#2  0x0000ffffb9f40a80 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
No symbol table info available.
#3  0x0000ffffb9f41810 in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
No symbol table info available.
#4  0x0000ffffb9f3dbcc in ?? () from /usr/lib/plugins/egldeviceintegrations/libqeglfs-kms-integration.so
No symbol table info available.
#5  0x0000ffffb9ee1010 in ?? () from /usr/lib/libQt5EglFsKmsSupport.so.5
No symbol table info available.
#6  0x0000ffffb9ee20bc in ?? () from /usr/lib/libQt5EglFsKmsSupport.so.5
No symbol table info available.
#7  0x0000ffffba429c38 in QEglFSIntegration::initialize() () from /usr/lib/libQt5EglFSDeviceIntegration.so.5
No symbol table info available.
#8  0x0000ffffbe5a7454 in QGuiApplicationPrivate::eventDispatcherReady() () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#9  0x0000ffffbdca4574 in QCoreApplicationPrivate::init() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#10 0x0000ffffbe5a979c in QGuiApplicationPrivate::init() () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#11 0x0000ffffbebe6ef4 in QApplicationPrivate::init() () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#12 0x0000aaaaaaadf474 in NSApplication::Application::exec (this=0xaaaaaad78040 <NSApplication::Application::getInstance()::instance>, argc=<optimized out>, argv=0xfffffffffbf8)
    at ../app-name/src/application.cpp:76
        fwid = <optimized out>
        rfid = <optimized out>
        fwlid = <optimized out>
        __PRETTY_FUNCTION__ = "int NSApplication::Application::exec(int, char**)"
#13 0x0000aaaaaaace4ac in main (argc=1, argv=0xfffffffffbf8) at ../app-name/src/main.cpp:14
        __PRETTY_FUNCTION__ = "int main(int, char**)"

HI @Xamix and Welcome to the Toradex Community!

Could you provide the version of the hardware (including carrier board) and software of your module?

Which SDK did you use to crosscompile your application for the module?

Best regards,
Jaski

SoM version: Apalis iMX8QP 2GB WB v1.0B
Board version: Ixora v1.1B
SDK version: Qt5.14.0 built from sources (Linux x64).
Image on board: Boot2Qt (Qt v5.14.0) installed from Toradex easy installer. (I checked Qt libraries).

I notice that application is not crashing when board is restarted (when appcontroller starts it on boot) but it crashes when I relaunch it (stop and start app again).
It cant use too much memory (because I try to avoid runtime memory allocations, only in some parts it cannot be avoided, and used memory are easily predictable (after start it’s about 100 Mb and the maximum (when running) is 150 Mb, commonly 110-115 Mb)), available board memory is 2 Gb, average use is 420 Mb (Linux itself + application).

Could it be a result of some mismatch in environment variables set during boot-time and runtime?

P.S. I start (and restart) application via Qt application controller (appcontroller) only and Qt Creator itself.

Hi @Xamix

Sorry for the delayed answer. Could you share the memory consumption before and during the QT application is running?

Could it be a result of some mismatch in environment variables set during boot-time and runtime?

Did you check if the environment variables are changed?
I would also check if there is any background task running which you should stop before launching the application again.

Best regards,
Jaski