[Xcb] update to libxcb 1.12 breaks 32bit applications

James Cloos cloos at jhcloos.com
Sun Jun 5 19:25:15 UTC 2016


>>>>> "US" == Uli Schlachter <psychon at znc.in> writes:

G>> Program received signal SIGSEGV, Segmentation fault.
G>> 0xf50ed6d1 in remove_finished_readers (completed=<optimized out>,
G>> prev_reader=0x980d0c8) at xcb_in.c:107
G>> 107         while(*prev_reader &&
G>> XCB_SEQUENCE_COMPARE((*prev_reader)->request, <=, completed))

US> Weird. I have no idea. The gdb output says "prev_reader=0x980d0c8",
US> so this can't be where the NULL pointer comes from. *prev_reader
US> can't be the problem either, because this value is checked.

Since it is (*prev_reader)->request that is a double-dereference, yes?
So the uint32_t at 0x980d0c8, which should be a pointer to a struct, is
presumably the problem.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


More information about the Xcb mailing list