UbuntuShape crash with latest UITK on mako/flo

Bug #1502093 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Pat McGowan
ubuntu-ui-toolkit (Ubuntu)
Fix Committed
Critical
Loïc Molinari

Bug Description

mako rc-proposed/ubuntu 256 + distupgrade of all the packages in the ovrerlay PPA

The shell doesn't come up and unity8 crashes in a loop.

Logs attached.

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in canonical-devices-system-image:
importance: Undecided → Critical
assignee: nobody → kevin gunn (kgunn72)
milestone: none → ww40-2015
tags: added: regression-proposed
Revision history for this message
Gerry Boland (gerboland) wrote :

Also experiencing it with Flo

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Gerry Boland (gerboland) wrote :

Something suspicious to me, the GL context Mir is giving to Qt is missing the alpha channel:

Settings "QSG_INFO=1", you get:

qt.scenegraph.info: texture atlas dimensions: 2048x2048
qt.scenegraph.info: R/G/B/A Buffers: 8 8 8 0
qt.scenegraph.info: Depth Buffer: 24
qt.scenegraph.info: Stencil Buffer: 8
qt.scenegraph.info: Samples: -1
qt.scenegraph.info: GL_VENDOR: Qualcomm
qt.scenegraph.info: GL_RENDERER: Adreno (TM) 320
qt.scenegraph.info: GL_VERSION: OpenGL ES 3.0 V@53.0 AU@ (CL@)

the A Buffer should be 8.

Revision history for this message
Gerry Boland (gerboland) wrote :

Just checked with working unity8 (with mir 0.16), Alpha buffer reported missing there too. Must be unrelated issue.

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Revision history for this message
Gerry Boland (gerboland) wrote :

Here's a simple way to reproduce the fail. Stick the following into a file test.qml:

import QtQuick 2.4
import Ubuntu.Components 1.2

Rectangle {
    color: 'green'
    UbuntuShape {}
}

Do "stop unity8" to stop unity8 reboot loop. Then do:

MIR_SERVER_NAME=session-0 MIR_SOCKET=/run/mir_socket QT_QPA_PLATFORM=mirserver qmlscene ~/test.qml

It will hang and eventually crash.

Revision history for this message
Michał Sawicz (saviq) wrote :
summary: - unity8 crash on mako rc-proposed/ubuntu with latest unity8/mir/powerd
+ QML (unity8 too) crash with latest UITK on mako/flo
summary: - QML (unity8 too) crash with latest UITK on mako/flo
+ UbuntuShape crash with latest UITK on mako/flo
Revision history for this message
Gerry Boland (gerboland) wrote :

Apitrace of the failing scenario:
http://pastebin.ubuntu.com/12638037/
Driver appears to be crashing while compiling the UbuntShape shader

Revision history for this message
kevin gunn (kgunn72) wrote :

current action ongoing is to revert the recent uitk landing, then this bug can be closed or priority reduced

Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Critical
Changed in canonical-devices-system-image:
assignee: kevin gunn (kgunn72) → Pat McGowan (pat-mcgowan)
no longer affects: unity8 (Ubuntu)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Loïc Molinari (loic.molinari)
Revision history for this message
Loïc Molinari (loic.molinari) wrote :

So the Adreno 320's driver is crashing there:

lowp float mask = smoothstep(distanceMin, distanceMax, shapeData[yCoord <= 0.0 ? 0 : 1]);

because of the index being computed on the same line, storing it in a variable before fixes it...

Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: New → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.