==984== Memcheck, a memory error detector ==984== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==984== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==984== Command: /home/mrwiggles/gnunet-ng/src/core/.libs/gnunet-service-core -c /tmp/gnunet-testing-configqz6t1n ==984== Parent PID: 983 ==984== ==984== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==984== at 0x5B6F5F2: send (send.c:28) ==984== by 0x56686D9: GNUNET_NETWORK_socket_send (network.c:534) ==984== by 0x565738A: transmit_ready (connection.c:1494) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x66deb88 is 8 bytes inside a block of size 272 alloc'd ==984== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==984== by 0x565126F: GNUNET_xrealloc_ (common_allocation.c:167) ==984== by 0x565722B: transmit_ready (connection.c:1479) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 4 ==984== at 0x543CD00: neighbour_disconnect (transport_api.c:1139) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x7066e50 is 160 bytes inside a block of size 168 free'd ==984== at 0x4C270BD: free (vg_replace_malloc.c:366) ==984== by 0x565132E: GNUNET_xfree_ (common_allocation.c:196) ==984== by 0x543CC67: neighbour_free (transport_api.c:1117) ==984== by 0x543E5C3: GNUNET_TRANSPORT_notify_transmit_ready_cancel (transport_api.c:1894) ==984== by 0x409887: handle_transport_notify_disconnect (gnunet-service-core.c:4222) ==984== by 0x543CCFB: neighbour_disconnect (transport_api.c:1138) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 8 ==984== at 0x543CB2E: neighbour_free (transport_api.c:1096) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x7066dc8 is 24 bytes inside a block of size 168 free'd ==984== at 0x4C270BD: free (vg_replace_malloc.c:366) ==984== by 0x565132E: GNUNET_xfree_ (common_allocation.c:196) ==984== by 0x543CC67: neighbour_free (transport_api.c:1117) ==984== by 0x543E5C3: GNUNET_TRANSPORT_notify_transmit_ready_cancel (transport_api.c:1894) ==984== by 0x409887: handle_transport_notify_disconnect (gnunet-service-core.c:4222) ==984== by 0x543CCFB: neighbour_disconnect (transport_api.c:1138) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 8 ==984== at 0x543CB71: neighbour_free (transport_api.c:1097) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x7066db8 is 8 bytes inside a block of size 168 free'd ==984== at 0x4C270BD: free (vg_replace_malloc.c:366) ==984== by 0x565132E: GNUNET_xfree_ (common_allocation.c:196) ==984== by 0x543CC67: neighbour_free (transport_api.c:1117) ==984== by 0x543E5C3: GNUNET_TRANSPORT_notify_transmit_ready_cancel (transport_api.c:1894) ==984== by 0x409887: handle_transport_notify_disconnect (gnunet-service-core.c:4222) ==984== by 0x543CCFB: neighbour_disconnect (transport_api.c:1138) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 4 ==984== at 0x543CB7D: neighbour_free (transport_api.c:1103) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x7066e54 is 164 bytes inside a block of size 168 free'd ==984== at 0x4C270BD: free (vg_replace_malloc.c:366) ==984== by 0x565132E: GNUNET_xfree_ (common_allocation.c:196) ==984== by 0x543CC67: neighbour_free (transport_api.c:1117) ==984== by 0x543E5C3: GNUNET_TRANSPORT_notify_transmit_ready_cancel (transport_api.c:1894) ==984== by 0x409887: handle_transport_notify_disconnect (gnunet-service-core.c:4222) ==984== by 0x543CCFB: neighbour_disconnect (transport_api.c:1138) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 4 ==984== at 0x543CBBC: neighbour_free (transport_api.c:1104) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x7066e50 is 160 bytes inside a block of size 168 free'd ==984== at 0x4C270BD: free (vg_replace_malloc.c:366) ==984== by 0x565132E: GNUNET_xfree_ (common_allocation.c:196) ==984== by 0x543CC67: neighbour_free (transport_api.c:1117) ==984== by 0x543E5C3: GNUNET_TRANSPORT_notify_transmit_ready_cancel (transport_api.c:1894) ==984== by 0x409887: handle_transport_notify_disconnect (gnunet-service-core.c:4222) ==984== by 0x543CCFB: neighbour_disconnect (transport_api.c:1138) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== ==984== Invalid read of size 8 ==984== at 0x543CC19: neighbour_free (transport_api.c:1111) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==984== ==984== ==984== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==984== Access not within mapped region at address 0x0 ==984== at 0x543CC19: neighbour_free (transport_api.c:1111) ==984== by 0x543CD15: neighbour_disconnect (transport_api.c:1140) ==984== by 0x543DCBE: demultiplexer (transport_api.c:1615) ==984== by 0x5650298: receive_task (client.c:529) ==984== by 0x566F5F0: run_ready (scheduler.c:644) ==984== by 0x566FABE: GNUNET_SCHEDULER_run (scheduler.c:786) ==984== by 0x5676E9C: GNUNET_SERVICE_run (service.c:1577) ==984== by 0x409F89: main (gnunet-service-core.c:4412) ==984== If you believe this happened as a result of a stack ==984== overflow in your program's main thread (unlikely but ==984== possible), you can try to increase the size of the ==984== main thread stack using the --main-stacksize= flag. ==984== The main thread stack size used in this run was 8388608. ==984== ==984== HEAP SUMMARY: ==984== in use at exit: 77,944 bytes in 2,724 blocks ==984== total heap usage: 198,180 allocs, 195,456 frees, 26,482,200 bytes allocated ==984== ==984== LEAK SUMMARY: ==984== definitely lost: 544 bytes in 8 blocks ==984== indirectly lost: 0 bytes in 0 blocks ==984== possibly lost: 0 bytes in 0 blocks ==984== still reachable: 77,400 bytes in 2,716 blocks ==984== suppressed: 0 bytes in 0 blocks ==984== Rerun with --leak-check=full to see details of leaked memory ==984== ==984== For counts of detected and suppressed errors, rerun with: -v ==984== Use --track-origins=yes to see where uninitialised values come from ==984== ERROR SUMMARY: 188 errors from 7 contexts (suppressed: 4 from 4)