Skip to content

Instantly share code, notes, and snippets.

@hardening
Created June 5, 2013 21:19
Show Gist options
  • Save hardening/5717415 to your computer and use it in GitHub Desktop.
Save hardening/5717415 to your computer and use it in GitHub Desktop.
Valgrind callback with some activity on windows headers
==15082== Invalid read of size 4
==15082== at 0x40A558: weston_surface_from_global_float (compositor.c:772)
==15082== by 0x40A69C: weston_surface_from_global_fixed (compositor.c:801)
==15082== by 0x40AC86: weston_compositor_pick_surface (compositor.c:957)
==15082== by 0x40E2F1: default_grab_focus (input.c:109)
==15082== by 0x40E6B4: notify_motion_absolute (input.c:663)
==15082== by 0x88445FF: xf_mouseEvent (compositor-rdp.c:770)
==15082== by 0x8CA3A1A: fastpath_recv_inputs (in /home/david/dev/install/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0)
==15082== by 0x8CADBAE: peer_recv_pdu (in /home/david/dev/install/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0)
==15082== by 0x8CAE04F: peer_recv_callback (in /home/david/dev/install/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0)
==15082== by 0x8CA552A: transport_check_fds (in /home/david/dev/install/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0)
==15082== by 0x8CADA72: freerdp_peer_check_fds (in /home/david/dev/install/lib/x86_64-linux-gnu/libfreerdp-core.so.1.1.0)
==15082== by 0x8844A8C: rdp_client_activity (compositor-rdp.c:615)
==15082== Address 0x880b9f8 is 392 bytes inside a block of size 896 free'd
==15082== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15082== by 0x4E3D915: for_each_helper.isra.0 (wayland-util.c:357)
==15082== by 0x4E3DECD: wl_map_for_each (wayland-util.c:363)
==15082== by 0x4E39E67: wl_client_destroy (wayland-server.c:506)
==15082== by 0x4E39FC7: wl_client_connection_data (wayland-server.c:208)
==15082== by 0x4E3BB62: wl_event_loop_dispatch (event-loop.c:421)
==15082== by 0x4E3A514: wl_display_run (wayland-server.c:746)
==15082== by 0x407E86: main (compositor.c:3320)
==15082==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment