<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - memory leak under Xwayland with old sdl1 applications"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97065#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - memory leak under Xwayland with old sdl1 applications"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97065">bug 97065</a>
from <span class="vcard"><a class="email" href="mailto:fourdan@xfce.org" title="Olivier Fourdan <fourdan@xfce.org>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>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 ;-)
)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>