https://bugs.freedesktop.org/show_bug.cgi?id=100878
--- Comment #3 from [email protected] ---
(In reply to Daniel Stone from comment #2)
> The clue, however, is in the names of the parameters to the functions. For
> instance, you do:
> struct wl_list list;
> struct {
> int something;
> struct wl_list link;
> } foo;
>
> wl_list_init(&list);
> wl_list_insert(&list, &foo->link);
> wl_list_remove(&foo->link);
>
> At this point, foo has been removed from list (making its link member
> dangling), but the overall list itself is still valid. Trying to remove a
> list from itself does not make any real sense; instead, you remove an
> element from that list.
ah, I see! So, does that mean the list itself is represented as an
always-present dummy-node that resides in the list?
However, it looks like the crash occurred as a result of
es->destroy_signal.listener_list.prev being NULL. Somehow, this list ceased to
be circular (at least while traversing backwards)
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs