<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: memory leak when exporting handle"
href="https://bugzilla.gnome.org/show_bug.cgi?id=782109#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: memory leak when exporting handle"
href="https://bugzilla.gnome.org/show_bug.cgi?id=782109">bug 782109</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=mail%40baedert.org" title="Timm Bäder <mail@baedert.org>"> <span class="fn">Timm Bäder</span></a>
</span></b>
<pre>When running the org.gnome.PortalTest app in flatpak with -d --command=sh and
thenin valgrind, I get
==5== 41 bytes in 1 blocks are definitely lost in loss record 7,880 of 14,775
==5== at 0x4C28E0F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5== by 0x7050937: vasprintf (vasprintf.c:76)
==5== by 0x6A281CD: g_vasprintf (gprintf.c:316)
==5== by 0x6A0376F: g_strdup_vprintf (gstrfuncs.c:514)
==5== by 0x6A0380B: g_strdup_printf (gstrfuncs.c:540)
==5== by 0x40CE94: ??? (in /app/bin/portal-test)
==5== by 0x57C09E4: xdg_exported_handle (gdkwindow-wayland.c:4025)
==5== by 0xC1D4D03: ffi_call_unix64 (in /usr/lib/libffi.so.6.0.4)
==5== by 0xC1D47F9: ffi_call (in /usr/lib/libffi.so.6.0.4)
==5== by 0xA0D4AB9: wl_closure_invoke (connection.c:935)
==5== by 0xA0D1A2F: dispatch_event.isra.4 (wayland-client.c:1310)
==5== by 0xA0D2B6B: dispatch_queue (wayland-client.c:1456)
==5== by 0xA0D2B6B: wl_display_dispatch_queue_pending
(wayland-client.c:1698)
==5== by 0x57BA4C3: _gdk_wayland_display_queue_events (gdkeventsource.c:198)
==5== by 0x5763198: gdk_display_get_event (gdkdisplay.c:438)
==5== by 0x57BA1B1: gdk_event_source_dispatch (gdkeventsource.c:117)
==5== by 0x69E4536: g_main_dispatch (gmain.c:3203)
==5== by 0x69E4536: g_main_context_dispatch (gmain.c:3856)
==5== by 0x69E4767: g_main_context_iterate.isra.29 (gmain.c:3929)
==5== by 0x69E480B: g_main_context_iteration (gmain.c:3990)
==5== by 0x644CDEC: g_application_run (gapplication.c:2381)
==5== by 0x40ABA1: ??? (in /app/bin/portal-test)
==5== by 0x700468F: (below main) (libc-start.c:289)
when clicking the linkbutton. I also see a critical but I'm not sure if that's
related.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>