==12434== Memcheck, a memory error detector ==12434== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==12434== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==12434== Command: ./weston-smoke ==12434== ==12434== Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s) ==12434== at 0x697B630: __sendmsg_nocancel (syscall-template.S:82) ==12434== by 0x548A7CC: wl_connection_flush (connection.c:295) ==12434== by 0x5489B89: wl_display_dispatch_queue (wayland-client.c:1321) ==12434== by 0x56A8D91: roundtrip (platform_wayland.c:78) ==12434== by 0x56AAC1D: dri2_initialize_wayland (platform_wayland.c:1007) ==12434== by 0x56A5616: dri2_initialize (egl_dri2.c:682) ==12434== by 0x569FA01: _eglMatchAndInitialize (egldriver.c:605) ==12434== by 0x569FA99: _eglMatchDriver (egldriver.c:636) ==12434== by 0x5697480: eglInitialize (eglapi.c:355) ==12434== by 0x410319: init_egl (window.c:5174) ==12434== by 0x410981: display_create (window.c:5338) ==12434== by 0x406291: main (smoke.c:317) ==12434== Address 0xaf341e2 is 4,146 bytes inside a block of size 16,424 alloc'd ==12434== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x548A2E3: wl_connection_create (connection.c:164) ==12434== by 0x5488ED5: wl_display_connect_to_fd (wayland-client.c:731) ==12434== by 0x5489003: wl_display_connect (wayland-client.c:780) ==12434== by 0x410797: display_create (window.c:5301) ==12434== by 0x406291: main (smoke.c:317) ==12434== ==12434== Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s) ==12434== at 0x697B630: __sendmsg_nocancel (syscall-template.S:82) ==12434== by 0x548A7CC: wl_connection_flush (connection.c:295) ==12434== by 0x5489DE5: wl_display_flush (wayland-client.c:1517) ==12434== by 0x411023: display_run (window.c:5569) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xaf343d6 is 4,646 bytes inside a block of size 16,424 alloc'd ==12434== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x548A2E3: wl_connection_create (connection.c:164) ==12434== by 0x5488ED5: wl_display_connect_to_fd (wayland-client.c:731) ==12434== by 0x5489003: wl_display_connect (wayland-client.c:780) ==12434== by 0x410797: display_create (window.c:5301) ==12434== by 0x406291: main (smoke.c:317) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405609: advect (smoke.c:115) ==12434== by 0x405D7E: redraw_handler (smoke.c:217) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2f0c50 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406487: main (smoke.c:361) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405635: advect (smoke.c:116) ==12434== by 0x405D7E: redraw_handler (smoke.c:217) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2f0c50 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406487: main (smoke.c:361) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x40565C: advect (smoke.c:116) ==12434== by 0x405D7E: redraw_handler (smoke.c:217) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2f0c54 is 4 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406487: main (smoke.c:361) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405609: advect (smoke.c:115) ==12434== by 0x405DC4: redraw_handler (smoke.c:220) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb317d90 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x40649D: main (smoke.c:362) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405635: advect (smoke.c:116) ==12434== by 0x405DC4: redraw_handler (smoke.c:220) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb317d90 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x40649D: main (smoke.c:362) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x40565C: advect (smoke.c:116) ==12434== by 0x405DC4: redraw_handler (smoke.c:220) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb317d94 is 4 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x40649D: main (smoke.c:362) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405609: advect (smoke.c:115) ==12434== by 0x405E86: redraw_handler (smoke.c:228) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2c9b10 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406471: main (smoke.c:360) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x405635: advect (smoke.c:116) ==12434== by 0x405E86: redraw_handler (smoke.c:228) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2c9b10 is 0 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406471: main (smoke.c:360) ==12434== ==12434== Invalid read of size 4 ==12434== at 0x40565C: advect (smoke.c:116) ==12434== by 0x405E86: redraw_handler (smoke.c:228) ==12434== by 0x40DE7C: widget_redraw (window.c:3995) ==12434== by 0x40E035: surface_redraw (window.c:4053) ==12434== by 0x40E0D1: idle_redraw (window.c:4082) ==12434== by 0x410FD1: display_run (window.c:5561) ==12434== by 0x40651E: main (smoke.c:373) ==12434== Address 0xb2c9b14 is 4 bytes after a block of size 160,000 alloc'd ==12434== at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12434== by 0x406471: main (smoke.c:360) ==12434== ==12434== ==12434== HEAP SUMMARY: ==12434== in use at exit: 1,397,781 bytes in 2,338 blocks ==12434== total heap usage: 30,477 allocs, 28,139 frees, 6,734,230 bytes allocated ==12434== ==12434== LEAK SUMMARY: ==12434== definitely lost: 0 bytes in 0 blocks ==12434== indirectly lost: 0 bytes in 0 blocks ==12434== possibly lost: 11,410 bytes in 193 blocks ==12434== still reachable: 1,386,371 bytes in 2,145 blocks ==12434== suppressed: 0 bytes in 0 blocks ==12434== Rerun with --leak-check=full to see details of leaked memory ==12434== ==12434== For counts of detected and suppressed errors, rerun with: -v ==12434== Use --track-origins=yes to see where uninitialised values come from ==12434== ERROR SUMMARY: 6038 errors from 12 contexts (suppressed: 2 from 2)