View Issue Details

IDProjectCategoryView StatusLast Update
0002938GNUnetcadet servicepublic2013-12-24 20:54
ReporterChristian Grothoff Assigned ToBart Polot  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0002938: fs mesh test fails with assertion failure in mesh_api.c:1343
DescriptionJul 13 14:35:56-086683 test-gnunet-service-fs-p2p-7336 ERROR Timeout while trying to download file
Jul 13 14:35:56-093656 fs-7359 ERROR Assertion failed at mesh_api.c:1343.
FAIL: test_gnunet_service_fs_p2p_mesh
Steps To ReproduceRun testcases, see buildbots.

https://gnunet.org/buildbot/builders/debian-amd64-grothoff/builds/971/steps/tests%20fs/logs/stdio
TagsNo tags attached.

Activities

Bart Polot

2013-07-16 01:53

reporter   ~0007247

Error means that MESH_disconnect was called without first destroying all created tunnels.

Bart Polot

2013-07-16 02:25

reporter   ~0007248

This is what I know so far:
- FS creates a tunnel, tunnel is setup correctly, notify_transmit_ready is never called, therefore no data is ever transmitted.
- On shutdown there is a crash because there is no tunnel cleaner. The service notifies the client that the tunnel has been destroyed (due to shutdown), and the api frees the memory. Since FS was not aware of this, tries to destory the same tunnel, hence the crash.

Christian Grothoff

2013-07-18 14:29

manager   ~0007255

Ok, test no longer fails "hard", but causes other assertion failures and mesh is way too slow (fails to allow query transmission for a while, until mesh service hits assertion failure; specific behavior differs depending on buffering options used).

Bart Polot

2013-07-22 19:58

reporter   ~0007267

test_gnunet_service_fs_p2p_mesh now passes reliably.

Issue History

Date Modified Username Field Change
2013-07-13 21:21 Christian Grothoff New Issue
2013-07-13 21:21 Christian Grothoff Status new => assigned
2013-07-13 21:21 Christian Grothoff Assigned To => Bart Polot
2013-07-16 01:36 Bart Polot Status assigned => acknowledged
2013-07-16 01:53 Bart Polot Note Added: 0007247
2013-07-16 02:25 Bart Polot Note Added: 0007248
2013-07-18 14:29 Christian Grothoff Note Added: 0007255
2013-07-18 14:29 Christian Grothoff Status acknowledged => assigned
2013-07-22 19:58 Bart Polot Note Added: 0007267
2013-07-22 19:58 Bart Polot Status assigned => resolved
2013-07-22 19:58 Bart Polot Fixed in Version => Git master
2013-07-22 19:58 Bart Polot Resolution open => fixed
2013-08-11 23:52 Christian Grothoff Fixed in Version Git master => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service