Skip to content

Instantly share code, notes, and snippets.

@hardening
Created July 25, 2013 21:56
Show Gist options
  • Save hardening/6084144 to your computer and use it in GitHub Desktop.
Save hardening/6084144 to your computer and use it in GitHub Desktop.
wl_bind_seat with full debug
[115262.022] -> wl_registry@2.global(16, "wl_seat", 2)
[115264.417] -> wl_registry@2.global(17, "wl_input_method", 1)
[23:51:21.943] launching '/home/david/dev/install/libexec/weston-keyboard'
[115269.835] wl_registry@2.global(16, "wl_seat", 2)
[115269.870] -> wl_registry@2.bind(16, "wl_seat", 1, new id [unknown]@18)
[115269.884] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@22, wl_seat@18)
[115269.892] -> wl_compositor@3.create_surface(new id wl_surface@21)
[115269.903] wl_registry@2.global(17, "wl_input_method", 1)
[115273.990] -> wl_registry@2.global(18, "wl_seat", 2)
[115274.335] -> wl_registry@2.global(19, "wl_input_method", 1)
[115280.071] -> wl_display@1.get_registry(new id wl_registry@2)
Client Security: NLA:0 TLS:0 RDP:1
Server Security: NLA:0 TLS:0 RDP:1
Negotiated Security: NLA:0 TLS:0 RDP:1
[115302.797] wl_registry@2.bind(16, "wl_seat", 1, new id [unknown]@18)
[115303.915] -> wl_seat@18.capabilities(0)
[115304.209] wl_data_device_manager@6.get_data_device(new id wl_data_device@22, wl_seat@18)
[115304.940] wl_compositor@3.create_surface(new id wl_surface@21)
[115305.162] wl_registry@2.global(18, "wl_seat", 2)
[115305.209] -> wl_registry@2.bind(18, "wl_seat", 1, new id [unknown]@25)
[115305.243] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@17, wl_seat@25)
[115305.265] -> wl_compositor@3.create_surface(new id wl_surface@26)
[115305.287] wl_registry@2.global(19, "wl_input_method", 1)
[115305.317] wl_seat@18.capabilities(0)
[23:51:21.984] unable to checkDescriptor for 0x109ed8c0
Client Security: NLA:0 TLS:0 RDP:1
Server Security: NLA:0 TLS:0 RDP:1
Negotiated Security: NLA:0 TLS:0 RDP:1
[115336.121] wl_display@1.get_registry(new id wl_registry@2)
[115336.295] -> wl_registry@2.global(1, "wl_display", 1)
[115336.448] -> wl_registry@2.global(2, "wl_compositor", 3)
[115336.611] -> wl_registry@2.global(3, "wl_subcompositor", 1)
[115336.757] -> wl_registry@2.global(4, "screenshooter", 1)
[115336.906] -> wl_registry@2.global(5, "text_cursor_position", 1)
[115337.054] -> wl_registry@2.global(6, "wl_text_input_manager", 1)
[115337.207] -> wl_registry@2.global(7, "wl_data_device_manager", 1)
[115337.356] -> wl_registry@2.global(8, "wl_shm", 1)
[115337.504] -> wl_registry@2.global(9, "wl_output", 2)
[115337.652] -> wl_registry@2.global(10, "wl_shell", 1)
[115337.805] -> wl_registry@2.global(11, "desktop_shell", 2)
[115337.953] -> wl_registry@2.global(12, "screensaver", 1)
[115338.105] -> wl_registry@2.global(13, "wl_input_panel", 1)
[115338.253] -> wl_registry@2.global(14, "workspace_manager", 1)
[115338.406] -> wl_registry@2.global(15, "xserver", 1)
[115338.557] -> wl_registry@2.global(16, "wl_seat", 2)
[115338.705] -> wl_registry@2.global(17, "wl_input_method", 1)
[115338.852] -> wl_registry@2.global(18, "wl_seat", 2)
[115339.003] -> wl_registry@2.global(19, "wl_input_method", 1)
==30334== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==30334== at 0x6182F7D: ??? (syscall-template.S:81)
==30334== by 0x4E3C602: wl_connection_flush (connection.c:286)
==30334== by 0x4E3A88E: wl_display_flush_clients (wayland-server.c:847)
==30334== by 0x4E3A8E7: wl_display_run (wayland-server.c:835)
==30334== by 0x40FDF3: main (compositor.c:3423)
==30334== Address 0x10a6f593 is 4,131 bytes inside a block of size 16,424 alloc'd
==30334== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30334== by 0x4E3C449: wl_connection_create (connection.c:155)
==30334== by 0x4E3AEC2: wl_client_create (wayland-server.c:362)
==30334== by 0x408BB7: weston_client_launch (compositor.c:230)
==30334== by 0x419D44: launch_input_method (text-backend.c:872)
==30334== by 0x419E75: handle_seat_created (text-backend.c:909)
==30334== by 0x40FF5C: wl_signal_emit (wayland-server.h:171)
==30334== by 0x4135DB: weston_seat_init (input.c:1546)
==30334== by 0x8846BC5: rdp_peer_init (compositor-rdp.c:953)
==30334== by 0x8846D5B: rdp_incoming_peer (compositor-rdp.c:981)
==30334== by 0x8CF1049: freerdp_listener_check_fds (listener.c:313)
==30334== by 0x8845D57: rdp_listener_activity (compositor-rdp.c:538)
==30334==
[115339.433] wl_registry@2.global(1, "wl_display", 1)
[115339.490] wl_registry@2.global(2, "wl_compositor", 3)
[115339.521] -> wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@3)
[115339.565] wl_registry@2.global(3, "wl_subcompositor", 1)
[115339.594] -> wl_registry@2.bind(3, "wl_subcompositor", 1, new id [unknown]@4)
[115339.625] wl_registry@2.global(4, "screenshooter", 1)
[115339.651] wl_registry@2.global(5, "text_cursor_position", 1)
[115339.678] -> wl_registry@2.bind(5, "text_cursor_position", 1, new id [unknown]@5)
[115339.718] wl_registry@2.global(6, "wl_text_input_manager", 1)
[115339.740] wl_registry@2.global(7, "wl_data_device_manager", 1)
[115339.770] -> wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@6)
[115339.809] wl_registry@2.global(8, "wl_shm", 1)
[115339.838] -> wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@7)
[115339.879] wl_registry@2.global(9, "wl_output", 2)
[115339.904] -> wl_registry@2.bind(9, [23:51:22.017] "wl_output", 2, new id [unknown]@8)
[115339.934] wl_registry@2.global(10, unable to checkDescriptor for 0x10a72750
"wl_shell", 1)
[115339.955] -> wl_registry@2.bind(10, "wl_shell", 1, new id [unknown]@9)
[115339.990] wl_registry@2.global(11, "desktop_shell", 2)
[115340.014] wl_registry@2.global(12, "screensaver", 1)
[115340.044] wl_registry@2.global(13, "wl_input_panel", 1)
[115340.086] wl_registry@2.global(14, "workspace_manager", 1)
[115340.142] -> wl_registry@2.bind(14, "workspace_manager", 1, new id [unknown]@10)
[115340.200] wl_registry@2.global(15, "xserver", 1)
[115340.220] wl_registry@2.global(16, "wl_seat", 2)
[115340.240] -> wl_registry@2.bind(16, "wl_seat", 1, new id [unknown]@11)
[115340.267] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@12, wl_seat@11)
[115340.286] -> wl_compositor@3.create_surface(new id wl_surface@13)
[115340.304] wl_registry@2.global(17, "wl_input_method", 1)
[115340.325] wl_registry@2.global(18, "wl_seat", 2)
[115340.345] -> wl_registry@2.bind(18, "wl_seat", 1, new id [unknown]@14)
[115340.371] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@15, wl_seat@14)
[115340.389] -> wl_compositor@3.create_surface(new id wl_surface@16)
[115340.404] wl_registry@2.global(19, "wl_input_method", 1)
using config in current working directory: ./weston.ini
[115340.545] -> wl_shm@7.create_pool(new id wl_shm_pool@17, fd 7, 4096)
[115340.726] -> wl_shm_pool@17.resize(12288)
[115340.813] -> wl_shm_pool@17.resize(28672)
[115341.600] -> wl_shm_pool@17.resize(61440)
[115341.631] -> wl_shm_pool@17.resize(126976)
[115341.671] -> wl_shm_pool@17.resize(258048)
[115342.781] wl_registry@2.bind(18, "wl_seat", 1, new id [unknown]@25)
==30334== Invalid read of size 8
==30334== at 0x4E3DE50: wl_list_insert (wayland-util.c:45)
==30334== by 0x412BE4: bind_seat (input.c:1268)
==30334== by 0x6455C17: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1)
==30334== by 0x645557F: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1)
==30334== by 0x4E3D962: wl_closure_invoke (connection.c:919)
==30334== by 0x4E3A339: wl_client_connection_data (wayland-server.c:307)
==30334== by 0x4E3C1A2: wl_event_loop_dispatch (event-loop.c:421)
==30334== by 0x4E3A8F4: wl_display_run (wayland-server.c:836)
==30334== by 0x40FDF3: main (compositor.c:3423)
==30334== Address 0x10ade770 is 1,344 bytes inside a block of size 1,688 free'd
==30334== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30334== by 0x8CF206A: freerdp_peer_free (peer.c:437)
==30334== by 0x88460DE: rdp_client_activity (compositor-rdp.c:623)
==30334== by 0x4E3C1A2: wl_event_loop_dispatch (event-loop.c:421)
==30334== by 0x4E3A8F4: wl_display_run (wayland-server.c:836)
[115343.612] -> wl_shm_pool@17.resize(520192==30334== by 0x40FDF3: main (compositor.c:3423)
==30334==
)
==30334== Invalid write of size 8
==30334== at 0x4E3DE5B: wl_list_insert (wayland-util.c:46)
==30334== by 0x412BE4: bind_seat (input.c:1268)
==30334== by 0x6455C17: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1)
==30334== by 0x645557F: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1)
==30334== by 0x4E3D962: wl_closure_invoke (connection.c:919)
==30334== by 0x4E3A339: wl_client_connection_data (wayland-server.c:307)
==30334== by 0x4E3C1A2: wl_event_loop_dispatch (event-loop.c:421)
==30334== by 0x4E3A8F4: wl_display_run (wayland-server.c:836)
==30334== by 0x40FDF3: main (compositor.c:3423)
==30334== Address 0x10ade770 is 1,344 bytes inside a block of size 1,688 free'd
==30334== at 0x4C2BA6C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30334== by 0x8CF206A: freerdp_peer_free (peer.c:437)
==30334== by 0x88460DE: rdp_client_activity (compositor-rdp.c:623)
==30334== by 0x4E3C1A2: wl_event_loop_dispatch (event-loop.c:421)
==30334== by 0x4E3A8F4: wl_display_run (wayland-server.c:836)
==30334== by 0x40FDF3: main (compositor.c:3423)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment