View Issue Details

IDProjectCategoryView StatusLast Update
0001581GNUnetstatistics servicepublic2010-10-21 15:47
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001581: segfault gnunet-statistics command (on termination)
DescriptionStarting program: /home/gnunet9/bin/gnunet-statistics
 topology # connect requests issued to core : 138
 datastore # results found : 283
 datastore # GET RANDOM requests received : 1
!hostlist bytes in hostlist : 700
 hostlist HELLOs without addresses encountered (ignored) : 5032
 datastore # cache size : 12500000
 datastore # quota : 100000000
 core # Asking transport to connect (for SET_KEY) : 69
 core # connection requests received : 69
 core # neighbour entries allocated : 69
 peerinfo # peers known : 70
 transport # refreshed my HELLO : 4

Program received signal SIGSEGV, Segmentation fault.
0x00007f4cc09de6d3 in ?? () from /lib/libc.so.6
(gdb) ba
#0 0x00007f4cc09de6d3 in ?? () from /lib/libc.so.6
#1 0x00007f4cc09deab6 in free () from /lib/libc.so.6
#2 0x00007f4cc115601e in destroy_continuation (cls=<value optimized out>, tc=<value optimized out>) at connection.c:552
#3 0x00007f4cc116a75e in GNUNET_SCHEDULER_run (task=<value optimized out>, task_cls=<value optimized out>) at scheduler.c:604
#4 0x00007f4cc1167732 in GNUNET_PROGRAM_run (argc=1, argv=0x7fffc77b9d68, binaryName=0x400eb8 "gnunet-statistics [options [value]]", binaryHelp=<value optimized out>, options=0x401000,
    task=0x400c00 <run>, task_cls=0x0) at program.c:226
#5 0x0000000000400b07 in main (argc=-1060406816, argv=0x7f4cc0a86798) at gnunet-statistics.c:174
TagsNo tags attached.

Activities

Christian Grothoff

2010-07-19 14:40

manager   ~0004068

==25300== Invalid read of size 4
==25300== at 0x4E278AE: receive_stats (statistics_api.c:495)
==25300== by 0x5038A77: receive_task (client.c:543)
==25300== by 0x505175D: GNUNET_SCHEDULER_run (scheduler.c:604)
==25300== by 0x504E731: GNUNET_PROGRAM_run (program.c:226)
==25300== by 0x400B06: main (gnunet-statistics.c:174)
==25300== Address 0x630f490 is 88 bytes inside a block of size 104 free'd
==25300== at 0x4C2130F: free (vg_replace_malloc.c:323)
==25300== by 0x4E276D6: finish (statistics_api.c:360)
==25300== by 0x4E278AD: receive_stats (statistics_api.c:494)
==25300== by 0x5038A77: receive_task (client.c:543)
==25300== by 0x505175D: GNUNET_SCHEDULER_run (scheduler.c:604)
==25300== by 0x504E731: GNUNET_PROGRAM_run (program.c:226)
==25300== by 0x400B06: main (gnunet-statistics.c:174)
==25300==
==25300== Invalid write of size 4
==25300== at 0x4E278BB: receive_stats (statistics_api.c:504)
==25300== by 0x5038A77: receive_task (client.c:543)
==25300== by 0x505175D: GNUNET_SCHEDULER_run (scheduler.c:604)
==25300== by 0x504E731: GNUNET_PROGRAM_run (program.c:226)
==25300== by 0x400B06: main (gnunet-statistics.c:174)
==25300== Address 0x630f498 is 96 bytes inside a block of size 104 free'd
==25300== at 0x4C2130F: free (vg_replace_malloc.c:323)
==25300== by 0x4E276D6: finish (statistics_api.c:360)
==25300== by 0x4E278AD: receive_stats (statistics_api.c:494)
==25300== by 0x5038A77: receive_task (client.c:543)
==25300== by 0x505175D: GNUNET_SCHEDULER_run (scheduler.c:604)
==25300== by 0x504E731: GNUNET_PROGRAM_run (program.c:226)
==25300== by 0x400B06: main (gnunet-statistics.c:174)
==25300==
==25300== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 8 from 1)
==25300== malloc/free: in use at exit: 2,810 bytes in 39 blocks.
==25300== malloc/free: 1,054 allocs, 1,015 frees, 35,030 bytes allocated.
==25300== For counts of detected errors, rerun with: -v
==25300== searching for pointers to 39 not-freed blocks.
==25300== checked 148,184 bytes.
==25300==
==25300== LEAK SUMMARY:
==25300== definitely lost: 0 bytes in 0 blocks.
==25300== possibly lost: 0 bytes in 0 blocks.
==25300== still reachable: 2,810 bytes in 39 blocks.
==25300== suppressed: 0 bytes in 0 blocks.
==25300== Rerun with --leak-check=full to see details of leaked memory.

Christian Grothoff

2010-07-19 21:48

manager   ~0004069

Fixed in SVN 12256.

Issue History

Date Modified Username Field Change
2010-07-19 14:40 Christian Grothoff New Issue
2010-07-19 14:40 Christian Grothoff Note Added: 0004068
2010-07-19 14:40 Christian Grothoff Reproducibility have not tried => always
2010-07-19 21:48 Christian Grothoff Note Added: 0004069
2010-07-19 21:48 Christian Grothoff Status new => resolved
2010-07-19 21:48 Christian Grothoff Resolution open => fixed
2010-07-19 21:48 Christian Grothoff Assigned To => Christian Grothoff
2010-10-21 15:47 Christian Grothoff Status resolved => closed