~alan-griffiths/mir/knee-jerk-mir_surface_state_automatic

Viewing all changes in revision 3255.

  • Committer: Tarmac
  • Author(s): Andreas Pokorny
  • Date: 2016-01-20 22:54:48 UTC
  • mfrom: (3239.3.6 fix-1528135)
  • Revision ID: tarmac-20160120225448-n3kper6t5v7530fm
Handle exceptions during platform construction
 
Since we no longer assign the mir::SharedLibrary instance for a graphics platform to a global variable or a DefaultServerConfiguration member, the SharedLibrary is destroyed when the unwinding leaves the_graphics_platform(). When we rethrow the exception - to create detailed diagnostis - libstdc++ tries to access the unwinding information. But at point in time it is no longer available. Fixes: https://bugs.launchpad.net/bugs/1528135.

Approved by PS Jenkins bot, mir-ci-bot, Chris Halse Rogers, Kevin DuBois, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: