View Issue Details

IDProjectCategoryView StatusLast Update
0005769Talertwisterpublic2019-06-18 17:17
ReporterChristian GrothoffAssigned ToMarcello Stanisci 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionSVN HEAD 
Target Version0.7Fixed in Version 
Summary0005769: memory leaks in test
DescriptionI've looked into this one, but it was not obvious where it came from. Could be a reference-counting issue for the json_t.

==84582== 835 (61 direct, 774 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 30
==84582== at 0x483577F: malloc (vg_replace_malloc.c:299)
==84582== by 0x4AF3AF8: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF9036: json_object_set_new_nocheck (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF50FD: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF5255: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF50E6: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF5395: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF5638: json_loadb (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4A56682: download_get_result (curl.c:467)
==84582== by 0x4A56AEA: GNUNET_CURL_perform2 (curl.c:542)
==84582== by 0x4A571B3: context_task (curl_reschedule.c:148)
==84582== by 0x4AC446D: GNUNET_SCHEDULER_do_work (scheduler.c:2132)
==84582==
==84582== 1,043 (80 direct, 963 indirect) bytes in 2 blocks are definitely lost in loss record 28 of 30
==84582== at 0x483577F: malloc (vg_replace_malloc.c:299)
==84582== by 0x4AF869A: json_array (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF51DC: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF50E6: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF5395: ??? (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4AF5638: json_loadb (in /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1)
==84582== by 0x4A56682: download_get_result (curl.c:467)
==84582== by 0x4A56AEA: GNUNET_CURL_perform2 (curl.c:542)
==84582== by 0x4A571B3: context_task (curl_reschedule.c:148)
==84582== by 0x4AC446D: GNUNET_SCHEDULER_do_work (scheduler.c:2132)
==84582== by 0x4AC52F4: select_loop (scheduler.c:2431)
==84582== by 0x4ABF90E: GNUNET_SCHEDULER_run (scheduler.c:732)
Steps To Reproduce$ valgrind --trace-children=yes --leak-check=yes .libs/test_merchant_api_twisted
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-18 17:17 Christian Grothoff New Issue
2019-06-18 17:17 Christian Grothoff Status new => assigned
2019-06-18 17:17 Christian Grothoff Assigned To => Marcello Stanisci