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: /usr/lib/qt4/demos/declarative/calculator/ /usr/lib/qt4/demos/declarative/photoviewer/ /usr/lib/qt4/demos/declarative/rssnews/ /usr/lib/qt4/demos/declarative/twitter/ /usr/lib/qt4/demos/declarative/webbrowser/ 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): qt-demos-4.7.4-2.fc15.i686 How reproducible: 100% Steps to Reproduce: 1. Load one of the demos with qmlviewer or run it in Qt Creator 2. 3. Actual results: Expected results: Additional info:
*** 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: https://bugzilla.redhat.com/show_bug.cgi?id=749015#c1 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, %changelog * Thu Nov 03 2011 Rex Dieter <rdieter> 1:4.7.4-6 - build declarative/qml with -fno-strict-aliasing (#748936, QTBUG-19736) - build tds sql driver with -fno-strict-aliasing Build queue'd: http://koji.fedoraproject.org/koji/buildinfo?buildID=272173
qt-4.7.4-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/qt-4.7.4-6.fc15
Package qt-4.7.4-6.fc15: * 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: https://admin.fedoraproject.org/updates/FEDORA-2011-15480 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