[emulator] unity8 fails to start since image 152 (mako 149).

Bug #1349444 reported by Ricardo Salveti
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit-gles (Ubuntu)
Fix Released
Critical
Ricardo Salveti
unity8 (Ubuntu)
Invalid
Critical
Michał Sawicz

Bug Description

Unity8 fails to start on emulator (tested on x86).

Wizard works fine, but after complete it, screen stays black.

Checking via adb shell, unity8 is running but nothing showing up at the screen.

Follows the unity8 log:
phablet@ubuntu-phablet:~$ cat ./.cache/upstart/unity8.log
()
WARNING: QApplication was not created in the main() thread.
Service name already taken.
file:///usr/share/unity8/Shell.qml:136:13: Type Dash unavailable
                 Dash {
                 ^
file:///usr/share/unity8/Dash/Dash.qml:104:5: Type GenericScopeView unavailable
         GenericScopeView {
         ^
file:///usr/share/unity8/Dash/GenericScopeView.qml:332:21: Type PageHeader unavailable
             pageHeader: PageHeader {
                         ^
file:///usr/share/unity8/Components/PageHeader.qml:148:13: Type PageHeadStyle unavailable
                 PageHeadStyle {
                 ^
file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml:39:5: PageHeadSections is not a type
         BorderImage {
         ^
callbacks 0xad9760e0 0xad975f30
creating surface at (0, 0) with size (480, 800) with title 'Qml Phone Shell'No compatible telepathy account found!

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Quite a few things changed on 149, so not clear yet on the issue: http://people.canonical.com/~lzemczak/landing-team/149.commitlog

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
Changed in unity8 (Ubuntu):
importance: Undecided → Critical
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Michał Sawicz (saviq)
Revision history for this message
Tim Peeters (tpeeters) wrote :

PageHeadSections is relatively new (added last week) and should be part of the ubuntu-ui-toolkit-theme package. Are you importing Ubuntu.Components 1.1 or an older version?

Revision history for this message
Tim Peeters (tpeeters) wrote :

correction: PageHeadSections is part of qtdeclarative5-ubuntu-ui-toolkit-plugin (not the theme as I said in the previous comment).

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Did push the a new sync for latest ui-toolkit, let's check this bug again after it lands.

Changed in ubuntu-ui-toolkit-gles (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Ricardo Salveti (rsalveti)
tags: added: lt-blocker lt-category-visible
tags: added: lt-prio-high
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

I have created a new emulator from the image version #157 and confirmed that the Shell does not show up.

Logged in to the eulator and enabled the utopic-proposed repository.

# apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin-gles
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles:
  Installed: 0.1.49+14.10.20140715-0ubuntu1
  Candidate: 0.1.50+14.10.20140724.2-0ubuntu1
  Version table:
     0.1.50+14.10.20140724.2-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic-proposed/universe i386 Packages
 *** 0.1.49+14.10.20140715-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/universe i386 Packages
        100 /var/lib/dpkg/status
root@ubuntu-phablet:/etc/apt# apt-get install qtdeclarative5-ubuntu-ui-toolkit-plugin-gles
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  qtdeclarative5-ubuntu-ui-toolkit-plugin-gles
1 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
Need to get 367 kB of archives.
After this operation, 28.7 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ utopic-proposed/universe qtdeclarative5-ubuntu-ui-toolkit-plugin-gles i386 0.1.50+14.10.20140724.2-0ubuntu1 [367 kB]
Fetched 367 kB in 0s (447 kB/s)
(Reading database ... 39550 files and directories currently installed.)
Preparing to unpack .../qtdeclarative5-ubuntu-ui-toolkit-plugin-gles_0.1.50+14.10.20140724.2-0ubuntu1_i386.deb ...
Unpacking qtdeclarative5-ubuntu-ui-toolkit-plugin-gles:i386 (0.1.50+14.10.20140724.2-0ubuntu1) over (0.1.49+14.10.20140715-0ubuntu1) ...
Setting up qtdeclarative5-ubuntu-ui-toolkit-plugin-gles:i386 (0.1.50+14.10.20140724.2-0ubuntu1) ...

After rebooting the emulator the shell comes up.

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: In Progress → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Many thanks for the fast fix! Much appreciated to unbreak the emulator.

Revision history for this message
Martin Pitt (pitti) wrote :

This doesn't yet seem to be in image 157, and image 160 crashes at boot due to bug 1349709.

Revision history for this message
Martin Pitt (pitti) wrote :

I confirm that upgrading image 157 to current utopic fixes that problem. I still happens after rebooting again (forcefully).

In general, unity and the launcher are still very unstable. E. g. after launching calculator there is no way to get out of it again -- the launcher (swipe from left edge) doesn't come up, nor does the "swipe across screen" gesture works. This is potentially a different bug, though.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Tested with image 160 and it finally worked as we expect.

It seems wizard is crashing sometimes, but I'm still investigating that one.

pitti, I'm able to swipe back to the main screen just fine here (and also access the launcher). Just make sure you start the swipe movement from the first valid screen pixel, not the emulator gray border.

Changed in ubuntu-ui-toolkit-gles (Ubuntu):
status: In Progress → 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.