Unity8 always crashes on second restart

Bug #1487946 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Invalid
Undecided
Unassigned
mir (Ubuntu)
Invalid
Undecided
Unassigned
qtmir (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Medium
Albert Astals Cid

Bug Description

Unity8 always crashes on second restart.

Using the "restart unity8" command is very handy for applying environment variables and trying things out. The trouble is that it only ever works once. On the second use, Untiy8/Mir fails to start and in some cases the whole phone reboots (arale).

On krillin:

restart unity8
restart unity8
# Now the phone never restarts...
$ tail ~/.cache/upstart/unity8.log
[1440384396.950594] Platform Loader: Selected driver: android (version 0.11.0)
Exiting Mir! Reason: Nested Mir and Host Mir cannot use the same socket file to accept connections!
ERROR: QMirServer - Mir failed to start
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::logic_error> >'
  what(): Cannot use configuration before apply_settings() call

On mako:

$ system-image-cli -i
current build number: 284
device name: mako
channel: ubuntu-touch/devel-proposed/ubuntu
last update: 2015-08-19 04:19:23
version version: 284
version ubuntu: 20150819
version device: 20150812
version custom: 20150819

$ restart unity8

$ restart unity8

$ tail -f ~/.cache/upstart/unity8.log
[1440385259.474381] mirserver: Starting
[1440385259.474899] mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1440385259.475083] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-dummy.so
[1440385259.477799] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-stub.so
[1440385259.479172] mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.3
[1440385259.479355] mirplatform: Found graphics driver: dummy
[1440385259.480485] mirplatform: Found graphics driver: android
[1440385259.480851] mirserver: Selected driver: android (version 0.14.0)
Exiting Mir! Reason: Nested Mir and Host Mir cannot use the same socket file to accept connections!
ERROR: QMirServer - Mir failed to start

Related branches

description: updated
Revision history for this message
Albert Astals Cid (aacid) wrote :

There seems to be an issue with restart since for example if i do

while [ true ]; do start unity8; sleep 10; stop unity8; sleep 10; done

It works fine for a long time (i got bored after 40 min)

Changed in mir (Ubuntu):
status: New → Invalid
Changed in qtmir (Ubuntu):
status: New → Invalid
Changed in qtmir:
status: New → Invalid
Changed in mir:
status: New → Invalid
Changed in unity8 (Ubuntu):
status: New → In Progress
assignee: nobody → Albert Astals Cid (aacid)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.11+15.10.20150907-0ubuntu1

---------------
unity8 (8.11+15.10.20150907-0ubuntu1) wily; urgency=medium

  [ Michal Sawicz ]
  * Resync wily with vivid

  [ Albert Astals Cid ]
  * Accomodate header height when using a card carousel with non
    overlayed header (LP: #1489309)
  * Fix restart unity8 from inside the phone more than two times (LP:
    #1487946)

  [ Gary.Wzl ]
  * Move textarea up automatically when inputmethod popup. (LP:
    #1485947)

  [ Lukáš Tinkl ]
  * Introduce a GlobalShortcut QML component for handling global
    keyboard shortcuts

  [ Michael Terry ]
  * Fix the fact that a user that is locked out from their account for
    five minutes after entering too many wrong passwords can simply
    reboot to try again. (LP: #1383086)
  * Fix the fact that a user that is locked out from their account for
    five minutes after entering too many wrong passwords can simply
    reboot to try again. (LP: #1383086)

  [ Michael Zanetti ]
  * Implement progressive autoscrolling in desktop spread
  * add an animation transition when invoking the spread by hitting the
    right edge

 -- CI Train Bot <email address hidden> Mon, 07 Sep 2015 14:05:37 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Michał Sawicz (saviq)
no longer affects: qtmir
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.