Opened 3 years ago
Closed 2 years ago
#16 closed defect (fixed)
Segmentation faults in sessions
| Reported by: | sdecugis | Owned by: | sdecugis |
|---|---|---|---|
| Priority: | major | Milestone: | release 1.1.0 |
| Component: | framework | Version: | tip |
| Keywords: | Cc: | dev@freediameter.net | |
| Blocked By: | Blocking: |
Description
It occurs more than often that a call to fd_sess_destroy is made while some references still exist to the session object, for example in some messages.
A more strict management of a reference counter must be maintained for the sessions, taking care of:
- messages that reference the session
- states in the session
In particular, on session expiration, the states can be destroyed but not the session itself if it is referenced by some messages in memory.
An update of the API is expected to fix this issue.
Change History (1)
comment:1 Changed 2 years ago by sdecugis
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Addressed in 706