[Qt-interest] Qt 4.7.0 application Segmentation Fault on Mx51

Donald Carr sirspudd at gmail.com
Fri Jan 21 07:58:01 CET 2011


Hey Manoj,

What toolchain are using to compile Qt for the i.MX51?

I have deployed Qt 4.7 to that hardware without any hitches, my
primary suspicion is your toolchain.
What base system you using? (I think the standard Freescale BSP env is ALIP?)

Are you building it from scratch?

Worst case scenario you can enable a debug build of Qt and get a
better stack trace.

Please attach the qmake.conf from your mkspec

Yours sincerely,
Donald

On Thu, Jan 20, 2011 at 10:51 PM, Manoj Agrawal
<Manoj.Agrawal at maxim-ic.com> wrote:
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>



-- 
-------------------------------
 °v°  Donald Carr
/(_)\ Professional Penguin lover
 ^ ^


More information about the Qt-interest-old mailing list