Skip to content

Instantly share code, notes, and snippets.

@vosst
Created September 27, 2017 07:51
Show Gist options
  • Save vosst/f3de3db8c275f71991f5ba4434864928 to your computer and use it in GitHub Desktop.
Save vosst/f3de3db8c275f71991f5ba4434864928 to your computer and use it in GitHub Desktop.
`valgrind` output without fix
==91== Invalid read of size 8
==91== at 0x159D3AA: uv__stream_destroy (stream.c:447)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01478 is 24 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x159D3AE: uv__stream_destroy (stream.c:447)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01470 is 16 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x159D3BE: uv__stream_destroy (stream.c:447)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01470 is 16 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x159D3C2: uv__stream_destroy (stream.c:447)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01478 is 24 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x159D3D1: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f014a0 is 64 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x98B5DCF: uv_tc_on_connect (tcp_client_uv.c:80)
==91== by 0x159D3D3: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01460 is 0 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 8
==91== at 0x98B5E01: uv_tc_on_connect (tcp_client_uv.c:84)
==91== by 0x159D3D3: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01508 is 168 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 4
==91== at 0x9885D90: grpc_timer_cancel (timer_uv.c:84)
==91== by 0x98B5E0C: uv_tc_on_connect (tcp_client_uv.c:85)
==91== by 0x159D3D3: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f014d0 is 112 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid read of size 4
==91== at 0x98B5E3E: uv_tc_on_connect (tcp_client_uv.c:108)
==91== by 0x159D3D3: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01518 is 184 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91==
==91== Invalid write of size 4
==91== at 0x98B5E49: uv_tc_on_connect (tcp_client_uv.c:108)
==91== by 0x159D3D3: uv__stream_destroy (stream.c:448)
==91== by 0x1591C1F: uv__finish_close (core.c:264)
==91== by 0x1591C1F: uv__run_closing_handles (core.c:294)
==91== by 0x1591C1F: uv_run (core.c:364)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
==91== Address 0x8f01518 is 184 bytes inside a block of size 208 free'd
==91== at 0x4C29E90: free (vg_replace_malloc.c:473)
==91== by 0x9881067: exec_ctx_run (exec_ctx.c:70)
==91== by 0x9881067: grpc_exec_ctx_flush (exec_ctx.c:91)
==91== by 0x9885C69: run_expired_timer (timer_uv.c:52)
==91== by 0x159FD9B: uv__run_timers (timer.c:165)
==91== by 0x1591A31: uv_run (core.c:353)
==91== by 0x1367A74: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) (in /usr/local/bin/node)
==91== by 0x1361752: node::Start(int, char**) (in /usr/local/bin/node)
==91== by 0x5CA1B44: (below main) (libc-start.c:287)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment