[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Ricardo Salveti
** Changed in: unity8 (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Alan Pope ㋛
I had this today on #119 on mako.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
A bit more info:

- apps can't be launched (hang at startup)
- can't call (display powers up, no sound or notification)
- I couldn't connect from gdb (A program is being debugged already.  Kill it? 
(y or n))
- unity8 consumes some CPU (but not a lot, like 14%)
- SIGTERM didn't help
- SIGSEGV didn't result in a .crash file :|

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Dave Morley
** Attachment added: gdb.txt
   
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+attachment/4148820/+files/gdb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Julien Funk
This has been happening to me, more importantly though, when a fix does
go in I would like to see an automated test go in along with it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
More symbols from mzanetti: http://paste.ubuntu.com/7771898/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
Suspicious things from the above (chicken'n'egg possible):

Thread 33: __invokemir::scene::SnapshottingFunctor
Should only be called occasionally, if this locked up, would suggest something 
in app screenshotting?

Thread 31: SessionAuthorizer::requestAuthorizationForSession
This one should usually only be called on session startup, definitely not when 
stuff's locked up...

Thread 7: waitmir::frontend::Surface::swap_buffers_blocking
Should this be there at all? Wonder if this means rendering didn't resume from 
suspend?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michael Zanetti
This is the most I could get out of it: http://paste.ubuntu.com/7772064

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
My trace out of manta: http://paste.ubuntu.com/7772239/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Alberto Aguirre
Yeah it's a deadlock in mir, specifically between the compositor Thread
and the main loop:

The TimeoutFrameDroppingPolicy has timedout, so it owns the internal
alarm mutex and attemps to drop a frame, so it waits for the BufferQueue
mutex.

The compositor thread is releasing a buffer, so it calls
BufferQeueue::compositor_release, which owns the BufferQueue mutex and
attempts to update the TimeoutFrameDroppingPolicy (since a buffer is
being freed) but it waits to own the internal alarm mutex so deadlock.


** Also affects: mir
   Importance: Undecided
   Status: New

** Changed in: mir
   Importance: Undecided = High

** Changed in: mir
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
** Changed in: unity8 (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread kevin gunn
** Changed in: mir
 Assignee: (unassigned) = Alberto Aguirre (albaguirre)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Michał Sawicz
** Changed in: mir
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Launchpad Bug Tracker
** Branch linked: lp:~mir-team/mir/fix-1339700-in-0.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Launchpad Bug Tracker
** Branch linked: lp:~mir-team/mir/fix-1339700

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Daniel van Vugt
** Changed in: mir
Milestone: None = 0.5.0

** Also affects: mir/0.4
   Importance: Undecided
   Status: New

** Changed in: mir/0.4
   Status: New = In Progress

** Changed in: mir/0.4
   Importance: Undecided = High

** Changed in: mir/0.4
 Assignee: (unassigned) = Alberto Aguirre (albaguirre)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339700] Re: Device locks randomly on welcome screen

2014-07-09 Thread Daniel van Vugt
The two relevant commits appeared in Mir 0.3.0 and then 0.4.0:


revno: 1725 [merge]
committer: Alan Griffiths a...@octopull.co.uk
branch nick: development-branch
timestamp: Thu 2014-06-26 17:06:24 +0100
message:
  server: Avoid race condition in AlarmImpl

...

revno: 1675 [merge]
author: Alberto Aguirre alberto.agui...@canonical.com
committer: Tarmac
branch nick: development-branch
timestamp: Tue 2014-06-03 17:49:45 +
message:
  Allow buffer swapping even when compositor is turned off or blocked. Fixes: 
https://bugs.launchpad.net/bugs/1308843, 
https://bugs.launchpad.net/bugs/1308844.
  
  Approved by PS Jenkins bot, Chris Halse Rogers, Kevin DuBois, Alexandros 
Frantzis.



** Summary changed:

- Device locks randomly on welcome screen
+ [regression] Device locks randomly on welcome screen

** Tags added: regression

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339700

Title:
  [regression] Device locks randomly on welcome screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1339700/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs