*** This bug is a duplicate of bug 1667352 ***
    https://bugs.launchpad.net/bugs/1667352

We've been creating multiple bug reports for single bugs too often
recently. Let's get it down to one each...

** This bug has been marked a duplicate of bug 1667352
   SDL apps "Failed to connect to the mir server: std::bad_alloc" or crash in 
google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray from 
mir_connect_sync

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1670844

Title:
  libmirclient cannot be reloaded through dlopen

Status in Mir:
  In Progress
Status in Mir 0.26 series:
  Triaged
Status in mir package in Ubuntu:
  Triaged

Bug description:
  Code example:
  http://paste.ubuntu.com/24133139/

  Fails on the 2nd load due to an issue of libprotobuf-lite not being
  unloaded. Meaning the static variables aren't being re-inited.
  Protobuf uses a static variable for an empty string optimization which
  ends up becoming a dangling pointer:

  back trace:
  http://paste.ubuntu.com/24133152/

  valgrind:
  http://paste.ubuntu.com/24133156/

  
  The workaround/fix that we saw was to re-set that static variable which will 
let the empty string be init'd correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1670844/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to