Red Hat Bugzilla – Bug 748936
QML demos (and most other things using QtDeclarative) are crashing
Last modified: 2013-10-04 08:31:31 EDT
Description of problem:
I'm trying to run QML demos from qt-demos in /usr/lib/qt4/demos/declarative/
Some of them run but many fail with segmentation fault.
The demos which fail:
Most crash during initialization.
photoviewer crashes a few seconds after showing main window.
twitter crashes when "search" button is pressed
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Load one of the demos with qmlviewer or run it in Qt Creator
*** Bug 749015 has been marked as a duplicate of this bug. ***
Fwiw, all those referenced demos are ok on my f14/x86_64 box.
Created attachment 530276 [details]
Qt Creator backtrace by Slawomir Czarko
I extracted the backtrace of the relevant thread from:
I can reproduce the crash in the calculator demo (not tested the others nor Qt Creator yet) with qt-x11-4.7.4-2.fc15.i686. The backtrace appears to match the Qt Creator one, but I haven't installed qt-x11-debuginfo yet, so there's a lot of information missing, and so I can't tell for sure.
Hit the same issue and I can confirm it's ok within Qt SDK (upstream Qt build) so it has to be something in our packaging or g++/whatever issue.
KAN EYE HAZ VALGRIND LOGZ PLZ LOL??????????!!!!!!!!?????????????
[insert picture of cute kitten here]
According to upstream's bug report (one of duplicates), -O2 -fno-strict-aliasing is working workaround.
Right, according to the upstream tracker, this is an aliasing issue.
Found a couple of aliasing problems, once we looked closer,
* Thu Nov 03 2011 Rex Dieter <firstname.lastname@example.org> 1:4.7.4-6
- build declarative/qml with -fno-strict-aliasing (#748936, QTBUG-19736)
- build tds sql driver with -fno-strict-aliasing
qt-4.7.4-6.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qt-4.7.4-6.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
qt-4.7.4-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Removing external tracker bug with the id '18906' as it is not valid for this tracker
Removing external tracker bug with the id '19736' as it is not valid for this tracker