<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Missing RandR events on hotplug"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91929#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Missing RandR events on hotplug"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91929">bug 91929</a>
from <span class="vcard"><a class="email" href="mailto:kettenis@openbsd.org" title="Mark Kettenis <kettenis@openbsd.org>"> <span class="fn">Mark Kettenis</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>