Summary: | ABI breakage: Qt segfaults when run against libxcb 1.9.3 | ||
---|---|---|---|
Product: | XCB | Reporter: | Uli Schlachter <psychon> |
Component: | Library | Assignee: | xcb mailing list dummy <xcb> |
Status: | RESOLVED FIXED | QA Contact: | xcb mailing list dummy <xcb> |
Severity: | blocker | ||
Priority: | medium | CC: | devurandom, kensington, me, nikoamia |
Version: | 1.9.3 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 71752 |
Description
Uli Schlachter
2013-11-11 18:42:36 UTC
#qt-labs: <+peppe> psychon: I think you've nailed it, abicc complains about new fields in struct xcb_xkb_get_map_map_t and struct xcb_xkb_get_names_value_list_t Hmm clearly I did not anticipate this. I've just retested with xcb-proto and libxcb master, and the GetNames request is definitely not usable without the alignment_pad, so the patch does work as intended. However, if it breaks existing users (especially something like Qt) it should clearly be reverted. So FWIW, have my ack on reverting, as the patch author. I think if those requests weren't usable before the change, then bumping libxcb-xkb's SONAME would be a better way out than reverting. (In reply to comment #3) > I think if those requests weren't usable before the change, then bumping > libxcb-xkb's SONAME would be a better way out than reverting. I was thinking to suggest this after the dust settles. I would personally prefer it of course, as I do need the info in these requests (though the prospect of using them seemed a bit brighter 6 months ago). Another option might be to deprecate the old symbols and add new ones. But that's a whole can of worms no one wants to open. So hopefully one fix or the other can go in a short-term release, along with the python3 tab fix on the list? I added a commend regarding this in https://bugreports.qt-project.org/browse/QTBUG-34748 commit b30b11ac49d934541312b03c41d1ab83047a59f4 Author: Uli Schlachter <psychon@znc.in> Date: Mon Nov 18 20:28:08 2013 +0100 Increment the "current" version info for sync, xinput and xkb Sync: Due to commit e6a246e50e62cbcba3 "sync: Change value list param of CreateAlarm and ChangeAlarm into switch", various symbols disappeared, for example xcb_sync_{change,create}_alarm_sizeof. xinput: This extension was updated from version 1.4 to 2.3. This means that lots of new things are generated. However, this change is backwards-compatible and thus age gets set to 1. xkb: In commit 37d0f55392d6 "xkb: Work around alignment problems in GetNames and GetMap replies", some padding fields were introduced into structures for which an _unpack() function is generated. This changed the size of the struct and caused offsets into this struct to change. https://bugs.freedesktop.org/show_bug.cgi?id=71507 Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Julien Cristau <jcristau@debian.org> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.