<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Valgrind error on shutdown"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68157#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Valgrind error on shutdown"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68157">bug 68157</a>
from <span class="vcard"><a class="email" href="mailto:mceier+freedesktop@gmail.com" title="Mariusz Ceier <mceier+freedesktop@gmail.com>"> <span class="fn">Mariusz Ceier</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=84396" name="attach_84396" title="valgrind log after applying patch">attachment 84396</a> <a href="attachment.cgi?id=84396&action=edit" title="valgrind log after applying patch">[details]</a></span>
valgrind log after applying patch
I tested attached patch with git master, and it seems to at least remove
"Invalid read of size 8" in unbind_input_method, but it doesn't remove "Invalid
read of size 8" triggered by wl_client_destroy.
Attached current valgrind log.
==6992== Invalid read of size 8
==6992== at 0x4E3A061: wl_signal_emit (wayland-server.h:170)
==6992== by 0x4E3AFA6: wl_client_destroy (wayland-server.c:600)
==6992== by 0x41A8DF: text_backend_notifier_destroy (text-backend.c:934)
==6992== by 0x409078: wl_signal_emit (wayland-server.h:171)
==6992== by 0x410856: main (compositor.c:3463)
==6992== Address 0xd49a0e8 is 120 bytes inside a block of size 144 free'd
==6992== at 0x4C2AF7C: free (vg_replace_malloc.c:446)
==6992== by 0x4E3B01B: wl_client_destroy (wayland-server.c:608)
==6992== by 0x4E3A5AC: wl_client_connection_data (wayland-server.c:244)
==6992== by 0x4E3CD5B: wl_event_source_fd_dispatch (event-loop.c:86)
==6992== by 0x4E3D70C: wl_event_loop_dispatch (event-loop.c:421)
==6992== by 0x4E3B860: wl_display_run (wayland-server.c:869)
==6992== by 0x410835: main (compositor.c:3457)
==6992==
==6992== Invalid read of size 8
==6992== at 0x4E3A06D: wl_signal_emit (wayland-server.h:170)
==6992== by 0x4E3AFA6: wl_client_destroy (wayland-server.c:600)
==6992== by 0x41A8DF: text_backend_notifier_destroy (text-backend.c:934)
==6992== by 0x409078: wl_signal_emit (wayland-server.h:171)
==6992== by 0x410856: main (compositor.c:3463)
==6992== Address 0xd49a0e8 is 120 bytes inside a block of size 144 free'd
==6992== at 0x4C2AF7C: free (vg_replace_malloc.c:446)
==6992== by 0x4E3B01B: wl_client_destroy (wayland-server.c:608)
==6992== by 0x4E3A5AC: wl_client_connection_data (wayland-server.c:244)
==6992== by 0x4E3CD5B: wl_event_source_fd_dispatch (event-loop.c:86)
==6992== by 0x4E3D70C: wl_event_loop_dispatch (event-loop.c:421)
==6992== by 0x4E3B860: wl_display_run (wayland-server.c:869)
==6992== by 0x410835: main (compositor.c:3457)
==6992==</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>