[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir Status: Fix Committed => Fix Released -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Released Status in Mir 0.14 series: Fix Released Status in mir package in Ubuntu: Fix Released Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir/0.14 Status: Fix Committed => Fix Released -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Released Status in mir package in Ubuntu: Fix Released Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
This bug was fixed in the package mir - 0.14.0+15.10.20150722-0ubuntu1 --- mir (0.14.0+15.10.20150722-0ubuntu1) wily; urgency=medium [ Andreas Pokorny ] * Fix missing ABI renaming in Mirplatform * Bump Mirserver platform graphics to 3 * Fix mirprotobuf ABI break [ CI Train Bot ] * New rebuild forced. -- CI Train Bot Wed, 22 Jul 2015 18:01:49 + ** Changed in: mir (Ubuntu) Status: Triaged => Fix Released -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Committed Status in mir package in Ubuntu: Fix Released Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch linked: lp:ubuntu/wily-proposed/mir -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch unlinked: lp:mir/0.14 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir/0.14 Status: In Progress => Fix Committed -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch linked: lp:mir/0.14 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Also affects: mir/0.14 Importance: Undecided Status: New ** Changed in: mir/0.14 Importance: Undecided => High ** Changed in: mir/0.14 Status: New => In Progress ** Changed in: mir/0.14 Milestone: None => 0.14.0 ** Changed in: mir/0.14 Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Branch linked: lp:~vanvugt/mir/fix-1391976-0.14 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in Mir 0.14 series: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.15.0 ** Changed in: mir Status: In Progress => Fix Committed -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir Status: Fix Committed => In Progress -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.15.0 ** Changed in: mir Status: In Progress => Fix Committed -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Fix Committed Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir Milestone: 0.14.0 => 0.15.0 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch linked: lp:~vanvugt/mir/fix-1391976 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch linked: lp:~vanvugt/mir/test-1391976 -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Changed in: mir Assignee: Alexandros Frantzis (afrantzis) => Daniel van Vugt (vanvugt) ** Changed in: mir Milestone: None => 0.14.0 ** Changed in: mir Status: Triaged => In Progress -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: In Progress Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
** Branch linked: lp:~vanvugt/mir/protocrash -- 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/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Triaged Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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
[Touch-packages] [Bug 1391976] Re: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so
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 Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1391976 Title: Loading libmirclient.so twice leads to a segfault in libmirprotobuf.so Status in Mir: Triaged Status in mir package in Ubuntu: Triaged Bug description: Can be reproduced with: load_twice libmircommon.so.1 (or .2) For recent versions of mir use: load_twice libmirclient.so.X (currently .8) load_twice.c: #include #include int main(int argc, char** argv) { void *dl; int i; for (i = 0; i < 2; i++) { dl = dlopen (argv[1], RTLD_LAZY); printf ("%d open dl: %p\n", i, dl); if (dl) dlclose (dl); } } To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1391976/+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