Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
5.4.2, 5.5.0 Alpha
-
None
-
Debian SID + gcc 5 from eperimental
-
36d6eb721e7d5997ade75e289d4088dc48678d0d (qtbase/5.4.2 8.5.2015, 5.4.2)
Description
I've tried a few examples and some of them are crashing (e.g. examples/widgets/mainwindows/application).
From what I've seen it seems that (sometimes) gcc5 fails to static_cast QCoreAppication to QGuiApplication, qGuiApp macro (static_cast<QGuiApplication *>(QCoreApplication::instance())) is 0.
I realy have no idea why somethimes qGuiApp works and sometime doesn't, and I have no idea if its gcc's fault or Qt's.
I attached the full backtrace.
Attachments
Issue Links
- is required for
-
QTBUG-44881 Issues to be fixed before 5.4.2
- Closed
- replaces
-
QTBUG-45836 Segmentation fault with sendEvent()
- Closed
-
QTBUG-46647 QByteArray::isNull() doesn't work properly under CMake
- Closed
-
QTBUG-45760 Some Qt apps crashs if they are compiled with gcc5
- Closed
For Gerrit Dashboard: QTBUG-45755 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
111427,3 | configure: Change default of CFG_REDUCE_RELOCATIONS to "no". | 5.4.2 | qt/qtbase | Status: MERGED | +2 | 0 |
111787,2 | Require -fPIC instead of just -fPIE for -reduce-relocations | 5.4.2 | qt/qtbase | Status: MERGED | +2 | 0 |
111886,2 | Revert "configure: Change default of CFG_REDUCE_RELOCATIONS to "no"." | 5.4.2 | qt/qtbase | Status: MERGED | +2 | 0 |
112053,4 | Make qglobal.h complain if you use -fPIE | 5.4.2 | qt/qtbase | Status: MERGED | +2 | 0 |
112060,3 | Try to ensure that -fPIC is used in CMake builds | 5.4.2 | qt/qtbase | Status: MERGED | +2 | 0 |
112224,3 | tst_bic: Use -fPIC instead of -fPIE. | master | qt/qtqa | Status: MERGED | +2 | 0 |
112240,2 | Make QCoreApplication abort execution if it detects copy relocations | 5.5 | qt/qtbase | Status: ABANDONED | -1 | 0 |