-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weston sample clients don't run #5
Comments
The I think I'll leave the (new) |
I re-generated The underlying issue was that If we check protocol versions between the library and the user, this might be a problem we can catch earlier. See issue #10. |
I suspect the remaining two bugs (segfaults) are actually a GHC bug. See e.g. this (solved) GHC STM bug. |
Ah. They are not, in fact! One source was a potential null pointer (which we now deal with). Another is caused by the fact that we do not deal with object destruction. This will be fixed as well. |
The remaining issue with In fact, it seems that libwayland has a bug here: if the server sends an event containing an fd on an object that the client has deleted, the fd stream gets out of sync because fds are read in wl_connection_demarshal, which is not called on objects that are already destroyed by the client. |
All clients now run correctly, as far as I can see. Please open a new bug report if you spot any broken clients (weston demo clients or otherwise). |
A number of sample clients included with the weston reference compositor do not run correctly when using sudbury client-side.
weston-simple-egl
This might be caused by lack of dealing with null pointers in
cArgToWireArg
inCrap.Client
.weston-simple-dmabuf-intel
We probably made a mistake in handling new_ids that are part of an event (ie a message from the server), in other words we can't deal with the case where the server decides to create an object.
weston-flower
I'm not sure where this originates, but I previously encountered such a loop via an STM deadlock. A number of clients have this error, and they all successfully open a window and then exit in this way. So they show a black rectangle on the screen for a split second.
weston-info
This is because we did not bake in support for
wl_list
. Should be an easy fix by just including some C code. (We are not planning to supportwl_list
on the Haskell side of things because it's not really necessary to do so: we can get away with just providing this C interface.)weston-flower
againOn mouseover:
weston-subsurfaces
weston-dnd
When actually starting a drag:
weston-dnd
againWhen finishing the drag:
(we have to think about object lifetime, and do event handling accordingly)
The text was updated successfully, but these errors were encountered: