Mir

Racy shutdown in mir_demo_client_scroll causes SEGFAULT

Bug #1560943 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Alan Griffiths
mir (Ubuntu)
Fix Released
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
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.