xterm can't run in XWayland

yong.gan at freescale.com yong.gan at freescale.com
Tue Jun 17 01:46:54 PDT 2014


Hi ALL:

I run weston 1.5.0 with XWayland support using fb backend,  but Xserver and Xterm were  stuck  in waiting events.
I build xserver according the following URL, and xserver is listening.

[08:36:59.390] xserver listening on display :0
http://wayland.freedesktop.org/xserver.html

Can anyone give some advice to me, thanks a lot.


1.       Xserver starting seem ok, it is the same with X Application run in RebeccaBlack  image

root at imx6qsabresd:~# xterm

Date: 2014-06-17 UTC

[01:35:14.261] forked X server, pid 843

[01:35:14.834] xfixes version: 5.0

[01:35:14.903] created wm, root 71



2.       Xserver stuck in WaitForSomething

/*****************

* WaitForSomething:

*     Make the server suspend until there is

*            1. data from clients or

*            2. input events available or

*            3. ddx notices something of interest (graphics

*               queue ready, etc.) or

*            4. clients that have buffered replies/events are ready

*

*     If the time between INPUT events is

*     greater than ScreenSaverTime, the display is turned off (or

*     saved, depending on the hardware).  So, WaitForSomething()

*     has to handle this also (that's why the select() has a timeout.

*     For more info on ClientsWithInput, see ReadRequestFromClient().

*     pClientsReady is an array to store ready client->index values into.

*****************/
0x76c50a0c in select () from /lib/libc.so.6
(gdb) bt
#0  0x76c50a0c in select () from /lib/libc.so.6
#1  0x0013ec7c in WaitForSomething (pClientsReady=0x0,
    pClientsReady at entry=0x1737ec <dispatchException>)
    at /usr/src/debug/xserver-xorg/2_git-r0/git/os/WaitFor.c:226
#2  0x00110734 in Dispatch ()
    at /usr/src/debug/xserver-xorg/2_git-r0/git/dix/dispatch.c:361
#3  0x0011474c in dix_main (argc=10, argv=0x11474c <dix_main+1052>,
    envp=<optimized out>)
    at /usr/src/debug/xserver-xorg/2_git-r0/git/dix/main.c:296
#4  0x76b9f2bc in __libc_start_main () from /lib/libc.so.6
#5  0x0002d57c in _start () at ../ports/sysdeps/arm/start.S:124


3.       Xterm stuck in read_block.

0x76d2ebd8 in poll () from /lib/libc.so.6

(gdb) bt

#0  0x76d2ebd8 in poll () from /lib/libc.so.6

#1  0x76c28bdc in read_block (len=8, buf=0x6adc8, fd=3)

    at /usr/src/debug/libxcb/1.10-r0/libxcb-1.10/src/xcb_in.c:382

#2  _xcb_in_read_block (c=c at entry=0x6ae80, buf=<optimized out>,

    len=len at entry=8)

    at /usr/src/debug/libxcb/1.10-r0/libxcb-1.10/src/xcb_in.c:978

#3  0x76c26b1c in read_setup (c=0x6ae80)

    at /usr/src/debug/libxcb/1.10-r0/libxcb-1.10/src/xcb_conn.c:148

#4  xcb_connect_to_fd (fd=<optimized out>, auth_info=auth_info at entry=0x0)

    at /usr/src/debug/libxcb/1.10-r0/libxcb-1.10/src/xcb_conn.c:330

#5  0x76c2a310 in xcb_connect_to_display_with_auth_info (

    displayname=<optimized out>, auth=0x0, screenp=0x0)

    at /usr/src/debug/libxcb/1.10-r0/libxcb-1.10/src/xcb_util.c:472

#6  0x76dfc9c0 in _XConnectXCB () from /usr/lib/libX11.so.6

#7  0x76dee2d0 in XOpenDisplay () from /usr/lib/libX11.so.6

#8  0x76ef3164 in XtOpenDisplay () from /usr/lib/libXt.so.6

#9  0x76ef36d0 in _XtAppInit () from /usr/lib/libXt.so.6

#10 0x76efcbd4 in XtOpenApplication () from /usr/lib/libXt.so.6

#11 0x0003bc1c in ?? ()


Best regards
Yong Gan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140617/9fca3e57/attachment-0001.html>


More information about the wayland-devel mailing list