[Wayland-bugs] [Bug 73871] New: Weston 1.3.93 crashes when I'm shutting down a Wayland-EGL Qt5 client(assistant-qt5) on both X11 backend and DRM backend. The breakpoint is in wayland library.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 21 03:30:05 PST 2014


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

          Priority: medium
            Bug ID: 73871
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Weston 1.3.93 crashes when I'm shutting down a
                    Wayland-EGL Qt5 client(assistant-qt5) on both X11
                    backend and DRM backend. The breakpoint is in wayland
                    library.
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: icenowylin at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

My Qt version is 5.2.0, and qtwayland is the newest git version.

[11:24:54.078] caught signal: 11
[11:24:54.078]   [000000000040824a]  --  (weston)
[11:24:54.078]   [00000000004082b7]  --  (weston)
[11:24:54.078]   [00007f07deffa7f0]  --  (/lib/libpthread.so.0)
[11:24:54.078]   [00007f07e002bc47]  wl_list_remove 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07d60b834f]  --  (/usr/lib/weston/desktop-shell.so)
[11:24:54.078]   [00007f07e002729c]  -- 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e002785c]  wl_resource_destroy 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [000000000040c254]  weston_surface_destroy  (weston)
[11:24:54.078]   [00007f07e002729c]  -- 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e002bbf6]  -- 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e002c19e]  wl_map_for_each 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e0027ab8]  wl_client_destroy 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e0027c4f]  -- 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e0029dc3]  wl_event_loop_dispatch 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.078]   [00007f07e0028215]  wl_display_run 
(/usr/lib/../lib64/libwayland-server.so.0)
[11:24:54.079]   [0000000000407b27]  --  (weston)
[11:24:54.079]   [00007f07dec5e9e5]  __libc_start_main  (/lib/libc.so.6)
[11:24:54.079]   [0000000000407c89]  --  (weston)
Trace/breakpoint trap(Core dumped)

While I am debugging the core, 
#0  0x00007f07deffa6cb in raise (sig=5)
    at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38
#1  <signal handler called>
#2  0x00007f07e002bc47 in wl_list_remove (elm=elm at entry=0x13bb0c0)
    at wayland-util.c:53
#3  0x00007f07d60b834f in destroy_shell_surface (shsurf=0x13bb060)
    at shell.c:2916
#4  0x00007f07e002729c in destroy_resource (element=0x13118c0, 
    data=data at entry=0x0) at wayland-server.c:533
#5  0x00007f07e002785c in wl_resource_destroy (resource=<optimized out>)
    at wayland-server.c:546
#6  0x000000000040c254 in wl_signal_emit (data=0x13bae70, signal=0x13bae78)
    at /usr/include/wayland-server.h:260
#7  weston_surface_destroy (surface=0x13bae70) at compositor.c:1454
#8  weston_surface_destroy (surface=0x13bae70) at compositor.c:1446
#9  0x00007f07e002729c in destroy_resource (element=0x134aa90, 
    data=<optimized out>) at wayland-server.c:533
#10 0x00007f07e002bbf6 in for_each_helper (
    func=func at entry=0x7f07e0027240 <destroy_resource>, 
    data=data at entry=0x7fff65dfe57c, entries=0x12dcc68, entries=0x12dcc68)
    at wayland-util.c:353
#11 0x00007f07e002c19e in wl_map_for_each (map=map at entry=0x12dcc68, 
    func=func at entry=0x7f07e0027240 <destroy_resource>,
...

The code near wayland-utils.c : 53 : 
WL_EXPORT void
wl_list_remove(struct wl_list *elm)
{
        elm->prev->next = elm->next;
        elm->next->prev = elm->prev;
        elm->next = NULL;
        elm->prev = NULL;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140121/e74ca7db/attachment.html>


More information about the Wayland-bugs mailing list