On Thu, 27 Dec 2018 11:55:03 -0800
Dima Ryazanov <[email protected]> wrote:

> Hello,
> 
> Yes, that's expected. From the documentation
> <https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_display-event-error>:
> "The error event is sent out when a fatal (non-recoverable) error has
> occurred"
> It indicates a bug in the code, so there's no point in handling the error.

Correct. After any protocol error, the Wayland connetion is dead.
The only way to recover is to clean up the old connection and make
a new one, starting from scratch.

Of course, runtime recovery is just a band-aid, and you really
should fix the underlying bug that caused the protocol error in the
first place. A protocol error is conceptually not much different
from a segmentation fault or a crash - it should never happen.


Thanks,
pq


> On Thu, Dec 27, 2018 at 6:40 AM Ikshwaku Chauhan <[email protected]>
> wrote:
> 
> > Hello All,
> >
> > We are facing an issue where we are not receiving any surface/layer
> > creation/distortion notifications from Layermanager.
> >
> > We debugged and found that, once we get "*display protocol error :
> > Invalid Object XX" i.e, ([email protected](wl_display@1, 0, "invalid
> > object XX"))* on wayland client side, there is No further communication
> > between Wayland Protocol and Client to and from both.
> >
> > Is this an expected behavior or any recovery is possible?
> >
> > We are using wayland/weston/wayland-ivi-extension 1.11.0 with drm-backend
> > on TI's Soc.
> >
> > Thanks you in advance.
> >
> >
> > Regards,
> >
> > Ikshwaku

Attachment: pgp5HzvO6M8TS.pgp
Description: OpenPGP digital signature

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to