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**)"