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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 8 07:31:51 UTC 2016


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

--- Comment #27 from Olivier Fourdan <fourdan at xfce.org> ---
FWIW, I use the following script to capture the valgrind data with weston
(easier than gnome-shell because weston has an option to specify the command to
run to launch Xwayland):

1. A bash shell script named "Xwayland-valgrind" with the following content:

#!/bin/bash

exec valgrind --leak-check=full --leak-resolution=high --track-origins=yes
--log-file=xwayland.%p $(which Xwayland)  "$@"

2. Make sure the script is executable

3. Edit ~/.config/weston.ini and make the path for "[xwayland]" section points
to the script above:

[xwayland]
path=/path/to/Xwayland-valgrind

4. Reproduce the leak using weston as your Wayland compositor (you can even run
weston embedded from within a gnome-shell Wayland session, how neat is that ;-)
)

-- 
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/20160808/d99dd712/attachment.html>


More information about the wayland-bugs mailing list