View Issue Details

IDProjectCategoryView StatusLast Update
0001576GNUnettransport servicepublic2010-10-21 13:47
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
PriorityurgentSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Summary0001576: transport reliability test fails with corrupted message id
DescriptionThe message ID happens to be correspond to hex representations like
A0A0A0A0, which corresponds to the memset we apply to the body of the test messages. So likely one message gets overwritten by another, or a message is only partially copied (and we see the pattern from a previous message).

Regardless, somewhere someone is not copying correctly...
Additional InformationThis can always be reproduced; however, reproducing it may require raising the number of iterations done by the testcase by a factor of 10x to 100x.

grothoff@pixel:~/svn/gnunet/src/transport$ ./test_transport_api_reliability_tcp
......................................................Jun 25 23:53:58 test-transport-api-reliability-18539 ERROR Expected message 659565 of size 49277, got 49277 bytes of message 1819044972
Jun 25 23:53:58 test-transport-api-reliability-18539 ERROR Assertion failed at test_transport_api_reliability.c:138.
Jun 25 23:53:58 test-transport-api-reliability-18539 ERROR Assertion failed at test_transport_api_reliability.c:249.
TagsNo tags attached.

Relationships

related to 0001561 closedChristian Grothoff gnunet-service-XXX sometimes fails to terminate 

Activities

Christian Grothoff

2010-06-26 20:02

manager   ~0004047

I've now also seen a case where a single message is skipped:

Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 21280 bytes of message 677998
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 37271 bytes of message 677999
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 41256 bytes of message 678000
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 33241 bytes of message 678001
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 13232 bytes of message 678002
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Expected message 677997 of size 53277, got 41235 bytes of message 678003
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Assertion failed at test_transport_api_reliability.c:138.
Jun 26 19:11:08 test-transport-api-reliability-23568 ERROR Assertion failed at test_transport_api_reliability.c:249.

Christian Grothoff

2010-07-02 09:27

manager   ~0004057

Presumably resolved with various previous fixes (server-tc double free and others). At least now irreproducable.

Issue History

Date ModifiedUsernameFieldChange
2010-06-25 21:45Christian GrothoffNew Issue
2010-06-25 21:45Christian GrothoffStatusnew => assigned
2010-06-25 21:45Christian GrothoffAssigned To => Matthias Wachs
2010-06-25 21:45Christian GrothoffAssigned ToMatthias Wachs =>
2010-06-25 21:45Christian GrothoffStatusassigned => confirmed
2010-06-26 20:02Christian GrothoffNote Added: 0004047
2010-07-01 07:49Christian GrothoffRelationship addedrelated to 0001561
2010-07-02 09:27Christian GrothoffNote Added: 0004057
2010-07-02 09:27Christian GrothoffStatusconfirmed => resolved
2010-07-02 09:27Christian GrothoffResolutionopen => fixed
2010-07-02 09:27Christian GrothoffAssigned To => Christian Grothoff
2010-07-02 10:44Christian GrothoffReproducibilityalways => random
2010-07-02 10:44Christian GrothoffStatusresolved => assigned
2010-07-02 10:44Christian GrothoffResolutionfixed => reopened
2010-07-12 19:09Christian GrothoffAssigned ToChristian Grothoff =>
2010-07-12 19:09Christian GrothoffStatusassigned => confirmed
2010-08-17 08:07Christian GrothoffStatusconfirmed => resolved
2010-08-17 08:07Christian GrothoffResolutionreopened => fixed
2010-08-17 08:07Christian GrothoffAssigned To => Christian Grothoff
2010-10-21 13:47Christian GrothoffStatusresolved => closed