[Bug 705689] Re: Qt applications crash with segfault error on armel when Qt is built with gcc 4.5 on natty

Jammy Zhou 705689 at bugs.launchpad.net
Tue Mar 1 07:25:27 UTC 2011


I think I met a similar problem as mentioned in this thread. 
What I do:
- use linaro image with toolchain Ubuntu/Linaro 4.5.2-3ubuntu2 on imx51
- apply the IT patch, and build latest mainline qt locally on imx51 with gles2 enabled ("-opengl es2")
- when run qtdemo and some other qt examples, segfault happens (not all qt application crashed, such as hellogl_es2)

But after I replace some qt libraries with debug version (libQtCore,
libQtGui, libQtNetwork and libQtScript), the crash disappeared. So I
compared the release version and debug version libraries, it seems that
there is unpredictable branch in the IT block for release version, but
debug version doesn't have that, which is quite strange for me. Take
libQtScript for example:

For release version:
root at localhost:/mnt/qt-kde# objdump -d libQtScript.so.4.8.0 |grep unpredictable
   c6cfc:	4770      	bxle	lr	; unpredictable branch in IT block
   cf608:	bf48      	it	mi	; unpredictable <IT:hi>

For debug version: (with "-debug" configure option when build qt)
root at localhost:/mnt/qt-kde/build/lib# objdump -d libQtScript.so.4.8.0 |grep unpredictable
root at localhost:/mnt/qt-kde/build/lib#

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in ubuntu.
https://bugs.launchpad.net/bugs/705689

Title:
  Qt applications crash with segfault error on armel when Qt is built
  with gcc 4.5 on natty




More information about the kubuntu-bugs mailing list