[Qt-interest] Qt 4.7.0 application Segmentation Fault on Mx51
Manoj Agrawal
Manoj.Agrawal at maxim-ic.com
Fri Jan 21 08:12:33 CET 2011
Hi Donald,
I am building Qt in debug_and_release mode using Linux_2.6.31_SDK1.7 version from mx51 bsp.
I did not get what do you mean by "building it from scratch?" I am extracting sources and then only building it.
Please find attached g++.conf.patch and qmake.conf.patch, I am applying to this build.
Thanks and Regards,
Manoj
-----Original Message-----
From: Donald Carr [mailto:sirspudd at gmail.com]
Sent: Friday, January 21, 2011 12:28 PM
To: Manoj Agrawal
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Qt 4.7.0 application Segmentation Fault on Mx51
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
^ ^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g++.conf.patch
Type: application/octet-stream
Size: 1327 bytes
Desc: g++.conf.patch
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110121/41fd1361/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmake.conf.patch
Type: application/octet-stream
Size: 2088 bytes
Desc: qmake.conf.patch
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110121/41fd1361/attachment-0001.obj
More information about the Qt-interest-old
mailing list