(timeout in ms vs. XSyncValueSubtract) Frozen client, found cause, need advise for fix

Adam Jackson ajax at nwnk.net
Tue Feb 28 18:49:29 UTC 2017


On Mon, 2017-02-20 at 10:55 +0100, Daniel Martin wrote:

> What happens is:
> - ServertimeBlockHandler() forwards a _big_ unsigned timeout to
> AdjustWaitForDelay()
> - AdjustWaitForDelay() takes this _big_ unsigned as int and it becomes
> a negative value

This, I think, is where things start to go wrong. There's no sense in
treating the timeout as a negative value, we should just fix that.

- ajax


More information about the xorg-devel mailing list