[Bug 91929] Missing RandR events on hotplug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 26 05:18:11 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91929

--- Comment #8 from Mark Kettenis <kettenis at openbsd.org> ---
Unfortunately commit 2c08d72393e4c8ddf5926571b087459aaa225cb1 that was made to
resolve this bug introduced infinite recursion if polling udev for events fails
(which is always the case on systems without udev).  The scenario is as
follows:

1. The server calls RRGetInfo().
2. RRGetInfo() calls sna_randr_getinfo()
3. sna_randr_getinfo() calls sna_uevent_poll(), which returns false
4. sna_randr_getinfo() calls sna_mode_discover()
5. sna_mode_discover() calls RRGetInfo()

and we jump straight back to step 2, until we run out of stack space and crash

It's not obvious to me how to fix this.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150926/e1ca6e82/attachment.html>


More information about the intel-gfx-bugs mailing list