Mir

mir_acceptance_tests crashes: NestedServer.client_may_connect_to_nested_server_and_create_surface

Bug #1465915 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Alberto Aguirre
mir (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Acceptance test crashes: NestedServer.client_may_connect_to_nested_server_and_create_surface

[ RUN ] NestedServer.client_may_connect_to_nested_server_and_create_surface
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::logic_error> >'
  what(): stop_server() failed to stop server
Aborted (core dumped)

Test case:
  mir_acceptance_tests --gtest_filter="NestedServer.*" --gtest_repeat=1000

It seems we've tried (and apparently failed) to fix this in the past (bug 1430000). But it's still happening today in Mir 0.14 r2672.

Tags: testsfail

Related branches

summary: - Acceptance test crashes:
+ mir_acceptance_tests crashes:
NestedServer.client_may_connect_to_nested_server_and_create_surface
Changed in mir:
milestone: 0.14.0 → 0.15.0
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

I am not able to reproduce this with lp:mir r2722.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed r2722 does not have the bug.

With more effort, I have now bisected the issue and found it was fixed by r2690:

------------------------------------------------------------
revno: 2690 [merge]
author: Alberto Aguirre <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Sat 2015-06-20 00:13:06 +0000
message:
  Fix potential data races and mutex locking order issues.

  Avoid FD data race in AsyncServerRunner
  Avoid data race on display_server pointer in ServerRunner
  Avoid potential lock ordering issues in mir::client::ConnectionSurfaceMap.

  Approved by PS Jenkins bot, Alan Griffiths.
------------------------------------------------------------

Changed in mir:
milestone: 0.15.0 → 0.14.0
importance: Undecided → Medium
assignee: nobody → Alberto Aguirre (albaguirre)
status: New → Fix Committed
Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in mir (Ubuntu):
status: Triaged → Fix Released
Changed in mir:
status: Fix Committed → 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.