Mir

Racy shutdown in mir_demo_client_scroll causes SEGFAULT

Bug #1560943 reported by Alan Griffiths on 2016-03-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Alan Griffiths
mir (Ubuntu)
Undecided
Unassigned

Bug Description

This example responds to SIGTERM (and SIGINT) by calling exit() - without taking any precaution to prevent other threads running simultaneously. This can lead to a SEGFAULT.

I got a core by running:

$ while bin/mir_demo_server --test-timeout 1 --test-client bin/mir_demo_client_scroll ; do :; done

Which eventually failed this way.

Related branches

Changed in mir:
assignee: nobody → Alan Griffiths (alan-griffiths)
importance: Undecided → Low
status: New → In Progress
Changed in mir:
milestone: none → 0.22.0
Mir CI Bot (mir-ci-bot) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.22.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.22.1+16.04.20160516.2-0ubuntu2

---------------
mir (0.22.1+16.04.20160516.2-0ubuntu2) yakkety; urgency=medium

  [ Dimitri John Ledkov ]
  * Fix FTBFS error: call of overloaded ‘abs(float)’ is ambiguous, by
    including cmath c++ header.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 19 May 2016 21:58:43 +0200

Changed in mir (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers