Crash when having multiple QQuickViews in a row
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Critical
|
Zsombor Egri |
Bug Description
This crash has started with Qt 5.5.1 that is more strict with sharing objects between qml engines.
My guess it is something wrong with the theming engine that seems to be a singleton for all qml engines.
When running the example that i will attach with
QV4_FORCE_
in xenial i get
$ QV4_FORCE_
A
B
QMetaProperty:
QMetaProperty:
QMetaProperty:
Segmentation fault
while vivid+overlay (has qt 5.4) gets me
A
B
C
the backtrace of the crash in Xenial is http://
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 937 lines (+285/-147)16 files modifiedsrc/Ubuntu/Components/plugin/plugin.cpp (+4/-7)
src/Ubuntu/Components/plugin/ucbottomedge.cpp (+2/-2)
src/Ubuntu/Components/plugin/ucdeprecatedtheme.cpp (+29/-16)
src/Ubuntu/Components/plugin/ucdeprecatedtheme.h (+5/-7)
src/Ubuntu/Components/plugin/uclabel.cpp (+6/-3)
src/Ubuntu/Components/plugin/uclistitem.cpp (+11/-4)
src/Ubuntu/Components/plugin/ucstyleditembase.cpp (+3/-2)
src/Ubuntu/Components/plugin/uctheme.cpp (+75/-62)
src/Ubuntu/Components/plugin/uctheme.h (+6/-12)
src/Ubuntu/Components/plugin/ucthemingextension.cpp (+32/-8)
src/Ubuntu/Components/plugin/ucthemingextension.h (+3/-3)
tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.cpp (+24/-16)
tests/unit_x11/tst_deprecated_theme_engine/tst_deprecated_theme_engine.pro (+1/-1)
tests/unit_x11/tst_subtheming/DefaultTheme.qml (+28/-0)
tests/unit_x11/tst_subtheming/tst_subtheming.cpp (+53/-4)
tests/unit_x11/tst_subtheming/tst_subtheming.pro (+3/-0)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → In Progress |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
status: | New → Fix Committed |
importance: | Undecided → Critical |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1872+ 16.04.20160308- 0ubuntu1
--------------- 16.04.20160308- 0ubuntu1) xenial; urgency=medium
ubuntu-ui-toolkit (1.3.1872+
[ Timo Jyrinki ]
* Fix gles unit test skipping.
* Add s390x to the unit test skipping architectures
* UITK test plan - wily -> xenial. Fixes LP: #1544490
[ Christian Dywan ] visible flakes on non-arm. Fixes LP: #1534651 Test::doubleCli cked. Fixes LP: #1542215
* Print errors when QuickUtils fails to create a component.
* unit tests shouldn't use deprecated Dialog.callera
* Correctly count only test case results. The result= value is used in suites
and results.
* Skip tst_pagehead_
* Skip flaky tst_mousefilter
* Suppress click signal if releasing outside of ListItem. Fixes LP: #1541148.
* Use gdb in runtest.sh to produce backtraces.
* Arrow keys change value of a Slider. Fixes LP: #1523824.
* Only use Maliit when enabled explicitly in the environment
[ Oliver Tilloy ] ress".
* Do not try to assign to non-existent property "activeFocusOnP
Fixes LP: #1532953
* Bubble up ESC key press event if there is no popover to close.
Fixes LP: #1546627
[ Loïc Molinari ]
* Added private items and nodes for the new component styles.
Fixes LP: #1523836
* Made use of new private Frame item for the focusing.
* Fixed performance monitor crash because of a NULL timer pointer dereference.
Fixes LP: #1546986
* Fixed performance monitor dangling pointer crash. Fixes LP: #1546984
* [ProportionalShape] Ensured width/height ratio is correct with default values.
Fixes LP: #1546546
* Added a workaround to prevent a crash while changing the QPA scale factor.
[ Florian Boucault ]
* Always on performance monitor that logs frames that too long to render.
* MainView: proceed to selecting the theme automatically at startup too.
Fixes LP: #1535819
* MainView: when no gradient color is needed for the background, rely on
QQuickWindow's GL clear color. Lessens overdraw considerably for most
apps. Fixes LP: #1439133.
* Panel: MathUtils used without import prefix was leading to undefined
reference.
* Label: use native rendering on low dpi screens (GRID_UNIT_PX <= 10) for
sharper looking text.
* Gallery: added palette browser to Colors page.
[ Tim Peeters ]
* Support scrolling in ListViews with horizontal orientation to the
qquicklistview CPO.
* Add background to AppHeader and remove contents clipping from MainView.
Fixes LP: #1531016, LP: #1531457.
* Hide AppHeader when using AdaptivePageLayout. Fixes bug 1531871.
Fixes LP: #1531871.
* Implement horizontal flicking in the flickable autopilot CPO.
* Re-order to list of pages in the gallery to be alphabetical.
* Fix the autopilot failures introduced with the horizontal scrolling in
the Flickable CPO.
* Update documentation for MainView, Page, AdaptivePageLayout to use the new
PageHeader in all examples. Deprecate old properties. Fixes LP: #1540574
* Add 'animate' property to new internal AppHeaderBase, and do not show a
header animation when starting an app without header.
Fixes LP: #1518002, LP: #1524901.
...