Compiled the wayland successfully.  When run client/flower under X, always get 
below error:
failed to create display: Connection refused
Segment fault

gdb traced the lt-flower into wayland-client.c
362        if (connect(display->fd, (struct sockaddr *) &addr, size) < 0) {

This line failed to connect to the socket, causing wl_display_create returning 
NULL.

This NULL display pointer exception was not well handled and caused the 
SEGFAULT later.

What is the reason it failed to connect to the socket in line 362 of 
wayland-client.c?

Mag




      
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to