View Issue Details

IDProjectCategoryView StatusLast Update
0002423GNUnetobsoletepublic2024-05-03 13:49
ReporterMatthias Wachs Assigned ToMatthias Wachs  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002423: Address in use called multiple times for peer with NO
DescriptionThis is an issue in combination with transport ... don't know yet whom to blame

Transport calls GNUNET_ATS_address_in_use multiple times with in_use == GNUNET_NO

Seen:
- All plugins (tcp, udp, https)
- Inbound and outbound sessions

Checked transport neighbors code:
3 lines calling GNUNET_ATS_address_in_use:
Always with check if ats_active == GNUNET_YES
Steps To Reproducerun a peer for several minutes
TagsNo tags attached.

Activities

Matthias Wachs

2012-06-13 16:07

reporter   ~0006060

Interesting logs causing questions...

Jun 13 15:52:57-939902 ats-scheduling-api-9478 ERROR Session 0x110ebd0 for peer `PMB6' stored in 22
Jun 13 15:53:08-461705 transport-9478 ERROR 772 : set address for peer `PMB6', address '<unable to stringify 0-byte long address of tcp transport>', session 0x109d740 in use to GNUNET_NO
Jun 13 15:53:08-461732 ats-scheduling-api-9478 ERROR Session 0x109d740 for peer `PMB6' removed from 28
Jun 13 15:53:09-466436 transport-9478 ERROR 834 : set address for peer `PMB6', address '<unable to stringify 0-byte long address of tcp transport>', session 0x110ebd0 in use to YES
Jun 13 15:53:09-481708 ats-scheduling-api-9478 ERROR Session 0x110ebd0 for peer `PMB6' removed from 22
Jun 13 15:53:09-481744 ats-scheduling-api-9478 ERROR Session 0x110ebd0 for peer `PMB6' stored in 23
Jun 13 15:53:09-481761 transport-9478 ERROR 772 : set address for peer `PMB6', address '<unable to stringify 0-byte long address of tcp transport>', session 0x110ebd0 in use to GNUNET_NO
Jun 13 15:53:09-495406 transport-9478 ERROR 834 : set address for peer `3MED', address '<unable to stringify 0-byte long address of tcp transport>', session 0x1091590 in use to YES
Jun 13 15:53:09-537937 ats-9481 ERROR Assertion failed at gnunet-service-ats_scheduling.c:346.
Jun 13 15:53:09-600735 ats-9481 ERROR Address unknown: ``PMB6' in GAS_addresses_in_use `tcp' session_id 23' `<inbound connection>'
Jun 13 15:53:09-601890 ats-9481 ERROR Assertion failed at gnunet-service-ats_addresses.c:631.
Jun 13 15:53:28-517950 ats-scheduling-api-9478 ERROR Session 0x109d740 for peer `KD9V' stored in 28

Matthias Wachs

2012-06-13 16:08

reporter   ~0006061

Why is session 0x110ebd0:
stored in 22
removed from 22
stored in 23

and finally:

not found in 23?

Matthias Wachs

2012-06-19 14:13

reporter   ~0006104

- Many changes in transport_neighbours, ats_addresses and scheduling api related to address updates and management
- get_session was split in to parts: find_session and find_session_empty slot

Issue should not occur anymore

Issue History

Date Modified Username Field Change
2012-06-13 14:00 Matthias Wachs New Issue
2012-06-13 14:00 Matthias Wachs Status new => assigned
2012-06-13 14:00 Matthias Wachs Assigned To => Matthias Wachs
2012-06-13 16:07 Matthias Wachs Note Added: 0006060
2012-06-13 16:08 Matthias Wachs Note Added: 0006061
2012-06-19 14:13 Matthias Wachs Note Added: 0006104
2012-06-19 14:13 Matthias Wachs Status assigned => resolved
2012-06-19 14:13 Matthias Wachs Resolution open => fixed
2012-06-20 11:39 Christian Grothoff Fixed in Version => 0.9.4
2012-06-20 11:39 Christian Grothoff Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed
2024-05-03 13:49 Christian Grothoff Category ATS service => obsolete