View Issue Details

IDProjectCategoryView StatusLast Update
0003561GNUnetset servicepublic2018-06-07 00:25
ReporterChristian GrothoffAssigned ToChristian Grothoff 
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionSVN HEAD 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003561: test_revocation (with valgrind) shows issues in set service
Description==31306== Invalid read of size 4
==31306== at 0x40B3FE: channel_end_cb (gnunet-service-set.c:1398)
==31306== by 0x53490F6: destroy_channel (cadet_api.c:481)
==31306== by 0x534BC95: process_channel_destroy (cadet_api.c:835)
==31306== by 0x534E862: msg_received (cadet_api.c:1246)
==31306== by 0x4E5A38B: receive_task (client.c:595)
==31306== by 0x4EC3066: run_ready (scheduler.c:595)
==31306== by 0x4EC40F5: GNUNET_SCHEDULER_run (scheduler.c:817)
==31306== by 0x4EDCEA4: GNUNET_SERVICE_run (service.c:1498)
==31306== by 0x40BA8E: main (gnunet-service-set.c:1546)
==31306== Address 0x6cd2dac is 108 bytes inside a block of size 112 free'd
==31306== at 0x4C29E90: free (vg_replace_malloc.c:473)
==31306== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==31306== by 0x40FBF1: send_done_and_destroy (gnunet-service-set_union.c:1006)
==31306== by 0x40FD6B: send_remaining_elements (gnunet-service-set_union.c:1029)
==31306== by 0x410769: finish_and_destroy (gnunet-service-set_union.c:1090)
==31306== by 0x412612: union_peer_disconnect (gnunet-service-set_union.c:1420)
==31306== by 0x40B3E7: channel_end_cb (gnunet-service-set.c:1396)
==31306== by 0x53490F6: destroy_channel (cadet_api.c:481)
==31306== by 0x534BC95: process_channel_destroy (cadet_api.c:835)
==31306== by 0x534E862: msg_received (cadet_api.c:1246)
==31306== by 0x4E5A38B: receive_task (client.c:595)
==31306== by 0x4EC3066: run_ready (scheduler.c:595)
==31306==
==31306== Invalid free() / delete / delete[] / realloc()
==31306== at 0x4C29E90: free (vg_replace_malloc.c:473)
==31306== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==31306== by 0x40B42D: channel_end_cb (gnunet-service-set.c:1401)
==31306== by 0x53490F6: destroy_channel (cadet_api.c:481)
==31306== by 0x534BC95: process_channel_destroy (cadet_api.c:835)
==31306== by 0x534E862: msg_received (cadet_api.c:1246)
==31306== by 0x4E5A38B: receive_task (client.c:595)
==31306== by 0x4EC3066: run_ready (scheduler.c:595)
==31306== by 0x4EC40F5: GNUNET_SCHEDULER_run (scheduler.c:817)
==31306== by 0x4EDCEA4: GNUNET_SERVICE_run (service.c:1498)
==31306== by 0x40BA8E: main (gnunet-service-set.c:1546)
==31306== Address 0x6cd2d40 is 0 bytes inside a block of size 112 free'd
==31306== at 0x4C29E90: free (vg_replace_malloc.c:473)
==31306== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==31306== by 0x40FBF1: send_done_and_destroy (gnunet-service-set_union.c:1006)
==31306== by 0x40FD6B: send_remaining_elements (gnunet-service-set_union.c:1029)
==31306== by 0x410769: finish_and_destroy (gnunet-service-set_union.c:1090)
==31306== by 0x412612: union_peer_disconnect (gnunet-service-set_union.c:1420)
==31306== by 0x40B3E7: channel_end_cb (gnunet-service-set.c:1396)
==31306== by 0x53490F6: destroy_channel (cadet_api.c:481)
==31306== by 0x534BC95: process_channel_destroy (cadet_api.c:835)
==31306== by 0x534E862: msg_received (cadet_api.c:1246)
==31306== by 0x4E5A38B: receive_task (client.c:595)
==31306== by 0x4EC3066: run_ready (scheduler.c:595)
TagsNo tags attached.

Activities

Christian Grothoff

2014-11-30 17:54

manager   ~0008632

==20489== Invalid read of size 4
==20489== at 0x40FBDF: send_done_and_destroy (gnunet-service-set_union.c:1004)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)
==20489== by 0x534E89F: msg_received (cadet_api.c:1249)
==20489== by 0x4E5A38B: receive_task (client.c:595)
==20489== by 0x4EC3066: run_ready (scheduler.c:595)
==20489== by 0x4EC40F5: GNUNET_SCHEDULER_run (scheduler.c:817)
==20489== by 0x4EDCEA4: GNUNET_SERVICE_run (service.c:1498)
==20489== by 0x40BAAF: main (gnunet-service-set.c:1548)
==20489== Address 0x6cd378c is 108 bytes inside a block of size 112 free'd
==20489== at 0x4C29E90: free (vg_replace_malloc.c:473)
==20489== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==20489== by 0x40B44E: channel_end_cb (gnunet-service-set.c:1403)
==20489== by 0x53490F6: destroy_channel (cadet_api.c:481)
==20489== by 0x5352E30: GNUNET_CADET_channel_destroy (cadet_api.c:1667)
==20489== by 0x4039D0: _GSS_operation_destroy (gnunet-service-set.c:350)
==20489== by 0x40FBC8: send_done_and_destroy (gnunet-service-set_union.c:1003)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)
==20489==
==20489== Invalid write of size 4
==20489== at 0x40FBE9: send_done_and_destroy (gnunet-service-set_union.c:1004)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)
==20489== by 0x534E89F: msg_received (cadet_api.c:1249)
==20489== by 0x4E5A38B: receive_task (client.c:595)
==20489== by 0x4EC3066: run_ready (scheduler.c:595)
==20489== by 0x4EC40F5: GNUNET_SCHEDULER_run (scheduler.c:817)
==20489== by 0x4EDCEA4: GNUNET_SERVICE_run (service.c:1498)
==20489== by 0x40BAAF: main (gnunet-service-set.c:1548)
==20489== Address 0x6cd378c is 108 bytes inside a block of size 112 free'd
==20489== at 0x4C29E90: free (vg_replace_malloc.c:473)
==20489== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==20489== by 0x40B44E: channel_end_cb (gnunet-service-set.c:1403)
==20489== by 0x53490F6: destroy_channel (cadet_api.c:481)
==20489== by 0x5352E30: GNUNET_CADET_channel_destroy (cadet_api.c:1667)
==20489== by 0x4039D0: _GSS_operation_destroy (gnunet-service-set.c:350)
==20489== by 0x40FBC8: send_done_and_destroy (gnunet-service-set_union.c:1003)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)
==20489==
==20489== Invalid read of size 4
==20489== at 0x40FBF0: send_done_and_destroy (gnunet-service-set_union.c:1005)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)
==20489== by 0x534E89F: msg_received (cadet_api.c:1249)
==20489== by 0x4E5A38B: receive_task (client.c:595)
==20489== by 0x4EC3066: run_ready (scheduler.c:595)
==20489== by 0x4EC40F5: GNUNET_SCHEDULER_run (scheduler.c:817)
==20489== by 0x4EDCEA4: GNUNET_SERVICE_run (service.c:1498)
==20489== by 0x40BAAF: main (gnunet-service-set.c:1548)
==20489== Address 0x6cd378c is 108 bytes inside a block of size 112 free'd
==20489== at 0x4C29E90: free (vg_replace_malloc.c:473)
==20489== by 0x4E61917: GNUNET_xfree_ (common_allocation.c:239)
==20489== by 0x40B44E: channel_end_cb (gnunet-service-set.c:1403)
==20489== by 0x53490F6: destroy_channel (cadet_api.c:481)
==20489== by 0x5352E30: GNUNET_CADET_channel_destroy (cadet_api.c:1667)
==20489== by 0x4039D0: _GSS_operation_destroy (gnunet-service-set.c:350)
==20489== by 0x40FBC8: send_done_and_destroy (gnunet-service-set_union.c:1003)
==20489== by 0x4107CF: finish_and_destroy (gnunet-service-set_union.c:1093)
==20489== by 0x411371: handle_p2p_done (gnunet-service-set_union.c:1214)
==20489== by 0x41219F: union_handle_p2p_message (gnunet-service-set_union.c:1383)
==20489== by 0x40B6FD: dispatch_p2p_message (gnunet-service-set.c:1443)
==20489== by 0x534C51A: process_incoming_data (cadet_api.c:885)

Christian Grothoff

2014-11-30 17:56

manager   ~0008633

Fixed in SVN 34457.

Issue History

Date Modified Username Field Change
2014-11-30 01:55 Christian Grothoff New Issue
2014-11-30 01:55 Christian Grothoff Status new => assigned
2014-11-30 01:55 Christian Grothoff Assigned To => Christian Grothoff
2014-11-30 17:54 Christian Grothoff Note Added: 0008632
2014-11-30 17:56 Christian Grothoff Note Added: 0008633
2014-11-30 17:56 Christian Grothoff Status assigned => resolved
2014-11-30 17:56 Christian Grothoff Fixed in Version => 0.11.0pre66
2014-11-30 17:56 Christian Grothoff Resolution open => fixed
2018-06-07 00:25 Christian Grothoff Status resolved => closed