Rather than running load_twice on libmirclient.so.* it should be run on
libmirprotobuf.so.* directly. That's the source of the problem and does
crash, but only if you change RTLD_LAZY to RTLD_NOW.

Loading libmirclient.so.* is just an indirect fudge to force it to try
and resolve more symbols, but not necessary if you use RTLD_NOW on
libmirprotobuf.so.* directly.

** Summary changed:

- Loading libmircommon.so twice leads to a segfault in libprotobuf.so
+ Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391976

Title:
  Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to