The new pa_poll() implementation introduced in 7e344b5ff04512b7323d6c42a7bcbe5438ea4e3f has a bunch of bugs in it. Although the general principle of it is probably sound, there are some adjustments that need to be made. See attached patches.
Created attachment 86367 [details] [review]
Created attachment 86368 [details] [review]
Created attachment 86369 [details] [review]
Thanks! All applied.