[Qt-interest] Qt 4.7.0 application Segmentation Fault on Mx51
Manoj Agrawal
Manoj.Agrawal at maxim-ic.com
Fri Jan 21 07:51:18 CET 2011
Hello,
I recently upgraded to Qt 4.7.0 from Qt 4.5.3 due to a specific keyboard event issue (I don't get Qt::Key_Enter release) on Mx51. Keyboard event issue got resolved but I got into segmentation fault in libqjpeg.so. My application runs and works fine but crashes at some points with following core dump:
Program terminated with signal 11, Segmentation fault.
#0 0x2ef87958 in ?? ()
from /root/release_mx51_project/plugins/imageformats/libqjpeg.so
I did some google and found that people have faced similar segmentation faults and resolved using -no-freetype in configuration options. But looks like, my problem is different as it is crashing in jpeg plug-in.
I am using following configuration options
CONFIG_OPTS=-v -confirm-license \
-opensource \
-debug-and-release \
-embedded arm \
-platform /qws/linux-x86-g++ \
-xplatform /qws/linux-arm-gnueabi-g++ \
-little-endian \
-openssl \
-qt-gfx-linuxfb \
-qt-zlib \
-qt-libjpeg \
-qt-gif \
-qt-libtiff \
-qt-libpng \
-qt-libmng \
-fast \
-no-dbus \
-no-javascript-jit \
-no-largefile \
-qt-sql-sqlite \
-no-qt3support \
-no-webkit \
-no-cups \
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-svg \
-no-scripttools \
-nomake examples \
-nomake demos \
-nomake docs \
-L$(PROJECT_ROOT)/dist/opt/freescale/bsp/mx51/L2.6.31_10.05.02_ER_source/rootfs/usr/lib \
-I$(PROJECT_ROOT)/dist/opt/freescale/bsp/mx51/Linux_2.6.31_SDK1.7/rootfs/usr/include \
-I$(PROJECT_ROOT)/dist/opt/freescale/bsp/mx51/Linux_2.6.31_SDK1.7/rootfs/usr/include/openssl
Any pointers on this will be great help. Please let me know if I should also supply g++ and qmake patches, I am applying for this build.
Thanks and Regards,
Manoj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110121/06827465/attachment.html
More information about the Qt-interest-old
mailing list