Mir

Merge lp:~vanvugt/mir/fix-1237332 into lp:mir

Proposed by Daniel van Vugt
Status: Merged
Approved by: Daniel van Vugt
Approved revision: no longer in the source branch.
Merged at revision: 1432
Proposed branch: lp:~vanvugt/mir/fix-1237332
Merge into: lp:mir
Diff against target: 11 lines (+1/-1)
1 file modified
src/server/compositor/multi_threaded_compositor.cpp (+1/-1)
To merge this branch: bzr merge lp:~vanvugt/mir/fix-1237332
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
PS Jenkins bot (community) continuous-integration Approve
Kevin DuBois (community) Approve
Alexandros Frantzis (community) Approve
Alan Griffiths Approve
Review via email: mp+208321@code.launchpad.net

Commit message

Fixed: Exceptions thrown from within compositing threads were untraceable,
resulting in a bunch of undebuggable crash reports (LP: #1237332).

Used the trivial workaround suggested in:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55917

Now crashes from compositor threads seem to provide useful stack traces.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This doesn't address the real problem (that exceptions are thrown and not handled) but mitigates the symptoms.

review: Approve
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

OK.

review: Approve
Revision history for this message
Kevin DuBois (kdub) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

All the valgrind+armhf failures appear to be unrelated to this branch. I can reproduce plenty with plain old development-branch on nexus4 :(

It doesn't seem to be bug 1284653 as we're using the newly fixed valgrind.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Daniel van Vugt (vanvugt) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/server/compositor/multi_threaded_compositor.cpp'
2--- src/server/compositor/multi_threaded_compositor.cpp 2014-01-22 08:32:55 +0000
3+++ src/server/compositor/multi_threaded_compositor.cpp 2014-02-27 06:58:06 +0000
4@@ -67,7 +67,7 @@
5 {
6 }
7
8- void operator()()
9+ void operator()() noexcept // noexcept is important! (LP: #1237332)
10 {
11 std::unique_lock<std::mutex> lock{run_mutex};
12

Subscribers

People subscribed via source and target branches