[Wayland-bugs] [Bug 46450] New: wayland client demo 'dnd' crash weston when it exit on x11 backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 22 05:54:36 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46450

             Bug #: 46450
           Summary: wayland client demo 'dnd' crash weston when it exit on
                    x11 backend
    Classification: Unclassified
           Product: Wayland
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: weston
        AssignedTo: wayland-bugs at lists.freedesktop.org
        ReportedBy: jian.j.zhao at intel.com


System Environment:
--------------------------
wayland: (master) ab3b5cd71ce6dd1a532d9c1fecabb1a6e9d1a055
libdrm: (master) 23eeb7e1e45417a5a84f826286dd982dba440cd3
macros: (master) 52ef6f666a4fb46b693c81dc7a44612e6b78239d
glproto: (master) 29d5b553b30755a25300c30b67d39b37c9a76466
dri2proto: (master) 7fd18b15646a62bd82a4eb0eca60a34c1731813d
xproto: (master) ab1fba1a0967ac2289909c3f1a643f876a5dd393
libX11: (master) 2ca641c3a506dcbee97e279b67990d5387389f36
mesa: (master) 3dd7b53178cb085a1ff3d87844fa51487f8892fc
kbproto: (master) b0f7912512091ea58dfaf8dffb2a658a6afeb96d
libxkbcommon: (master) 1ab058bbb345245088f54315227fe0cf52ae54ed
pixman: (master) 4fc586c3df9a53cc1406891e751a6eed3d7da400
cairo: (master) da8841cc5ea0b45daba6b91227a2b7058a0120b7
weston: (master) 31f9d0e8de4f788aaf35fb8072dc290da19b097a

Bug detailed description:
-------------------------
When run the wayland client demo 'dnd' on x11 backend, it works well on the
operations like draging, but when stop the demo, it will cause the weston
crashed. I tested on SandyBridge, and it works well on drm backend. 

There is an error message in dmesg as: weston[29804]: segfault at 0 ip
00007f2f57f6a763 sp 00007fffba5c9f40 error 4 in
libwayland-server.so.0.0.0[7f2f57f66000+b000]
And the output on the wayland server side is as following shows: 
        [root at x-sgb3 src]# ./weston
        using socket /run/user/root/wayland-0
        Internal error:   Could not resolve keysym SunProps
        Internal error:   Could not resolve keysym SunFront
        Internal error:   Could not resolve keysym SunOpen
        disconnect from client 0x1e7a8e0
        caught segv
          [0000000000405ca3]  --  (./weston)
          [0000003079036320]  --  (/lib64/libc.so.6)
          [00007f2f578d9c01]  pixman_region32_union 
(/home/jzhao/install/lib/libpixman-1.so.0)
          [0000000000407e29]  --  (./weston)
          [0000000000407eac]  --  (./weston)
          [00007f2f57f6ec39]  wl_map_for_each 
(/home/jzhao/install/lib/libwayland-server.so.0)
          [00007f2f57f6ac52]  wl_client_destroy 
(/home/jzhao/install/lib/libwayland-server.so.0)
          [00007f2f57f6ad91]  -- 
(/home/jzhao/install/lib/libwayland-server.so.0)
          [00007f2f57f6d122]  wl_event_loop_dispatch 
(/home/jzhao/install/lib/libwayland-server.so.0)
          [00007f2f57f6b61d]  wl_display_run 
(/home/jzhao/install/lib/libwayland-server.so.0)
          [0000000000405a83]  --  (./weston)
          [000000307902169d]  __libc_start_main  (/lib64/libc.so.6)
          [0000000000405b79]  --  (./weston)
        disconnect from client 0x1e5bf90
        read error from connection 0x1635820: Connection reset by peer (104)
        read error: Connection reset by peer
        Segmentation fault (core dumped)


Reproduce steps:
-------------------------
1. start x
2. start weston
3. start demo dnd
4. close demo dnd after some operations

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list