View Issue Details

IDProjectCategoryView StatusLast Update
0002558GNUnetcadet servicepublic2012-11-05 18:33
ReporterSree Harsha Totakura Assigned ToBart Polot  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
OSOSX 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002558: invalid free()
Descriptionperf_stream_api.c failed due to invalid free() in mesh service.
Error log:
https://gnunet.org/buildbot/builders/moep-osx/builds/1096/steps/tests%20stream/logs/stdio

excerpt:
...
Testing over 1 hop with payload size 20
Sep 25 02:06:56-498522 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-498943 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-498990 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-499063 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-499174 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-499259 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:06:56-499339 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 02:11:56-501332 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4821.
Sep 25 02:11:56-504187 mesh-37246 ERROR Assertion failed at gnunet-service-mesh.c:4595.
Sep 25 02:11:56-504230 mesh-37246 ERROR type 61453 (UNKNOWN TYPE) unknown!
gnunet-service-mesh(37246) malloc: *** error for object 0xbaadf00dbaadf00d: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Sep 25 02:11:56-771637 perf_stream_api-37125 ERROR Test failed
FAIL: perf_stream_api
TagsNo tags attached.

Relationships

related to 0002559 closedSree Harsha Totakura Stream performance tests fail during 1 hop tests 

Activities

Sree Harsha Totakura

2012-09-26 10:21

updater   ~0006374

backtrace:

Testing over 1 hop with payload size 20
Sep 25 21:26:19-017306 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017575 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017616 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017639 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017674 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017697 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:26:19-017735 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4943.
Sep 25 21:31:19-029360 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4821.
Sep 25 21:31:19-032798 mesh-459 ERROR Assertion failed at gnunet-service-mesh.c:4595.
Sep 25 21:31:19-032952 mesh-459 ERROR type 0 (UNKNOWN TYPE) unknown!
*** glibc detected *** gnunet-service-mesh: double free or corruption (!prev): 0x0000000001b7da70 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x2b8387554b76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x2b83875598ac]
/tmp/gnbuild/lib/libgnunetutil.so.8(GNUNET_xfree_+0x10c)[0x2b83861d2626]
gnunet-service-mesh[0x40d4fe]
gnunet-service-mesh[0x40897d]
/tmp/gnbuild/lib/libgnunetutil.so.8(GNUNET_CONTAINER_multihashmap_iterate+0x155)[0x2b83861e29b8]
gnunet-service-mesh[0x40bbe4]
gnunet-service-mesh[0x41b3e7]
/tmp/gnbuild/lib/libgnunetutil.so.8(GNUNET_CONTAINER_multihashmap_iterate+0x155)[0x2b83861e29b8]
gnunet-service-mesh[0x41b54d]
/tmp/gnbuild/lib/libgnunetutil.so.8(+0x46c0d)[0x2b8386203c0d]
/tmp/gnbuild/lib/libgnunetutil.so.8(GNUNET_SCHEDULER_run+0x671)[0x2b83862043de]
/tmp/gnbuild/lib/libgnunetutil.so.8(GNUNET_SERVICE_run+0x715)[0x2b8386212a92]
gnunet-service-mesh[0x41c403]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2b83874fdead]
gnunet-service-mesh[0x4026b9]

Bart Polot

2012-09-27 16:18

reporter   ~0006380

I think the last changes fixed this issue, valgrind is happy now. Please confirm if *this* is fixed (flow control still doesn't reliably work).

Sree Harsha Totakura

2012-09-28 10:28

updater   ~0006382

Seems to be fixed.

Issue History

Date Modified Username Field Change
2012-09-25 14:14 Sree Harsha Totakura New Issue
2012-09-25 14:14 Sree Harsha Totakura Status new => assigned
2012-09-25 14:14 Sree Harsha Totakura Assigned To => Bart Polot
2012-09-25 14:17 Sree Harsha Totakura Relationship added related to 0002559
2012-09-26 10:21 Sree Harsha Totakura Note Added: 0006374
2012-09-27 16:16 Christian Grothoff Target Version => 0.9.4
2012-09-27 16:18 Bart Polot Note Added: 0006380
2012-09-27 16:18 Bart Polot Status assigned => feedback
2012-09-28 10:28 Sree Harsha Totakura Note Added: 0006382
2012-09-28 10:28 Sree Harsha Totakura Status feedback => assigned
2012-09-28 12:09 Bart Polot Status assigned => resolved
2012-09-28 12:09 Bart Polot Fixed in Version => Git master
2012-09-28 12:09 Bart Polot Resolution open => fixed
2012-10-06 16:38 Christian Grothoff Fixed in Version Git master => 0.9.4
2012-11-05 18:33 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service