View Issue Details

IDProjectCategoryView StatusLast Update
0001576GNUnettransport servicepublic2010-10-21 15:47
ReporterChristian Grothoff Assigned ToChristian Grothoff  
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 22: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 11:27

manager   ~0004057

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

Issue History

Date Modified Username Field Change
2010-06-25 23:45 Christian Grothoff New Issue
2010-06-25 23:45 Christian Grothoff Status new => assigned
2010-06-25 23:45 Christian Grothoff Assigned To => Matthias Wachs
2010-06-25 23:45 Christian Grothoff Assigned To Matthias Wachs =>
2010-06-25 23:45 Christian Grothoff Status assigned => confirmed
2010-06-26 22:02 Christian Grothoff Note Added: 0004047
2010-07-01 09:49 Christian Grothoff Relationship added related to 0001561
2010-07-02 11:27 Christian Grothoff Note Added: 0004057
2010-07-02 11:27 Christian Grothoff Status confirmed => resolved
2010-07-02 11:27 Christian Grothoff Resolution open => fixed
2010-07-02 11:27 Christian Grothoff Assigned To => Christian Grothoff
2010-07-02 12:44 Christian Grothoff Reproducibility always => random
2010-07-02 12:44 Christian Grothoff Status resolved => assigned
2010-07-02 12:44 Christian Grothoff Resolution fixed => reopened
2010-07-12 21:09 Christian Grothoff Assigned To Christian Grothoff =>
2010-07-12 21:09 Christian Grothoff Status assigned => confirmed
2010-08-17 10:07 Christian Grothoff Status confirmed => resolved
2010-08-17 10:07 Christian Grothoff Resolution reopened => fixed
2010-08-17 10:07 Christian Grothoff Assigned To => Christian Grothoff
2010-10-21 15:47 Christian Grothoff Status resolved => closed