Random mir failures running unity8 shell during AP tests [Mir throws exception: what(): error during hwc set()]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
High
|
Unassigned | ||
unity-mir |
Confirmed
|
High
|
Unassigned | ||
qtubuntu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In autopilot tests, sometimes clients fail to start (crash) causing the test to fail. Considering an example test output:
https:/
the unity8 log file:
https:/
does not contain a "REJECT" string - which would indicate unity-mir/unity8 rejects the client connection. So the connection is failing for another reason.
However the log file indicates there are many unity8/mir crashes, eventually breaking things to be unrecoverable. The bad crashes appears to be:
terminate called after throwing an instance of 'boost:
what(): error during hwc set()
and then on next invocation:
terminate called after throwing an instance of 'boost:
what(): compositor_acquire would block; probably too many clients.
From here on, Mir fails to restart at all. Then all AP test fail, as clients (rightly) fail to start (they shouldn't crash though, a nice error message would be better).
Note that AP reboots the device after each test suite, hence you see multiple invocations of unity8/mir in the unity8.log file - that's normal.
We need a more reliable way to reproduce this problem. Working on it (gerry)...
=======
This is the current crash of the dialer-app tests from http://
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: dialer-app 0.1+14.
Uname: Linux 3.4.0-3-mako armv7l
Architecture: armhf
CurrentDesktop: Unity
Date: Thu Dec 19 05:33:28 2013
ExecutablePath: /usr/bin/dialer-app
ExecutableTimes
ProcCmdline: dialer-app
ProcCwd: /home/phablet
Signal: 6
SourcePackage: dialer-app
StacktraceTop:
?? () from /lib/arm-
raise () from /lib/arm-
abort () from /lib/arm-
QMessageLogger
?? () from /usr/lib/
UserGroups: adm autopilot cdrom dialout dip nopasswdlogin plugdev sudo tty video
Changed in qtubuntu (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in unity-mir: | |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- dialer-app crashed: QUbuntu: Could not create application instance + Random mir failures running unity8 shell during AP tests |
description: | updated |
tags: | added: ci-engineering |
StacktraceTop: sysdeps/ unix/sysv/ linux/arm/ libc-do- syscall. S:44 sandbox_ h37Ynb/ lib/arm- linux-gnueabihf /libc.so. 6 sandbox_ h37Ynb/ lib/arm- linux-gnueabihf /libc.so. 6 ::fatal( char const*, ...) const () at global/ qlogging. cpp:868 tion::QUbuntuIn tegration( QUbuntuInputAda ptorFactory* ) () at integration.cc:75
__libc_do_syscall () at ../ports/
raise () from /tmp/apport_
abort () from /tmp/apport_
QMessageLogger
QUbuntuIntegra