[Bug 1507982] Re: [regression] OTA7 broke previously working app
"Related branch", not a fix. ** Changed in: mir Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.20.0 ** Changed in: mir Status: Won't Fix => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Hmm, actually bug 1498281 might be the cause here (even if libmirclient8 isn't actually in the click package). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
1) talked to sturmflut, he's agreed to rebuild against libmirclient9 2) did a scan of store, so far only libmirclient9 is already being used by a couple of others -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
** Changed in: canonical-devices-system-image Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
We don't know how things will be done in the future, but I do know what Mir supports in the present. That is maintaining backward compatibility for the libmirclient9 client ABI. We have tests to ensure this. Mir does not support "bringing your own libmir*" on just the client side - you also have to "bring" the server side. That is the way it is. If you disagree, please point me at any tests for this functionality. If you want to change it please convince the team that it is needed and provide the tests for a supported "feature". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
** Branch linked: lp:~vanvugt/mir/improved-protocol-version-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Alan, I think it's likely in the future (if not already) that the Mir server/shell will be a separate snap to any app snaps. And certainly it's difficult to make anything completely foolproof, because fools are so ingenious. But we can build things that are more robust in the face of potential future mistakes. So if those future mistakes include bringing your own libmir* then it would be nice if that worked more often. Even if we don't like the idea, it's better than dealing with high severity bug reports. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Also bringing your own libmir* is not a mistake and not "foolish". It may be different to traditional Linux packaging, but it's the way snappy is designed for good reason. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Please keep that tag. I use it for periodic quality analysis. ** Tags added: regression -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
** Tags removed: regression ** Tags added: regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
In the pure snappy case there is no "system" Mir server. The Mir server needs to be included in the snap. @a - see comment #13 @b - we can't police every wrong way to do things[*]. [*] A (hypothetical) idiot could create a .deb that includes libmirclient.so.9 instead of depending on libmirclient9 - it would break but we are not responsible for preventing it. I don't see that snaps are any different. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
The "matching" you mention may not happen in the snappy case. So there is a problem. In the pure snappy case, an app brings its own libmirclient and potentially its own libmirprotobuf and libmir*. So it is not a binary "match" for the server in question. And the app may be using Mir binaries that are newer (most likely) or older (e.g. this bug) than that of the server. The only commonality is the protocol and negotiation needs to happen there. It's not related to libraries and ABIs at all. Unless. We could mitigate the problem by: (a) Never bumping the client ABI again; and (b) Ensuring app snaps don't bring their own libmir*, so do use the system copy. However that only works for as long as we can ensure both (a) and (b) are true. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Comment #16 is misleading: There is only a "problem" if the app dynamically links against Mir-0.16 and attempts to run against a Mir-0.17 server. This should not happen as either: /1/ the matching server and client libraries are installed as part of the system (desktop, phone); or, /2/ the matching server and client libraries are installed as part of a snap (kiosk). In both cases the client library matches the server and everything works. The protocol range checking in r2893 correctly detects that the version of libmirclient.so.9 that is trying to connect supports that are not supported by the server and that the system is misconfigured. This is not something that App developers need to be concerned with. For the avoidance of doubt, Apps built with the libmirclient.so.9 from Mir-0.17 and installed on a phone configured with Mir-0.16 will dynamically link and run correctly (case 1 above) unless they refer to the new functions introduced in 0.17. Vis: MIR_CLIENT_9v17 { mir_blob_from_display_configuration; mir_blob_size; mir_blob_data; mir_blob_release; mir_blob_onto_buffer; mir_blob_to_display_configuration; mir_blob_release; mir_buffer_stream_set_scale; mir_buffer_stream_set_scale_sync; mir_event_get_surface_output_event; mir_surface_output_event_get_dpi; mir_surface_output_event_get_form_factor; mir_surface_output_event_get_scale; } MIR_CLIENT_9.2; If the app requires these functions then it obviously can't use a libmirclient.so.9 from Mir-0.16 and will fail to run even before connecting to the server. Similar arguments apply running on a phone configured with or Mir-0.15 or Mir-0.14. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Annoyingly comment #9 may not work. If app developers rebuild with the latest Mir (0.17) then the slightly older Mir 0.16.0 in OTA7 will also reject their connections because they're now too new! This is again due to the overly strict protocol range checking introduced in r2893. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
** Changed in: mir Milestone: 0.18.0 => None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Sorry. It appears in r2867 (which went into Mir 0.16.0) we broke the binary input event protocol (which is separate to protobuf). It's sufficiently broken that any Mir-0.15 or earlier client will reject and ignore all input messages it gets from v0.16 or newer servers. http://bazaar.launchpad.net/~mir-team/mir/development- branch/revision/2867#3rd_party/android- input/android/frameworks/base/include/androidfw/InputTransport.h It would be difficult and messy to repair the problem sufficiently such that the old and new binary formats could be supported simultaneously. Not impossible, but probably not something we're going to invest in right now. That plus r2893 made the problem worse by rejecting older clients outright, possibly without knowing the intricacies of the r2867 regression. Again, sorry this happened. The relevant people have been informed so hopefully it won't happen again. ** Changed in: mir Status: Triaged => Won't Fix ** Changed in: mir/0.16 Status: Triaged => Won't Fix ** Changed in: mir/0.17 Status: Triaged => Won't Fix ** Changed in: mir (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Bisected and found the source of the input regression in 0.16.0. It came from: revno: 2867 [merge] author: Brandon Schaefer committer: Tarmac branch nick: development-branch timestamp: Thu 2015-08-20 23:33:42 + message: Add a mac field for key/touch/pointer events. Approved by PS Jenkins bot, Alexandros Frantzis. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
the good news is, the promise of ABI compatibility will be maintained with libimrclient9, so a one time rebuild should fix it going fwd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Hi Daniel o/ "Alternatively, we will need to ask all app developers to rebuild their packages with Mir 0.16.0 or later :(" i don't think there are many to ask, probably just sturmflut :>> -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
*not QML, I mean. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Actually comment #9 might be feasible. If we're only asking developers of native Mir apps (not Qt) to rebuild... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Alternatively, we will need to ask all app developers to rebuild their packages with Mir 0.16.0 or later :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Perhaps if we want apps to keep working at least for the lifetime of UbuntuTouch-vivid, then we will need to wind back in OTA8 and keep Mir on the 0.15 series. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Verified that removing the fix for bug 1486496 allows the client to start up and render. So that's the first hurdle. Unfortunately there's a second hurdle we may not be able to overcome -- that is with Mir 0.16.0 we broke input event/protocol compatibility. So 0.13.3 clients never receive input when connected to a Mir 0.16/17/18 server. Not sure if we can fix that... anpok? ** Changed in: mir Status: In Progress => Triaged ** Changed in: mir Assignee: Daniel van Vugt (vanvugt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
** Also affects: mir/0.17 Importance: Undecided Status: New ** Also affects: mir/0.16 Importance: Undecided Status: New ** Changed in: mir/0.16 Importance: Undecided => High ** Changed in: mir/0.16 Status: New => Triaged ** Changed in: mir/0.17 Importance: Undecided => High ** Changed in: mir/0.17 Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507982] Re: [regression] OTA7 broke previously working app
Digging further explains why this bug appears in OTA-7. It's because OTA-7 upgraded the Mir server from 0.15.1 to 0.16.0: https://wiki.ubuntu.com/Touch/ReleaseNotes/OTA-7 ** Changed in: mir Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: mir Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507982 Title: [regression] OTA7 broke previously working app To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs