View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003106 | GNUnet | testbed service | public | 2013-11-09 21:49 | 2013-12-24 20:54 |
| Reporter | Christian Grothoff | Assigned To | Sree Harsha Totakura | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.10.0 | Fixed in Version | 0.10.0 | ||
| Summary | 0003106: 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 Reproduce | valgrinding perf_gnunet_service_fs_p2p_respect | ||||
| Tags | No tags attached. | ||||
|
|
This memory leak is caused by using heap-allocated memory for putenv() arguments. fixed in #30658 by using static memory for those arguments. |
| 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 |