View Issue Details

IDProjectCategoryView StatusLast Update
0003238GNUnettransport servicepublic2024-05-03 14:01
Reporteryids Assigned ToMatthias Wachs  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformAMD64OSDebian OS Version7.0 Wheezy
Product VersionGit master 
Target Version0.10.1 
Summary0003238: transport http client assertion failed
DescriptionIf http client transport is enabled it logs:
Dec 23 18:30:58-326431 transport-2504 ERROR Assertion failed at plugin_transport_http_client.c:483.
I am using gnunet-arm v0.9.5a svn-r31708M
Steps To Reproduceenable http client transport, start gnunet
Additional InformationWhen I run gnunet-peerinfo, a bunch of peers show up, but none seem to be online.
gnunet-statistics-gtk shows nothing in the connections and traffic tabs.
TagsNo tags attached.
Attached Files
valgrind.log (23,961 bytes)   
==16529== Memcheck, a memory error detector
==16529== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==16529== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==16529== Command: /usr/local/lib/gnunet/libexec/gnunet-service-transport -c /home/yids/.config/gnunet.conf
==16529== Parent PID: 16521
==16529== 
--16529-- 
--16529-- Valgrind options:
--16529--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--16529--    --log-file=/home/yids/valgrind.log
--16529--    --leak-check=full
--16529--    -v
--16529-- Contents of /proc/version:
--16529--   Linux version 3.2.0-4-rt-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP PREEMPT RT Debian 3.2.51-1
--16529-- Arch and hwcaps: AMD64, amd64-sse3-cx16-lzcnt
--16529-- Page sizes: currently 4096, max supported 4096
--16529-- Valgrind library directory: /usr/lib/valgrind
--16529-- Reading syms from /usr/local/lib/gnunet/libexec/gnunet-service-transport (0x400000)
--16529-- Reading syms from /lib/x86_64-linux-gnu/ld-2.13.so (0x4000000)
--16529--   Considering /lib/x86_64-linux-gnu/ld-2.13.so ..
--16529--   .. CRC mismatch (computed 96755979 wanted cac73926)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so ..
--16529--   .. CRC is valid
--16529-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--16529--   Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--16529--   .. CRC mismatch (computed 917e6694 wanted d604052d)
--16529--   Considering /usr/lib/debug/usr/lib/valgrind/memcheck-amd64-linux ..
--16529--   .. CRC is valid
--16529--    object doesn't have a dynamic symbol table
--16529-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--16529-- Reading suppressions file: /usr/lib/valgrind/default.supp
==16529== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-16529-by-yids-on-???
==16529== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-16529-by-yids-on-???
==16529== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-16529-by-yids-on-???
==16529== 
==16529== TO CONTROL THIS PROCESS USING vgdb (which you probably
==16529== don't want to do, unless you know exactly what you're doing,
==16529== or are doing some strange experiment):
==16529==   /usr/lib/valgrind/../../bin/vgdb --pid=16529 ...command...
==16529== 
==16529== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==16529==   /path/to/gdb /usr/local/lib/gnunet/libexec/gnunet-service-transport
==16529== and then give GDB the following command
==16529==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=16529
==16529== --pid is optional if only one valgrind process is running
==16529== 
--16529-- REDIR: 0x40169d0 (strlen) redirected to 0x38061d67 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--16529-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a22000)
--16529--   Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--16529--   .. CRC mismatch (computed 2439aefb wanted 12795d6b)
--16529--   Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--16529--   .. CRC is valid
--16529-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c24000)
--16529--   Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--16529--   .. CRC mismatch (computed 765bf264 wanted b7bd9c2d)
--16529--   Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--16529--   .. CRC is valid
--16529-- REDIR: 0x4016840 (index) redirected to 0x4c29180 (index)
--16529-- REDIR: 0x40168c0 (strcmp) redirected to 0x4c2a0a0 (strcmp)
--16529-- Reading syms from /usr/local/lib/libgnunetats.so.4.0.0 (0x4e2f000)
--16529-- Reading syms from /usr/local/lib/libgnunethello.so.0.1.0 (0x5039000)
--16529-- Reading syms from /usr/local/lib/libgnunetpeerinfo.so.0.0.0 (0x523d000)
--16529-- Reading syms from /usr/local/lib/libgnunetstatistics.so.0.1.2 (0x5441000)
--16529-- Reading syms from /usr/local/lib/libgnunetutil.so.9.2.0 (0x5647000)
--16529-- Reading syms from /lib/x86_64-linux-gnu/libm-2.13.so (0x58a6000)
--16529--   Considering /lib/x86_64-linux-gnu/libm-2.13.so ..
--16529--   .. CRC mismatch (computed 6432bfb2 wanted afb38428)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.13.so ..
--16529--   .. CRC is valid
--16529-- Reading syms from /lib/x86_64-linux-gnu/libc-2.13.so (0x5b28000)
--16529--   Considering /lib/x86_64-linux-gnu/libc-2.13.so ..
--16529--   .. CRC mismatch (computed 94085f59 wanted 21fc4da2)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so ..
--16529--   .. CRC is valid
--16529-- Reading syms from /usr/local/lib/libgcrypt.so.20.0.0 (0x5eb2000)
--16529-- Reading syms from /usr/local/lib/libgpg-error.so.0.10.0 (0x618f000)
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0 (0x6393000)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.7 (0x659c000)
--16529--   Considering /lib/x86_64-linux-gnu/libz.so.1.2.7 ..
--16529--   .. CRC mismatch (computed 57f46862 wanted 0646fc34)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libunistring.so.0.1.2 (0x67b3000)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.13.so (0x6aca000)
--16529--   Considering /lib/x86_64-linux-gnu/libdl-2.13.so ..
--16529--   .. CRC mismatch (computed 9914f48e wanted 4bf1fa82)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.13.so ..
--16529--   .. CRC is valid
--16529-- REDIR: 0x5bac890 (strcasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5baeb50 (strncasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5baa8f0 (__GI_strrchr) redirected to 0x4c28fa0 (__GI_strrchr)
--16529-- REDIR: 0x5ba8e10 (__GI_strlen) redirected to 0x4c29500 (__GI_strlen)
--16529-- REDIR: 0x5ba3b20 (malloc) redirected to 0x4c28b80 (malloc)
--16529-- REDIR: 0x5ba73d0 (__GI_strcmp) redirected to 0x4c2a050 (__GI_strcmp)
--16529-- REDIR: 0x5baaff0 (memchr) redirected to 0x4c2a140 (memchr)
--16529-- REDIR: 0x5ba3a40 (free) redirected to 0x4c27ce0 (free)
--16529-- REDIR: 0x5bab690 (memset) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bb58f0 (__memset_x86_64) redirected to 0x4c2b490 (memset)
--16529-- REDIR: 0xffffffffff600000 (???) redirected to 0x38061d53 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--16529-- REDIR: 0xffffffffff600400 (???) redirected to 0x38061d5d (vgPlain_amd64_linux_REDIR_FOR_vtime)
--16529-- REDIR: 0x5bb1220 (memcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bb1270 (__GI_memcpy) redirected to 0x4c2a620 (memcpy)
--16529-- REDIR: 0x5ba9040 (__GI_strncmp) redirected to 0x4c299d0 (__GI_strncmp)
--16529-- REDIR: 0x5ba8dd0 (strlen) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5ba72e0 (index) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5ba7310 (__GI_strchr) redirected to 0x4c29080 (__GI_strchr)
--16529-- REDIR: 0x5bb2640 (strchrnul) redirected to 0x4c2b7d0 (strchrnul)
--16529-- REDIR: 0x5bb25f0 (__GI___rawmemchr) redirected to 0x4c2b820 (__GI___rawmemchr)
--16529-- REDIR: 0x5bb5f40 (strstr) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bb6380 (__GI_strstr) redirected to 0x4c2bbd0 (strstr)
--16529-- REDIR: 0x5bac8d0 (__strcasecmp_sse2) redirected to 0x4c29a40 (strcasecmp)
--16529-- REDIR: 0x5baa8c0 (rindex) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5ba8ef0 (strnlen) redirected to 0x4c29480 (strnlen)
--16529-- REDIR: 0x5baeb90 (__strncasecmp_sse2) redirected to 0x4c29b20 (strncasecmp)
--16529-- REDIR: 0x5b5e5e0 (unsetenv) redirected to 0x4c2bf10 (unsetenv)
--16529-- REDIR: 0x5b5e4d0 (putenv) redirected to 0x4c2be70 (putenv)
--16529-- REDIR: 0x5ba4b70 (realloc) redirected to 0x4c28c50 (realloc)
--16529-- REDIR: 0x5bac710 (stpcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bac740 (__GI_stpcpy) redirected to 0x4c2b220 (__GI_stpcpy)
--16529-- REDIR: 0x5ba8820 (strcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5ba8850 (__GI_strcpy) redirected to 0x4c295f0 (__GI_strcpy)
--16529-- REDIR: 0x5baa890 (strncpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bb5810 (__GI_strncpy) redirected to 0x4c29810 (__GI_strncpy)
--16529-- REDIR: 0x5bab070 (bcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bab0a0 (__GI_memcmp) redirected to 0x4c2b0b0 (bcmp)
--16529-- REDIR: 0x5ba7390 (strcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5ba30b0 (calloc) redirected to 0x4c27200 (calloc)
--16529-- Reading syms from /usr/local/lib/gnunet/libgnunet_plugin_transport_http_client.so (0x70ce000)
--16529-- Reading syms from /usr/local/lib/libgnurl.so.0.0.0 (0x72d7000)
--16529-- Reading syms from /usr/local/lib/libgnunetnat.so.0.1.0 (0x752d000)
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libidn.so.11.6.8 (0x7737000)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /lib/x86_64-linux-gnu/librt-2.13.so (0x796b000)
--16529--   Considering /lib/x86_64-linux-gnu/librt-2.13.so ..
--16529--   .. CRC mismatch (computed 5c595f80 wanted 8f90d71a)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.13.so ..
--16529--   .. CRC is valid
--16529-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.13.so (0x7b73000)
--16529--   Considering /lib/x86_64-linux-gnu/libpthread-2.13.so ..
--16529--   .. CRC mismatch (computed ba3e7fa7 wanted 368d1371)
--16529--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.13.so ..
--16529--   .. CRC is valid
--16529-- REDIR: 0x40178d0 (stpcpy) redirected to 0x4c2b3c0 (stpcpy)
==16529== Invalid read of size 8
==16529==    at 0x41088A: GST_plugins_load (gnunet-service-transport_plugins.c:208)
==16529==    by 0x403E5B: run (gnunet-service-transport.c:984)
==16529==    by 0x568B72D: service_task (service.c:1209)
==16529==    by 0x5685830: GNUNET_SCHEDULER_run (scheduler.c:595)
==16529==    by 0x568E085: GNUNET_SERVICE_run (service.c:1490)
==16529==    by 0x4038F8: main (gnunet-service-transport.c:1011)
==16529==  Address 0x6e7e0e8 is 0 bytes after a block of size 88 alloc'd
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x565C065: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==16529==    by 0x565C0B0: GNUNET_xmalloc_ (common_allocation.c:71)
==16529==    by 0x70D33E5: libgnunet_plugin_transport_http_client_init (plugin_transport_http_client.c:1787)
==16529==    by 0x56806B6: GNUNET_PLUGIN_load (plugin.c:234)
==16529==    by 0x410843: GST_plugins_load (gnunet-service-transport_plugins.c:155)
==16529==    by 0x403E5B: run (gnunet-service-transport.c:984)
==16529==    by 0x568B72D: service_task (service.c:1209)
==16529==    by 0x5685830: GNUNET_SCHEDULER_run (scheduler.c:595)
==16529==    by 0x568E085: GNUNET_SERVICE_run (service.c:1490)
==16529==    by 0x4038F8: main (gnunet-service-transport.c:1011)
==16529== 
--16529-- Discarding syms at 0x70cffd0-0x70d49b8 in /usr/local/lib/gnunet/libgnunet_plugin_transport_http_client.so due to munmap()
--16529-- Discarding syms at 0x72e2920-0x731bd18 in /usr/local/lib/libgnurl.so.0.0.0 due to munmap()
--16529-- Discarding syms at 0x752f610-0x75349a4 in /usr/local/lib/libgnunetnat.so.0.1.0 due to munmap()
--16529-- Discarding syms at 0x773a2f0-0x773e808 in /usr/lib/x86_64-linux-gnu/libidn.so.11.6.8 due to munmap()
--16529-- Reading syms from /usr/local/lib/gnunet/libgnunet_plugin_transport_https_server.so (0x70ce000)
--16529-- Reading syms from /usr/local/lib/libmicrohttpd.so.10.20.0 (0x72da000)
--16529-- Reading syms from /usr/local/lib/libgnunetnat.so.0.1.0 (0x74f0000)
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.4 (0x7d8f000)
--16529--   Considering /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.4 ..
--16529--   .. CRC mismatch (computed c68ad310 wanted 8159204e)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 (0x804f000)
--16529--   Considering /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 ..
--16529--   .. CRC mismatch (computed 9be9a14e wanted c1d1f46c)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.16 (0x76fa000)
--16529--   Considering /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.16 ..
--16529--   .. CRC mismatch (computed 70cd9b01 wanted 95443f35)
--16529--    object doesn't have a symbol table
--16529-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 (0x82cd000)
--16529--    object doesn't have a symbol table
--16529-- REDIR: 0x5c14c60 (__memcpy_chk) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bb1260 (__memcpy_chk_sse2) redirected to 0x4c2bac0 (__memcpy_chk)
--16529-- REDIR: 0x5bab4a0 (memmove) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--16529-- REDIR: 0x5bab4f0 (__GI_memmove) redirected to 0x4c2b530 (memmove)
--16529-- Reading syms from /usr/local/lib/gnunet/libgnunet_plugin_transport_http_server.so (0x84df000)
--16529-- Reading syms from /usr/local/lib/gnunet/libgnunet_plugin_transport_udp.so (0x86ea000)
--16529-- Reading syms from /usr/local/lib/libgnunetfragmentation.so.2.0.0 (0x88f9000)
--16529-- Reading syms from /usr/local/lib/gnunet/libgnunet_plugin_transport_tcp.so (0x8afd000)
--16529-- REDIR: 0x5ba7120 (strcat) redirected to 0x4c291c0 (strcat)
--16529-- Discarding syms at 0x70d0880-0x70d7368 in /usr/local/lib/gnunet/libgnunet_plugin_transport_https_server.so due to munmap()
--16529-- Discarding syms at 0x84e14a0-0x84e7788 in /usr/local/lib/gnunet/libgnunet_plugin_transport_http_server.so due to munmap()
--16529-- Discarding syms at 0x72de600-0x72eb15c in /usr/local/lib/libmicrohttpd.so.10.20.0 due to munmap()
--16529-- Discarding syms at 0x7da98b0-0x7e28d1c in /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.4 due to munmap()
--16529-- Discarding syms at 0x82cff50-0x82d8da8 in /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 due to munmap()
--16529-- Discarding syms at 0x76fbeb0-0x7706be8 in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.16 due to munmap()
--16529-- Discarding syms at 0x8057700-0x80a5748 in /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 due to munmap()
--16529-- Discarding syms at 0x86ecfc0-0x86f59ac in /usr/local/lib/gnunet/libgnunet_plugin_transport_udp.so due to munmap()
--16529-- Discarding syms at 0x88fa3a0-0x88fc33c in /usr/local/lib/libgnunetfragmentation.so.2.0.0 due to munmap()
--16529-- Discarding syms at 0x8aff500-0x8b05b90 in /usr/local/lib/gnunet/libgnunet_plugin_transport_tcp.so due to munmap()
--16529-- Discarding syms at 0x74f2610-0x74f79a4 in /usr/local/lib/libgnunetnat.so.0.1.0 due to munmap()
==16529== 
==16529== HEAP SUMMARY:
==16529==     in use at exit: 9,323 bytes in 88 blocks
==16529==   total heap usage: 202,589 allocs, 202,501 frees, 17,320,533 bytes allocated
==16529== 
==16529== Searching for pointers to 88 not-freed blocks
==16529== Checked 238,184 bytes
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 18 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x809A969: ???
==16529==    by 0x809A9C8: ???
==16529==    by 0x809B9D4: ???
==16529==    by 0x7E28BC2: ???
==16529==    by 0x7DD3F28: ???
==16529==    by 0x7DC30E4: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 19 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x809A979: ???
==16529==    by 0x809A9C8: ???
==16529==    by 0x809B9D4: ???
==16529==    by 0x7E28BC2: ???
==16529==    by 0x7DD3F28: ???
==16529==    by 0x7DC30E4: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 20 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x8059C62: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==16529==    by 0x4011B49: _dl_open (dl-open.c:633)
==16529==    by 0x6ACAF65: dlopen_doit (dlopen.c:67)
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 21 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x80605D8: ???
==16529==    by 0x806087C: ???
==16529==    by 0x806351F: ???
==16529==    by 0x8059C81: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 22 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x80605D8: ???
==16529==    by 0x806087C: ???
==16529==    by 0x806F38F: ???
==16529==    by 0x8059C8A: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529== 
==16529== 40 bytes in 1 blocks are definitely lost in loss record 23 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x72E1CFA: ???
==16529==    by 0x80605D8: ???
==16529==    by 0x806087C: ???
==16529==    by 0x806962F: ???
==16529==    by 0x8059C96: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529== 
==16529== 288 (48 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 32 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x8059D14: ???
==16529==    by 0x805A9A8: ???
==16529==    by 0x805EB3C: ???
==16529==    by 0x806379B: ???
==16529==    by 0x806963E: ???
==16529==    by 0x8059C96: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529== 
==16529== 337 (48 direct, 289 indirect) bytes in 1 blocks are definitely lost in loss record 33 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x82D1AA0: ???
==16529==    by 0x82D36E0: ???
==16529==    by 0x7DD96C2: ???
==16529==    by 0x7DC3101: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529==    by 0x4012362: dl_open_worker (dl-open.c:542)
==16529==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==16529==    by 0x4011B49: _dl_open (dl-open.c:633)
==16529==    by 0x6ACAF65: dlopen_doit (dlopen.c:67)
==16529==    by 0x400DBD5: _dl_catch_error (dl-error.c:178)
==16529== 
==16529== 664 bytes in 1 blocks are definitely lost in loss record 37 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x8059D14: ???
==16529==    by 0x805A9A8: ???
==16529==    by 0x805ACEE: ???
==16529==    by 0x805AE1E: ???
==16529==    by 0x809AA04: ???
==16529==    by 0x809B9D4: ???
==16529==    by 0x7E28BC2: ???
==16529==    by 0x7DD3F28: ???
==16529==    by 0x7DC30E4: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529== 
==16529== 664 bytes in 1 blocks are definitely lost in loss record 38 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x8059D14: ???
==16529==    by 0x805A9A8: ???
==16529==    by 0x805ACEE: ???
==16529==    by 0x805AE1E: ???
==16529==    by 0x809AA94: ???
==16529==    by 0x809B9D4: ???
==16529==    by 0x7E28BC2: ???
==16529==    by 0x7DD3F28: ???
==16529==    by 0x7DC30E4: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529== 
==16529== 720 (48 direct, 672 indirect) bytes in 1 blocks are definitely lost in loss record 41 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x8059D14: ???
==16529==    by 0x805A9A8: ???
==16529==    by 0x805EB3C: ???
==16529==    by 0x806DDE3: ???
==16529==    by 0x806F39E: ???
==16529==    by 0x8059C8A: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529== 
==16529== 864 (48 direct, 816 indirect) bytes in 1 blocks are definitely lost in loss record 43 of 44
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x8059D14: ???
==16529==    by 0x805A9A8: ???
==16529==    by 0x805EB3C: ???
==16529==    by 0x8060B24: ???
==16529==    by 0x806352E: ???
==16529==    by 0x8059C81: ???
==16529==    by 0x8059F24: ???
==16529==    by 0x805795B: ???
==16529==    by 0x72DE6A5: ???
==16529==    by 0x400DF7F: call_init (dl-init.c:85)
==16529==    by 0x400E076: _dl_init (dl-init.c:134)
==16529== 
==16529== LEAK SUMMARY:
==16529==    definitely lost: 1,760 bytes in 12 blocks
==16529==    indirectly lost: 2,017 bytes in 42 blocks
==16529==      possibly lost: 0 bytes in 0 blocks
==16529==    still reachable: 5,546 bytes in 34 blocks
==16529==         suppressed: 0 bytes in 0 blocks
==16529== Reachable blocks (those to which a pointer was found) are not shown.
==16529== To see them, rerun with: --leak-check=full --show-reachable=yes
==16529== 
==16529== ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 4 from 4)
==16529== 
==16529== 1 errors in context 1 of 13:
==16529== Invalid read of size 8
==16529==    at 0x41088A: GST_plugins_load (gnunet-service-transport_plugins.c:208)
==16529==    by 0x403E5B: run (gnunet-service-transport.c:984)
==16529==    by 0x568B72D: service_task (service.c:1209)
==16529==    by 0x5685830: GNUNET_SCHEDULER_run (scheduler.c:595)
==16529==    by 0x568E085: GNUNET_SERVICE_run (service.c:1490)
==16529==    by 0x4038F8: main (gnunet-service-transport.c:1011)
==16529==  Address 0x6e7e0e8 is 0 bytes after a block of size 88 alloc'd
==16529==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==16529==    by 0x565C065: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==16529==    by 0x565C0B0: GNUNET_xmalloc_ (common_allocation.c:71)
==16529==    by 0x70D33E5: ???
==16529==    by 0x56806B6: GNUNET_PLUGIN_load (plugin.c:234)
==16529==    by 0x410843: GST_plugins_load (gnunet-service-transport_plugins.c:155)
==16529==    by 0x403E5B: run (gnunet-service-transport.c:984)
==16529==    by 0x568B72D: service_task (service.c:1209)
==16529==    by 0x5685830: GNUNET_SCHEDULER_run (scheduler.c:595)
==16529==    by 0x568E085: GNUNET_SERVICE_run (service.c:1490)
==16529==    by 0x4038F8: main (gnunet-service-transport.c:1011)
==16529== 
--16529-- 
--16529-- used_suppression:      4 dl-hack3-cond-1
==16529== 
==16529== ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 4 from 4)
valgrind.log (23,961 bytes)   

Relationships

related to 0003232 closedMatthias Wachs transport segfault (running system) in TCP 

Activities

Matthias Wachs

2014-01-21 09:02

manager   ~0008017

Seems to be related to sending with a invalid session ... hard to analyze without a stack trace. Since 0003232 has more information I hope that both bugs are related.


Valgrind information does not contain related information.

Matthias Wachs

2014-01-21 09:08

manager   ~0008018

Could give me some additional information:
- Did it occur while running a peer?
- How long did it run before the crash happened?
- Which plugins did you have enabled?
- Was your peer reachable from the Internet?

Matthias Wachs

2014-01-27 09:11

manager   ~0008034

Had a peer with revision 32024 running for ~ 3 days with:

[transport]
plugins = udp tcp https_client https_server

No crashes (coredumps) after that time ...

Please give me feedback if it happens again and re-open the bug. At the moment I cannot reproduce and the bug is quite old and does not appear on my system...

Perhaps it was related to a bug like 0003245 crashing transport and after that a invalid outdated session was given to transport...

Issue History

Date Modified Username Field Change
2013-12-23 19:22 yids New Issue
2013-12-23 19:22 yids Status new => assigned
2013-12-23 19:22 yids Assigned To => Matthias Wachs
2013-12-23 19:22 yids File Added: valgrind.log
2013-12-24 23:30 Christian Grothoff Target Version => 0.10.1
2014-01-21 09:01 Matthias Wachs Relationship added related to 0003232
2014-01-21 09:02 Matthias Wachs Note Added: 0008017
2014-01-21 09:08 Matthias Wachs Note Added: 0008018
2014-01-21 09:08 Matthias Wachs Status assigned => feedback
2014-01-27 09:11 Matthias Wachs Note Added: 0008034
2014-01-27 09:11 Matthias Wachs Status feedback => closed
2014-01-27 09:11 Matthias Wachs Resolution open => unable to reproduce
2024-05-03 14:01 Christian Grothoff Category HTTP transport => transport service