View Issue Details

IDProjectCategoryView StatusLast Update
0003106GNUnettestbed servicepublic2013-12-24 20:54
ReporterChristian Grothoff Assigned ToSree Harsha Totakura  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003106: memory leak in gnunet-helper-testbed
Description==12734==
==12734== 68 bytes in 1 blocks are definitely lost in loss record 37 of 50
==12734== at 0x4C294A0: malloc (vg_replace_malloc.c:291)
==12734== by 0x4E49EB7: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==12734== by 0x4E49B1D: GNUNET_xmalloc_ (common_allocation.c:71)
==12734== by 0x4E4A6AB: GNUNET_asprintf (common_allocation.c:360)
==12734== by 0x10B34D: tokenizer_cb (gnunet-helper-testbed.c:448)
==12734== by 0x4E8D3B4: GNUNET_SERVER_mst_receive (server_mst.c:261)
==12734== by 0x10BA28: read_task (gnunet-helper-testbed.c:529)
==12734== by 0x4E855AA: run_ready (scheduler.c:593)
==12734== by 0x4E85EFC: GNUNET_SCHEDULER_run (scheduler.c:808)
==12734== by 0x4E809CC: GNUNET_PROGRAM_run2 (program.c:281)
==12734== by 0x4E80B39: GNUNET_PROGRAM_run (program.c:317)
==12734== by 0x10BECC: main (gnunet-helper-testbed.c:611)
Steps To Reproducevalgrinding perf_gnunet_service_fs_p2p_respect
TagsNo tags attached.

Activities

Sree Harsha Totakura

2013-11-11 11:04

updater   ~0007623

This memory leak is caused by using heap-allocated memory for putenv() arguments. fixed in #30658 by using static memory for those arguments.

Issue History

Date Modified Username Field Change
2013-11-09 21:49 Christian Grothoff New Issue
2013-11-09 21:49 Christian Grothoff Status new => assigned
2013-11-09 21:49 Christian Grothoff Assigned To => Sree Harsha Totakura
2013-11-11 11:04 Sree Harsha Totakura Note Added: 0007623
2013-11-11 11:04 Sree Harsha Totakura Status assigned => resolved
2013-11-11 11:04 Sree Harsha Totakura Fixed in Version => 0.10.0
2013-11-11 11:04 Sree Harsha Totakura Resolution open => fixed
2013-12-24 20:54 Christian Grothoff Status resolved => closed