<div dir="ltr">Dear pekka & All:<div><br></div><div>I find a wayland application report error about allocate memory fail. </div><div>I check the code, after request to weston to allocate dma buffer, it call wl_display_roundtrip().</div><div>But this function return very fast, it doesn't block until the create events back.</div><div><br></div><div>I suspect the display->last_error is not 0. Then the wl_display_roundtrip() return fast because of the last_error. Does it right?</div><div><br></div><div>I find the following log:</div><div>
<div class="gmail-WordSection1" style="page: WordSection1;">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">wl_display@1: error 0: invalid object 10</span><span style="font-size:10pt;font-family:"Microsoft YaHei",sans-serif;color:black"> </span></p>
</div>
<br></div><div>Does the application need to handle the display errors? How could I make the last_error not impact wl_display_roundtrip?</div><div><br></div><div>Thank you.</div><div><br></div><div>Best Regards</div><div>Nancy</div><div><br></div></div>