View Issue Details

IDProjectCategoryView StatusLast Update
0002309GNUnettransport servicepublic2012-06-02 19:15
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002309: valgrind errors in bidirectional connect test
Description==23979== Invalid read of size 1
==23979== at 0x58EEDFA: vfprintf (vfprintf.c:1614)
==23979== by 0x59104F1: vsnprintf (vsnprintf.c:120)
==23979== by 0x524C05C: GNUNET_asprintf (common_allocation.c:306)
==23979== by 0x54A3F47: GNUNET_TRANSPORT_TESTING_get_test_plugin_name (transport-testing.c:819)
==23979== by 0x4025A3: main (test_transport_api_bidirectional_connect.c:393)
==23979== Address 0x67c141c is 0 bytes after a block of size 44 alloc'd
==23979== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==23979== by 0x524B9B9: GNUNET_xmalloc_unchecked_ (common_allocation.c:139)
==23979== by 0x524B651: GNUNET_xmalloc_ (common_allocation.c:66)
==23979== by 0x524BC9B: GNUNET_xstrdup_ (common_allocation.c:218)
==23979== by 0x54A3D17: extract_filename (transport-testing.c:720)
==23979== by 0x54A3E8E: GNUNET_TRANSPORT_TESTING_get_test_plugin_name (transport-testing.c:793)
==23979== by 0x4025A3: main (test_transport_api_bidirectional_connect.c:393)
==23979==
==23979== Invalid read of size 1
==23979== at 0x58EEDFA: vfprintf (vfprintf.c:1614)
==23979== by 0x590E978: vsprintf (iovsprintf.c:43)
==23979== by 0x524C0ED: GNUNET_asprintf (common_allocation.c:310)
==23979== by 0x54A3F47: GNUNET_TRANSPORT_TESTING_get_test_plugin_name (transport-testing.c:819)
==23979== by 0x4025A3: main (test_transport_api_bidirectional_connect.c:393)
==23979== Address 0x67c141c is 0 bytes after a block of size 44 alloc'd
==23979== at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==23979== by 0x524B9B9: GNUNET_xmalloc_unchecked_ (common_allocation.c:139)
==23979== by 0x524B651: GNUNET_xmalloc_ (common_allocation.c:66)
==23979== by 0x524BC9B: GNUNET_xstrdup_ (common_allocation.c:218)
==23979== by 0x54A3D17: extract_filename (transport-testing.c:720)
==23979== by 0x54A3E8E: GNUNET_TRANSPORT_TESTING_get_test_plugin_name (transport-testing.c:793)
==23979== by 0x4025A3: main (test_transport_api_bidirectional_connect.c:393)
TagsNo tags attached.

Relationships

related to 0002307 closedMatthias Wachs peers fail to connect in bidirectional connect testcase 

Activities

Christian Grothoff

2012-05-06 17:43

manager   ~0005788

==23979== Invalid read of size 1
==23979== at 0x528BB0C: GNUNET_STRINGS_data_to_string (strings.c:712)
==23979== by 0x525D405: GNUNET_CRYPTO_hash_to_enc (crypto_hash.c:280)
==23979== by 0x524DC57: GNUNET_i2s (common_logging.c:946)
==23979== by 0x54A0D93: try_connect (transport-testing.c:222)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979== Address 0x6b3db40 is 48 bytes inside a block of size 192 free'd
==23979== at 0x4C240FD: free (vg_replace_malloc.c:366)
==23979== by 0x524BBBF: GNUNET_xfree_ (common_allocation.c:201)
==23979== by 0x54A2A39: GNUNET_TRANSPORT_TESTING_stop_peer (transport-testing.c:507)
==23979== by 0x4014FD: end_badly (test_transport_api_bidirectional_connect.c:131)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979==
==23979== Invalid read of size 8
==23979== at 0x54A0EAA: try_connect (transport-testing.c:230)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979== Address 0x6b3dba8 is 152 bytes inside a block of size 192 free'd
==23979== at 0x4C240FD: free (vg_replace_malloc.c:366)
==23979== by 0x524BBBF: GNUNET_xfree_ (common_allocation.c:201)
==23979== by 0x54A2A39: GNUNET_TRANSPORT_TESTING_stop_peer (transport-testing.c:507)
==23979== by 0x4014FD: end_badly (test_transport_api_bidirectional_connect.c:131)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979==
==23979== Invalid read of size 8
==23979== at 0x54A0EAA: try_connect (transport-testing.c:230)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979== Address 0x6b3dba8 is 152 bytes inside a block of size 192 free'd
==23979== at 0x4C240FD: free (vg_replace_malloc.c:366)
==23979== by 0x524BBBF: GNUNET_xfree_ (common_allocation.c:201)
==23979== by 0x54A2A39: GNUNET_TRANSPORT_TESTING_stop_peer (transport-testing.c:507)
==23979== by 0x4014FD: end_badly (test_transport_api_bidirectional_connect.c:131)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979==
==23979== Invalid read of size 8
==23979== at 0x4E2F349: GNUNET_TRANSPORT_offer_hello (transport_api.c:1047)
==23979== by 0x54A0ED0: try_connect (transport-testing.c:230)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979== Address 0x6bb9a28 is 56 bytes inside a block of size 208 free'd
==23979== at 0x4C240FD: free (vg_replace_malloc.c:366)
==23979== by 0x524BBBF: GNUNET_xfree_ (common_allocation.c:201)
==23979== by 0x4E2FF3F: GNUNET_TRANSPORT_disconnect (transport_api.c:1184)
==23979== by 0x54A2581: GNUNET_TRANSPORT_TESTING_stop_peer (transport-testing.c:470)
==23979== by 0x401522: end_badly (test_transport_api_bidirectional_connect.c:133)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
=23979== Invalid read of size 8
==23979== at 0x4E2F034: GNUNET_TRANSPORT_try_connect (transport_api.c:987)
==23979== by 0x54A0EEB: try_connect (transport-testing.c:233)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979== Address 0x6bb9a28 is 56 bytes inside a block of size 208 free'd
==23979== at 0x4C240FD: free (vg_replace_malloc.c:366)
==23979== by 0x524BBBF: GNUNET_xfree_ (common_allocation.c:201)
==23979== by 0x4E2FF3F: GNUNET_TRANSPORT_disconnect (transport_api.c:1184)
==23979== by 0x54A2581: GNUNET_TRANSPORT_TESTING_stop_peer (transport-testing.c:470)
==23979== by 0x401522: end_badly (test_transport_api_bidirectional_connect.c:133)
==23979== by 0x527AE25: run_ready (scheduler.c:602)
==23979== by 0x527B634: GNUNET_SCHEDULER_run (scheduler.c:790)
==23979== by 0x5274B02: GNUNET_PROGRAM_run2 (program.c:255)
==23979== by 0x5274C2F: GNUNET_PROGRAM_run (program.c:289)
==23979== by 0x402532: check (test_transport_api_bidirectional_connect.c:371)
==23979== by 0x4025F0: main (test_transport_api_bidirectional_connect.c:401)
==23979==

Christian Grothoff

2012-05-06 20:59

manager   ~0005795

Fixed in SVN 21307.

Issue History

Date Modified Username Field Change
2012-05-06 17:42 Christian Grothoff New Issue
2012-05-06 17:42 Christian Grothoff Status new => assigned
2012-05-06 17:42 Christian Grothoff Assigned To => Matthias Wachs
2012-05-06 17:43 Christian Grothoff Note Added: 0005788
2012-05-06 20:37 Christian Grothoff Relationship added related to 0002307
2012-05-06 20:59 Christian Grothoff Note Added: 0005795
2012-05-06 20:59 Christian Grothoff Status assigned => resolved
2012-05-06 20:59 Christian Grothoff Fixed in Version => 0.9.3
2012-05-06 20:59 Christian Grothoff Resolution open => fixed
2012-05-06 20:59 Christian Grothoff Assigned To Matthias Wachs => Christian Grothoff
2012-06-02 19:15 Christian Grothoff Status resolved => closed