[Wayland-bugs] [Bug 97065] memory leak under Xwayland with old sdl1 applications

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 2 08:57:21 UTC 2016


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

--- Comment #18 from Olivier Fourdan <fourdan at xfce.org> ---
I think I can reproduce (although the biggest leaks I see seem to come from
glamor/mesa, but that's another story...).

There seem to be a similar pattern here:

  60,912 bytes in 846 blocks are definitely lost in loss record 5,820 of 5,833
     at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
     by 0x54926C2: UnknownInlinedFun (wayland-private.h:229)
     by 0x54926C2: proxy_create.isra.0 (wayland-client.c:336)
     by 0x5492B64: create_outgoing_proxy (wayland-client.c:546)
     by 0x5492B64: wl_proxy_marshal_array_constructor_versioned
(wayland-client.c:631)
     by 0x5492E89: wl_proxy_marshal_constructor (wayland-client.c:720)
     by 0x4236FC: wl_surface_frame (wayland-client-protocol.h:1873)
     by 0x4236FC: xwl_screen_post_damage (xwayland.c:401)
     by 0x4236FC: block_handler (xwayland.c:489)
     by 0x43E414: BlockHandler (dixutils.c:394)
     by 0x4787BA: WaitForSomething (WaitFor.c:216)
     by 0x4398FD: Dispatch (dispatch.c:359)
     by 0x43DA62: dix_main (main.c:300)
     by 0x7068730: (below main) (libc-start.c:289)


  1,368 bytes in 19 blocks are definitely lost in loss record 5,023 of 5,833
     at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
     by 0x54926C2: UnknownInlinedFun (wayland-private.h:229)
     by 0x54926C2: proxy_create.isra.0 (wayland-client.c:336)
     by 0x5492B64: create_outgoing_proxy (wayland-client.c:546)
     by 0x5492B64: wl_proxy_marshal_array_constructor_versioned
(wayland-client.c:631)
     by 0x5492E89: wl_proxy_marshal_constructor (wayland-client.c:720)
     by 0x425C34: wl_surface_frame (wayland-client-protocol.h:1873)
     by 0x425C34: xwl_seat_set_cursor (xwayland-cursor.c:158)
     by 0x740FC57: ffi_call_unix64 (unix64.S:76)
     by 0x740F6B9: ffi_call (ffi64.c:525)
     by 0x5495A9D: wl_closure_invoke (connection.c:949)
     by 0x549283F: dispatch_event.isra.4 (wayland-client.c:1274)
     by 0x5493A13: dispatch_queue (wayland-client.c:1420)
     by 0x5493A13: wl_display_dispatch_queue_pending (wayland-client.c:1662)
     by 0x423562: wakeup_handler (xwayland.c:478)
     by 0x43E54C: WakeupHandler (dixutils.c:423)


  1,008 bytes in 14 blocks are definitely lost in loss record 4,784 of 5,833
     at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
     by 0x54926C2: UnknownInlinedFun (wayland-private.h:229)
     by 0x54926C2: proxy_create.isra.0 (wayland-client.c:336)
     by 0x5492B64: create_outgoing_proxy (wayland-client.c:546)
     by 0x5492B64: wl_proxy_marshal_array_constructor_versioned
(wayland-client.c:631)
     by 0x5492E89: wl_proxy_marshal_constructor (wayland-client.c:720)
     by 0x425C34: wl_surface_frame (wayland-client-protocol.h:1873)
     by 0x425C34: xwl_seat_set_cursor (xwayland-cursor.c:158)
     by 0x4C941A: miPointerUpdateSprite (mipointer.c:456)
     by 0x4C9669: miPointerDisplayCursor (mipointer.c:194)
     by 0x4B6508: CursorDisplayCursor (cursor.c:150)
     by 0x53988F: AnimCurDisplayCursor (animcur.c:225)
     by 0x442787: ChangeToCursor (events.c:931)
     by 0x446529: CheckMotion (events.c:3075)
     by 0x54A9D7: ProcessDeviceEvent (exevents.c:1716)


  936 bytes in 13 blocks are possibly lost in loss record 4,692 of 5,833
     at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
     by 0x54926C2: UnknownInlinedFun (wayland-private.h:229)
     by 0x54926C2: proxy_create.isra.0 (wayland-client.c:336)
     by 0x5492B64: create_outgoing_proxy (wayland-client.c:546)
     by 0x5492B64: wl_proxy_marshal_array_constructor_versioned
(wayland-client.c:631)
     by 0x5492E89: wl_proxy_marshal_constructor (wayland-client.c:720)
     by 0x4236FC: wl_surface_frame (wayland-client-protocol.h:1873)
     by 0x4236FC: xwl_screen_post_damage (xwayland.c:401)
     by 0x4236FC: block_handler (xwayland.c:489)
     by 0x43E414: BlockHandler (dixutils.c:394)
     by 0x4787BA: WaitForSomething (WaitFor.c:216)
     by 0x4398FD: Dispatch (dispatch.c:359)
     by 0x43DA62: dix_main (main.c:300)
     by 0x7068730: (below main) (libc-start.c:289)


  576 bytes in 8 blocks are definitely lost in loss record 4,239 of 5,833
     at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
     by 0x54926C2: UnknownInlinedFun (wayland-private.h:229)
     by 0x54926C2: proxy_create.isra.0 (wayland-client.c:336)
     by 0x5492B64: create_outgoing_proxy (wayland-client.c:546)
     by 0x5492B64: wl_proxy_marshal_array_constructor_versioned
(wayland-client.c:631)
     by 0x5492E89: wl_proxy_marshal_constructor (wayland-client.c:720)
     by 0x425C34: wl_surface_frame (wayland-client-protocol.h:1873)
     by 0x425C34: xwl_seat_set_cursor (xwayland-cursor.c:158)
     by 0x4C941A: miPointerUpdateSprite (mipointer.c:456)
     by 0x4C5366: mieqProcessInputEvents (mieq.c:648)
     by 0x4398EE: Dispatch (dispatch.c:355)
     by 0x43DA62: dix_main (main.c:300)
     by 0x7068730: (below main) (libc-start.c:289)

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


More information about the wayland-bugs mailing list