View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002445 | GNUnet | obsolete | public | 2012-06-20 16:14 | 2024-05-03 11:49 |
| Reporter | Matthias Wachs | Assigned To | Matthias Wachs | Due Date | |
| Priority | urgent | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.4 | ||||
| Summary | 0002445: ATS uses terminated session | ||||
| Description | Session is terminated by plugin->env->session_end But ATS does not delete it | ||||
| Steps To Reproduce | Run a peer and wait for a segfault with valgrind This happens rareley: I had 30 connections to other peers, the session is terminated at a certain point and reused after a long time | ||||
| Tags | No tags attached. | ||||
| Session is not destroyed when session is terminated in state "S_DISCONNECT_FINISHED" | |
| in transport_neighbours:free_address GNUNET_ATS_address_destroyed is not called since branch is not taken: if (GNUNET_YES == na->ats_active) { ... GNUNET_ATS_address_destroyed (GST_ats, na->address, na->session); } | |
| Plan how it should work in the end: - plugin calls env_session_end - gnunet-service-transport_neighbours sets session to unused - gnunet-service-transport tells ats that session is destroyed | |
| Current issue: in free_neighbour - We first tell the plugins to disconnect: papi->disconnect (papi->cls, &n->id); - We then receive a session_terminated - We then call free_address which tries to set address unused So we get an error message: "Trying to set unknown address to unused for peer" At least when we explicitly from an peer | |
| fixed with rev 22422. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-06-20 16:14 | Matthias Wachs | New Issue | |
| 2012-06-20 16:14 | Matthias Wachs | Status | new => assigned |
| 2012-06-20 16:14 | Matthias Wachs | Assigned To | => Matthias Wachs |
| 2012-06-22 09:01 | Christian Grothoff | Target Version | => 0.9.4 |
| 2012-06-26 08:10 | Matthias Wachs | Note Added: 0006148 | |
| 2012-06-26 08:45 | Matthias Wachs | Note Added: 0006149 | |
| 2012-06-29 13:53 | Matthias Wachs | Note Added: 0006178 | |
| 2012-06-29 15:06 | Matthias Wachs | Note Added: 0006180 | |
| 2012-06-29 15:15 | Matthias Wachs | Note Edited: 0006180 | |
| 2012-06-29 15:40 | Matthias Wachs | Note Edited: 0006180 | |
| 2012-07-02 07:53 | Matthias Wachs | Note Added: 0006187 | |
| 2012-07-02 07:53 | Matthias Wachs | Status | assigned => resolved |
| 2012-07-02 07:53 | Matthias Wachs | Resolution | open => fixed |
| 2012-11-05 17:34 | Christian Grothoff | Status | resolved => closed |
| 2024-05-03 11:49 | Christian Grothoff | Category | ATS service => obsolete |